On Jan 5, 2010, at 11:53 AM, Michal wrote: > Hi, > > On Tue, Jan 5, 2010 at 10:20 AM, Felix Gilcher > <[email protected]> wrote: >> In general, I fail to see the benefit of that. URLs are organized like >> folders, each part can be represented as s sub-folder. How would you >> organize your data: >> >> - Have one big folder and throw in all events and all galleries in the same >> folder, just organized by name >> - Have two subfolders named "events" and "galleries" and organize your data >> in those two folders by name > > My aim was to have the URL (/menu) structure to be most appropriate. > Having two separate subfolders for events and galleries, might be > appropriate for some cases (and I have made sites where they are), but > it might not be appropriate for others. Events or galleries might be > specific to some subject, and be "nested" in a bit deeply: It might be > more appropriate to have: > > toplevelsubject/sometextpage/ > toplevelsubject/mygallery/ > toplevelsubject/futureevents/ >
Well, why not toplevelsubject/galleries/... toplevelsubject/events/... ... You can nest routes in any arbitrary way. However, if your "toplevelsubject" is a name the user can choose, i'd recommend not placing it at the beginning of the url - it will sooner or later collide with something else you'd like to place there. > rather than > > textpages/toplevelsubject/sometextpage/ > galleries/toplevelsubject/mygallery/ > events/toplevelsubject/futureevents/ > > >> However, sometimes the user of the CMS wishes to assign additional shortcut >> urls to specific items of any kind. There's multiple ways of solving that: > > I didn't think of the shortcut method, so thanks for the suggestions: > I might end up using one of them, but I was hoping to not have to go > down an "additional" shortcut route, and always just have the one URL > for one resource, as (hopefully!) that would be a bit simpler. > > > Michal. > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users > -- Felix Gilcher Bitextender GmbH Paul-Heyse-Str. 6 D-80336 München T: +49 89 57 08 15 16 F: +49 89 57 08 15 17 M: +49 172 840 88 28 [email protected] http://www.bitextender.com/ Amtsgericht München, HRB 174280 Geschäftsführer: David Zülke, Florian Clever _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
