Content structure for the site

Author Message

Andrey Astakhov

Wednesday 05 July 2006 7:08:30 am

Hi, All, i'm newbie in eZ Publish, so could you give me advices please how should i organize my content.

I have 3 content parts.

1 Banking products
F.e.: "Credits", "Deposits" etc
Each banking product could contain a lot of publications: "News", "Articles", "Ratings", "Tariffes".

So i have the rectangular matrix: banking products * publications.

I need to make menu with a link to each element of this matrix: f.e.: such elements like "Credits / News" or "Deposits / Ratings".
Each publication should have a topic (category).

2 Nota bene (various things)
- Articles (categorized)
- Forums
- Tools (credit calculator etc)
- RSS channels

3 Simple pages.

I created content classes for all publications but i don't know yet how to nake common structure.
Could you advise me:
Should i create folders for banking products: "Credits", "Deposits" or should i create additional content classes "Credits", "Deposits" or ...? How should i make topics (categories)? Should i use Sections?

Thank you in advance for any comments.

Christian Johansen

Wednesday 05 July 2006 7:14:13 am

Whether to just use folders or custom classes to store your "outer" structure is up to you and what you want to do. I usually just use folders for simple content, and for more specialized content where I either want to define the types differently or see future possibilities I create new classes as containers.

Generally I prefer creating classes for most of my distinct content types instead of cramming alot of different content into one loosely defined "article" class or whatever. It's a matter of taste I think. When you have many different classes you usually get by with less sections, atleast for creating the design.

Sections you use as you need them. If you need to restrict an area for a given group of users, you can create a section to hold it. If you want to customize the look of some nodes and make them distinct from other nodes of the same class, you create a section for the part that needs special treatment.

Evgeniy K

Wednesday 05 July 2006 7:56:03 am

<i>Should i create folders for banking products: "Credits", "Deposits" or should i create additional content classes "Credits", "Deposits" or ...?</i>
Folders, no classes, imho.
<i>How should i make topics (categories)? Should i use Sections?</i>
Topics and categories are not the same.
Andre, it seems to me, your surname is Russian, and if you speak Russian - you can email me jackyk at mail.ru your ICQ number . May be I'll can explain you.
Evgeniy.

Andrey Astakhov

Wednesday 05 July 2006 1:36:45 pm

<i>Folders, no classes, imho.</i>
Assuming i create such <b>folder</b> structure:
Site
--+ Banking products
-- Credits
-- Deposits
--+ Nota bene
--+ Other Pages

Is i possible to allow site editors create in the "Credits" folder only specific class instances: "News", "Ratings" and in the "Nota bene" folder only "Nota bene article"?

I mean may i define which class instances available for a given folder?

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 18 2025 22:29:31
Script start
Timing: Jan 18 2025 22:29:31
Module start 'layout'
Timing: Jan 18 2025 22:29:31
Module start 'content'
Timing: Jan 18 2025 22:29:32
Module end 'content'
Timing: Jan 18 2025 22:29:32
Script end

Main resources:

Total runtime0.9828 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9141152.6250
Module start 'layout' 0.00540.0032 740.539139.4609
Module start 'content' 0.00870.9730 780.0000523.7266
Module end 'content' 0.98170.0011 1,303.726612.1641
Script end 0.9828  1,315.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3412160.0002
Check MTime0.00120.1253160.0001
Mysql Total
Database connection0.00050.055210.0005
Mysqli_queries0.930694.6884620.0150
Looping result0.00070.0681600.0000
Template Total0.947396.420.4736
Template load0.00230.229320.0011
Template processing0.945096.146920.4725
Template load and register function0.00010.013410.0001
states
state_id_array0.00140.145410.0014
state_identifier_array0.00200.201720.0010
Override
Cache load0.00200.1993430.0000
Sytem overhead
Fetch class attribute can translate value0.00060.060530.0002
Fetch class attribute name0.00120.119640.0003
XML
Image XML parsing0.00040.037530.0001
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00060.0585100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs