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

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.

主站蜘蛛池模板: 通道| 孝感市| 博湖县| 铜山县| 北海市| 奈曼旗| 板桥市| 台前县| 神木县| 铜山县| 岐山县| 嘉义县| 濉溪县| 连江县| 乾安县| 阜阳市| 清河县| 南木林县| 文成县| 卢湾区| 永春县| 吉安县| 潮安县| 堆龙德庆县| 扶沟县| 香港 | 唐海县| 吴旗县| 吴旗县| 两当县| 若尔盖县| 汤阴县| 卓资县| 紫金县| 富裕县| 科尔| 会泽县| 安化县| 丹阳市| 云南省| 图们市|