Compare products of same classes

Author Message

Paulo Almeida

Tuesday 14 January 2003 8:18:57 am

I am stating to "play" with ez3 for future projects (i've been working with ez2).
The possibility to create classes gives a powerfull way to create content and products. But with this power, i think that is possible (and maybe easy, i really dont know) to create a function to compare products, but the admin needs to select the comparable attributes.
Like this: I create a classe "TV" with attribute Name, screen size and stereo (bool). I configure screen size and stereo for comparable (a checkbox like searchable and required).
After this the user can compare the products of same classe (TV's) to make a better decision :-)

Just an idea (sorry your time if you think its an lunatic idea ;.)

Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Paul K Egell-Johnsen

Tuesday 14 January 2003 8:56:59 am

> After this the user can compare the products of same classe
> (TV's) to make a better decision :-)

I think this is a good idea. The thought behind the classes were to make it easy to add information for comparision (of products).

Paul

--
http://www.vogol.com/user/spdyvkng/blog/

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 05:15:11
Script start
Timing: Jan 18 2025 05:15:11
Module start 'layout'
Timing: Jan 18 2025 05:15:11
Module start 'content'
Timing: Jan 18 2025 05:15:12
Module end 'content'
Timing: Jan 18 2025 05:15:12
Script end

Main resources:

Total runtime0.7458 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.1563152.6406
Module start 'layout' 0.00650.0029 741.796939.4766
Module start 'content' 0.00930.7351 781.2734527.6250
Module end 'content' 0.74440.0014 1,308.89848.1406
Script end 0.7458  1,317.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4014160.0002
Check MTime0.00120.1638160.0001
Mysql Total
Database connection0.00080.102610.0008
Mysqli_queries0.700493.9047540.0130
Looping result0.00050.0675520.0000
Template Total0.714995.920.3574
Template load0.00180.247020.0009
Template processing0.713095.603820.3565
Template load and register function0.00010.013010.0001
states
state_id_array0.00100.133110.0010
state_identifier_array0.00190.259420.0010
Override
Cache load0.00150.2050160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.121620.0005
Fetch class attribute name0.00170.225040.0004
XML
Image XML parsing0.00110.141820.0005
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00100.1306210.0000
String conversion0.00000.001340.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs