- PhoneGap By Example
- Andrey Kovalenko
- 222字
- 2021-07-16 20:36:40
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 foundation of our Travelly application using PhoneGap and Sencha Touch.
This chapter will cover the following topics:
- Sencha Touch and the issues it solves
- Offline first approach
- Installing Sencha Touch
- Installing the Sencha Touch command-line tool
- Setting up a project via the command-line tool
- The Model–View–Controller–Store pattern
- Instant Testing with CasperJS
- Docker進階與實戰
- 深入淺出Java虛擬機:JVM原理與實戰
- C語言程序設計(第2版)
- Python金融數據分析
- Visual C#.NET程序設計
- Node.js Design Patterns
- Flowable流程引擎實戰
- Python數據可視化之美:專業圖表繪制指南(全彩)
- Python開發基礎
- AMP:Building Accelerated Mobile Pages
- Web編程基礎:HTML5、CSS3、JavaScript(第2版)
- Shopify Application Development
- C# 7.0本質論
- 算法超簡單:趣味游戲帶你輕松入門與實踐