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

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.

主站蜘蛛池模板: 宝兴县| 新河县| 陕西省| 庆云县| 怀集县| 隆安县| 运城市| 灵丘县| 泗阳县| 建始县| 宁波市| 武隆县| 寿宁县| 保康县| 双峰县| 美姑县| 东至县| 和顺县| 衡阳市| 宁波市| 盐亭县| 齐齐哈尔市| 大同县| 通山县| 古浪县| 郸城县| 东兴市| 东乌珠穆沁旗| 绥棱县| 岳阳县| 专栏| 长治市| 临汾市| 湖南省| 雅江县| 武威市| 嵩明县| 河北省| 芜湖市| 南宁市| 苍梧县|