php - MVC with different presentation -


I have a controller for a web application with a web presentation. But now I need to make an iPhone (mobile phone) version of this application.

Actually there is a blog application with this comment. I regularly load comments at the same time as entry in comments. But I want to comment on the mobile app for loading on the request. How do you get it.

  • 1 Controller 2 view: 2 different actions (one for each view). But I can have a lot of actinoes who will be similar, but not at all.

I open for other ideas

  • See 2 controllers 1 per controller: 1. BTW I use the Zend Framework.

  • You should define one. You also need a way to identify requests made from the iPhone platform.


    Comments