Best Way for Article Class

Author Message

Softriva .com

Thursday 20 July 2006 8:30:49 am

My articles are categorized as

Tech
Edu
Tutorial
etc.

What is the best way to implement this. Should I make a class entry named category or should I make a folder for each category under the article folder.

The categories are around 3-7 categories

OOzy

Tore Skobba

Friday 21 July 2006 5:31:09 am

Hi

It depends on your site and which functionality you think is the best. If you place the various articles in different folder then the editor must move to the correct location before he publishes an article (a bit more difficult publishing process). One advantage with this is that the articles are stored categorized in the content tree (However, articles belonging in multiple categories can be a bit cubersome to make). Also using an selection box and template code can still enable sorting of articles when displaying them for the user. Another flexible alternative might be to use the keyword attribute. How rigid should the categorization be? Should there be a pre set of categories and should an article only be in one category? If yes then I would consider using different folder and placing the approriate acticle in that folder. If not then I would consider one of the other options.

Cheers
Tore

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:35:00
Script start
Timing: Jan 31 2025 01:35:00
Module start 'layout'
Timing: Jan 31 2025 01:35:00
Module start 'content'
Timing: Jan 31 2025 01:35:00
Module end 'content'
Timing: Jan 31 2025 01:35:00
Script end

Main resources:

Total runtime0.0237 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.1250151.2109
Module start 'layout' 0.00520.0039 739.3359220.6875
Module start 'content' 0.00900.0128 960.0234997.6484
Module end 'content' 0.02190.0018 1,957.671929.9922
Script end 0.0237  1,987.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002912.4366140.0002
Check MTime0.00124.9581140.0001
Mysql Total
Database connection0.00083.469110.0008
Mysqli_queries0.00219.064130.0007
Looping result0.00000.046310.0000
Template Total0.00135.710.0013
Template load0.00104.181410.0010
Template processing0.00031.473010.0003
Override
Cache load0.00072.979110.0007
General
dbfile0.00031.306980.0000
String conversion0.00000.037240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs