How to handle a big tree of products?

Author Message

Jorge estévez

Wednesday 09 January 2008 9:18:22 am

Based on an Ez 3.10 installation

Having structured a new site to build in the near future that will have 1400 products categories and taking into consideration that products will populate all that structure, the tree could be a really big headache.

So, I am asking if someone has done such a big structure with ez and if you can recommend me if the tree menu at the administration could handle so much information.

I would also like to know for a good solution in the public site on how to handle the tree so usability wouldn't be affected by time response from the server trying to show so much information.

Thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Wednesday 09 January 2008 10:29:55 am

Try to categorize (product type) the content by using a tree structure. Making it easier/faster to find stuff for the user.
1 or 2 level deep tree structure, anything more will just add too many clicks to find stuff.

Also pay a lot of attention to search, mosts importantly how you display the result, grouping by product type (the tree structure I mentioned above) an so on.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Piotrek Karaś

Thursday 10 January 2008 1:44:28 pm

For admin interface, an extension for randomized mass tree node generation could be useful. Have you guys seen anything like that?

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Heath

Thursday 10 January 2008 3:25:34 pm

Piotrek,

Checkout, http://svn.ez.no/svn/extensions/contentgenerate

I think it needs more feature development but it's a start ...

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Piotrek Karaś

Thursday 10 January 2008 10:28:30 pm

This is neat! Thanks, Heath!
Jorge, I'd use that to check how this 1400 node structure should behave. You can model it within an hour with this extension ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Jorge estévez

Friday 11 January 2008 5:37:27 am

Thanks to all...

I have tryed the extension and generated (whatever it generates, no docs found) selecting the root node and folder class, just to try.

The tree menu has at Home level all folders, But I just cannot understand what has happened, are all forder nodes moved to the home node?

Can someone explain just a bit so I can understand how it works?

thanks again....

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Piotrek Karaś

Saturday 12 January 2008 10:46:59 am

In my case the newly created nodes with <b>lorem ipsum</b> names were instantly visible in the content structure. I used folder class just to avoid any unpredictable problems. I'm afraid there was only a problem with the quick mode, after the first attempt I was only able to use full publishing, but that's fine as well.

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Heath

Monday 14 January 2008 2:56:41 am

Congratulations All:)

<i>I'm afraid there was only a problem with the quick mode, after the first attempt I was only able to use full publishing, but that's fine as well.</i>

Piotrek, I once wrote, long a ago, a simple set of patches for this extension to provide a feature sorely needed (at the time) which was to ignore attributes of a specific criteria (required..I think) when creating content objects of any type with out errors. It was really useful.

Sadly I dreamed up the feature at 2007.02 eZ Training in Vancouver, CA at eZ North American H.O. and my laptop was destroyed before the data could be salvaged. I always think about that patch, the patch not contributed.

Our eZ training day leader Kristian Hole really encouraged me to contribute, that it was a great feature which would improve the program. I agreed but missed the chance.

Still this feature should be relatively simple to re-create for the person with a need or the time to contribute a modified version with the improvements they have made to other general purpose extensions.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 20 2025 23:37:35
Script start
Timing: Jan 20 2025 23:37:35
Module start 'layout'
Timing: Jan 20 2025 23:37:35
Module start 'content'
Timing: Jan 20 2025 23:37:36
Module end 'content'
Timing: Jan 20 2025 23:37:36
Script end

Main resources:

Total runtime0.8759 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9375151.2109
Module start 'layout' 0.00640.0028 739.148436.6484
Module start 'content' 0.00920.8658 775.7969707.7344
Module end 'content' 0.87500.0008 1,483.531323.8438
Script end 0.8758  1,507.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4125160.0002
Check MTime0.00160.1797160.0001
Mysql Total
Database connection0.00080.094510.0008
Mysqli_queries0.807592.1899760.0106
Looping result0.00070.0784740.0000
Template Total0.846196.620.4231
Template load0.00520.590520.0026
Template processing0.840996.009820.4205
Template load and register function0.00020.019210.0002
states
state_id_array0.00120.138010.0012
state_identifier_array0.00130.145620.0006
Override
Cache load0.00480.5444440.0001
Sytem overhead
Fetch class attribute can translate value0.00090.098540.0002
Fetch class attribute name0.00090.1064110.0001
XML
Image XML parsing0.00190.212740.0005
class_abstraction
Instantiating content class attribute0.00000.0035140.0000
General
dbfile0.00140.1602310.0000
String conversion0.00000.001040.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs