Chapter 2. Setting Up a Project Structure with Sencha Touch
The biggest misunderstanding with PhoneGap is that it does everything for you.
However, that's not the case. It is just the base for your application. It helps you package your app and access device features, such as the camera. There is nothing in PhoneGap that helps you to organize your app in terms of, for example, MVC. It's not an application framework. You need more. You need help from the PhoneGap ecosystem. By ecosystem, I mean everything that helps us build mobile-ready websites.
You need to spend a lot of time building an app that feels and looks native. It's the details that eat up your budget. Again, it's not PhoneGap's fault. Surely, JavaScript will perform faster on more modern devices soon. Surely, PhoneGap will remain a great service. However, we now need other great tools that can be used with PhoneGap to make HTML5/JS on mobile devices a success.
In this chapter, we will build a...