Share » Forums » Setup & design » different approaches

different approaches

different approaches

Monday 14 November 2005 7:41:06 am - 4 replies

Author Message

Gabriel Ambuehl

Monday 14 November 2005 8:55:17 am

Another approach: a differenct event class for each of the event types?

Visit http://triligon.org

Brendan Pike

Monday 14 November 2005 8:23:48 pm

I think it also depends on if you are going to have 20 or 30 events on average or 200 upwards. In my experience if you need to do filtering of a large vlume of content their can be a performance cost. I would probably create seperate folders for each type.

www.dbinformatics.com.au

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

Mark Marsiglio

Monday 14 November 2005 8:44:02 pm

I think you will find your 3rd option the best for performance and maintenance.

The recursive fetch is very easy to do, and to categories will allow you to keep fewer items in each folder, which is easier to maintain.

You can place an event in more than one location using the Locations function if it fits in two categories, and when you do your recursive fetch you can filter to keep it from appearing twice.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Pierre Bastoul

Saturday 19 November 2005 6:22:42 am

so all of you seem to prefer the 3rd approach. Ok, thanks for your comments. I think I will do as you recommend.

Is there a way of adding other locations automaticly ? I mean, when an object is published in one folder, make it visible in one other folder without the need of doing it with the location button ?

Because I will have two trees, one like this :
/leasure/evening/cinema/
and the other one :
/utils/agenda/cinema/

so one event of type "movie" should be published in both folders... and it's better that the publisher does not have to worry about that...

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

36 542 Users on board!

Forums menu