Forums / Setup & design / Content structure for the site

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?

eZ debug

Timing: Jan 18 2025 21:14:25
Script start
Timing: Jan 18 2025 21:14:25
Module start 'content'
Timing: Jan 18 2025 21:14:26
Module end 'content'
Timing: Jan 18 2025 21:14:26
Script end

Main resources:

Total runtime1.0990 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 587.7266180.8359
Module start 'content' 0.00850.9650 768.5625528.8047
Module end 'content' 0.97340.1255 1,297.3672338.1328
Script end 1.0989  1,635.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3753210.0002
Check MTime0.00150.1387210.0001
Mysql Total
Database connection0.00130.118810.0013
Mysqli_queries1.023993.16301990.0051
Looping result0.00240.21901970.0000
Template Total1.056496.120.5282
Template load0.00230.213020.0012
Template processing1.054095.906720.5270
Template load and register function0.00040.033210.0004
states
state_id_array0.00130.115710.0013
state_identifier_array0.00110.099620.0005
Override
Cache load0.00190.1704430.0000
Sytem overhead
Fetch class attribute can translate value0.00120.113440.0003
Fetch class attribute name0.00110.099440.0003
XML
Image XML parsing0.00050.049440.0001
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00150.1409210.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs