官术网_书友最值得收藏!

Chapter 2. Building a To-do App

In Chapter 1, The Pain of Being Offline, we laid the foundation for why offline-first development is important. Now, let's build an app with this approach. The app that we'll be building is a to-do app that has been written using the Sencha Touch JavaScript framework. As Sencha Touch is just JavaScript under the hood, you can view it in any browser. Additionally, if you're a mobile developer, fear not. We'll use Cordova to deploy your app to an iOS device as well. The section on Cordova is entirely optional and works for Android as well, with minor modifications along the way.

Let's start by getting your development environment configured. For simplicity, I assume that you're running Mac OS X and Chrome. The instructions may differ slightly with different operating systems and browsers. I'll call out the differences as we go along.

主站蜘蛛池模板: 宜春市| 盘锦市| 钦州市| 夏河县| 商丘市| 达州市| 佛学| 陆河县| 永靖县| 宁城县| 仙游县| 汉中市| 呼伦贝尔市| 南木林县| 尚义县| 抚顺市| 密云县| 卓资县| 河间市| 宁夏| 辉县市| 弥渡县| 曲水县| 揭西县| 齐河县| 内乡县| 盘山县| 乌什县| 外汇| 定西市| 淅川县| 铅山县| 盘山县| 古蔺县| 菏泽市| 元氏县| 吉林市| 襄汾县| 天等县| 宝应县| 枞阳县|