implementing it. By theme, I mean platform-specific views. Like if I want
to display a mobile version of a site.
I will only be using one set of controllers and one set of models. The
views will change depending on the theme. Since my controllers and models
will not change, I would like to put them in the library and reference them
there. If I can successfully do that then my modules will only have views
and layouts. So why not use modules as my theme container?
If the user is viewing on a mobile device, then I can intercept in a
controller plugin and change the module on the fly. Or I can set up routing
to go to a hostname specific route and redirect.
Any feedback?
-----
- Joe
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Theming-Idea-tp3298511p3298511.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论