We are working on a web application and done all the coding in Ruby on rails. Now we are thinking of a mobile website. (Think of m.facebook.com).
Now the question is:–
-
Why should I use any mobile development frameworks to develop mobile website (frameworks like Sencha.com
The-m-project.net
SproutCore.com and many more frameworks are there ) -
Whats the benefit of using these frameworks instead of developing mobile website using ruby-on rails (Maintain the screen size and think of other optimizations like no images, no Jquery etc.)
- For touch screen mobiles is there anything else i need to focus.
Suggestions are most welcomed.
There is absolutely nothing stopping you from developing a mobile site using just html/css (haml/sass if you prefer) for the front-end and rails powered backend.
If the screen size is your only concern, you can get css templates for the mobile devices you are targeting and they should be sufficient. For a generic mobile website, all you need to take care is that all the content can be leniarized in a visually aesthetic fashion.
However,in case you need to create an interactive web site whose user interface is specially optimized for touch enabled devices (eg. what happen if a user performs a flick gesture, or what if user presses the screens for a long duration etc.) then using a javascript framework particularly designed for mobile devices can provide you significant advantage and help you take advantage of the event model which considerably differs from traditional web pages.