I'm developing a mobile site using Zend framework, and the site has two possible output formats (WML and XHTML). I'm using the same models and controllers, and then just setting which view to render with in the controller. At the moment, this is decided on by the HTTP Accept header. This needs to be definable in the URL as well. The way I'd like to do this is with a URL like the following: http://example.com/wml/controller/action http://example.com/xhtml/controller/action
Zend Framework kullanarak bunu başarmak için en iyi yolu nedir?
Teşekkürler!