I'm quite new to cakephp however I'm creating a small cms and I was looking for the best way to store categories on the database and then retrieve them on a multi level drop down menu. I went for a tree structure. Very close to what you're linking. There is a great tree helper for cakephp. Then I used javascript to make the multi level uls look nice.
On Jul 25, 9:28 pm, Parris <[email protected]> wrote: > Hi Guys, > So my team is working on making a menu system with sub-menus and such. > We have a few different proposed methods, and are trying to figure out > the best solution. > > One is more database driven and the other is xml driven. The proposed > database way in my mind could require way to many calls, and > recursively adding into an array of items. then actually go through > the array to display it. We would need to cache it also because i feel > this process is way too slow. > > Then we have xml which can be read in and out easily, and it is > already in a usable array structure. Then again it is kind of out of > the cake framework. > > I have also seen this > article:http://bakery.cakephp.org/articles/view/threaded-lists > which could make our lives easier haha. > > I want to hear what others have done. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
