Ok so i have our online ordering going, its a module that i have called ‘olo’. What i need now is to build a mobile version our website, totally different layout and design.
Now, how do i utilize the power of MVC, that had me sold once i started?
I want to use all the different controller classes that i have allready created in the OLO module.
Right now i have started the development of our mobile website, it’s placed as another module called ‘mobile’. It’s build with jQuery Mobile, and i allready have quite a bit done; info-pages, contact form, etc.
All mobile devices are currently redirected to domain.tld/m with .htacces mobile dectection. This is done to support full-website view if linked to from mobile version.
With Zend Framework 1.11 zend introduced the wurfl adapter which is based on Zend_Http_UserAgent.
It allows you to detect mobile devices and bootstrap different layouts. There is a HOW TO on youtube that came with the zend newsletter december 2010: http://www.youtube.com/watch?v=_A8yg73tqOY
You don’t have to use different modules! Just different layout files!