@Florian, that's essentially what we are doing. For the updated design, we are routing all requests to a single controller/action/view and using a Helper to embed modules in the content. The module positions are represented by tokens in the content, so we don't know which modules to load until rendering the view. As most of the modules are active content we need to use requestAction to assemble the module content from data in the database and render in the view. Because requestAction loads a new environment it adds a significant overhead especially when loading a lot of modules. And it also involves a bit of a kludge to change the routing on the fly. It is working, but I feel it could be done in a cleaner, simpler, more efficient way, but I am struggling how to figure out how to do that and stay within the Cake paradigm.
Mark
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment