Hi Yeah its a noob question. How do you tie your objects in your GUI ? How to you get on the same page for instance a menu, an article, and user-specific information ?
Maybe I missed something in Cake but my only way to do this is to use requestAction. I'm not sure how to scale if I have more complexity. For now I would do the example above by having a method of CategoryController doing a requestAction on a method of ArticleController and then a second one on UserController. If I want to be able to query ArticleController and have the menu then I need to have in ArticleController some requestAction on CategoryController. This way I build from ArticleController more or less the same interface as from CategoryController. In the end If want a complex and similar interface queried through different controller I'll have a lot a requestAction everywhere and it may be difficult to keep the overview. Ironically it seems easier to have such complex interface (lot of objects) by using Ajax. I'm explaining in a confused way, but I you have understood something :-P can you tell how you are doing your how mix ? Olivvv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
