A definitive way to deal with object relations ? (how to associate an object and its related topics)

A definitive way to deal with object relations ? (how to associate an object and its related topics)

Sunday 05 September 2004 6:11:45 am - 1 reply

Modified on Sunday 05 September 2004 6:22:15 am by Xavier Dutoit

Author Message

Brendan Pike

Monday 28 August 2006 1:27:07 am

Although an old topic I thought I would revive this as I have interest in knowing how others have handled this as eZ publish 3 has matured.

As a practicle example I am currently considering how to best organise a shop with school books. We will likely use multiple product classes for better control. The tree folder structure is something like this;

Teacher Learning
General Interest
Secondary
Middle Years
Primary
Early Childhood
etc.

Among the book class attributes we are considering:

* Year published, ie. 2005 (either Selection or Enhanced Selection single select)
* Reading Level, ie. 1-6 (either Selection or Enhanced Selection multi select)
* Category ie. Algebra, History, Calculus (either Selection or Enhanced Selection multi select)

I initially favoured Enhanced Selection for its advanced abilities but now wonder if its the best path because:
1. It appears attribute_filter can not be applied to Enhanced Selection, which means I should probably use Selection datatype instead although you can still not use Selection in multiple mode.
2. Class embedded category methods seem restricted when you wish to create multiple product classes.

Keywords may be a better choice, however there is the issue of not been able to easily control what keywords are used and I am not sure if attribute_filtering is possible with this. If anyone has good template hacks for this purpose please consider sharing them too.

I am keen to hear others opinions of what has worked for them.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

You must be logged in to post messages in this topic!

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