I've inherited a project that is built in a PHP MVC framework (Zend in this case), and is using different modules for the mobile and desktop versions of the site. The project is in early stages (so functionality is only about 20% complete and buggy) and as you may have guessed there is alot of repeated code.
The desktop and mobile sites will have different layouts, although there are common elements. My instinct tells me separating these into different Zend modules is not the best approach. I'm thinking I should refactor the code into a single module, and confine the layout differences to views as much as possible. Also, leveraging responsive design as much as possible and only using separate views where necessary (as dictated by my client's requirements). Conceptually I see many advantages to this approach, but being rather new to Zend (and mobile design as well), I'm wondering if I am going to encounter any Zend-specific headaches if I do this refactor (just being a bit paranoid here)?
What is considered "best practice" in general (mobile & desktop co-design)? Any specific advice about Zend MVC?