After having gained some familiarity with the jQuery Mobile framework (which is fantastic), it appears as if we would need to maintain 2 versions of the Apex application, one optimized for a desktop browser and another for a mobile device. A homepage would redirect to the appropriate version depending on the device accessing it using some modern detection library like
Modernizr
But looking at other technologies like
ASP.NET that implement the
MVC framework, it looks like there is a way to cleanly separate content from the presentation layer. This is something Apex is unable to do because component templates cannot be changed at run-time.
Maintaining 2 versions of the same Apex application is not something that I am looking forward to. Surely there is some clever way to have your cake and eat it too.
Any ideas? Am I missing something? Thanks