- Offline First Web Development
- Daniel Sauble
- 301字
- 2021-07-30 10:30:50
Configuring Sencha Touch
Sencha Touch is a JavaScript-based MVC framework used to build cross-platform mobile apps. It's a proprietary framework but free for open source projects, so we'll use it for our to-do app. To get and configure it, follow these instructions:
- First we will download Sencha Touch:
- Open https://www.sencha.com/products/touch/ in your browser.
- Click on DOWNLOAD FOR FREE.
- Fill out the contact form and click on DOWNLOAD TOUCH.
- Check your e-mail for a link to download Sencha Touch.
- In the e-mail, click on Download Sencha Touch.
- After the download is complete, extract the ZIP in its own folder.
- Open this folder (it should be named
touch-2.4.1
or similar).
- Install Sencha Cmd:
- Open https://www.sencha.com/products/extjs/cmd-download/ in your browser.
- Click on DOWNLOAD WITHOUT JRE INCLUDED.
- Once the download is complete, run the setup application.
- Accept all defaults and click on Install.
- Once the installation is complete, click on Finish.
- Install Ruby:
- Mac OS X: Ruby is preinstalled. Verify this by running
ruby -v
on the command line. - Windows: Open http://rubyinstaller.org in your browser. Click on Download. Choose a RubyInstallers for Ruby 2.1.6 or greater and click to download. Run the installer after the download is complete.
- Ubuntu: Run
sudo apt-get install ruby2.0.0
to download and install Ruby. If on a different Linux distribution, use whatever native package manager comes with your operating system.
- Mac OS X: Ruby is preinstalled. Verify this by running
- Start the web server:
- Start the web server by running
sencha web start
on the command line. - Open
http://localhost:1841
in your web browser. - If the installation has been completed successfully, you should see a page as follows:
skeleton_application
- Stop the web server by typing ? + C in the command terminal window.
- Start the web server by running
Now, Sencha Touch is running successfully on your system. Great! Next, we'll prepare a directory for your application, start developing the application itself, and commit it safely to GitHub.
推薦閱讀
- Learning Docker
- 動手玩轉(zhuǎn)Scratch3.0編程:人工智能科創(chuàng)教育指南
- 趣學(xué)Python算法100例
- 人人都是網(wǎng)站分析師:從分析師的視角理解網(wǎng)站和解讀數(shù)據(jù)
- 軟件項目管理實用教程
- Getting Started with LLVM Core Libraries
- Java零基礎(chǔ)實戰(zhàn)
- Hands-On Nuxt.js Web Development
- OpenMP核心技術(shù)指南
- jQuery技術(shù)內(nèi)幕:深入解析jQuery架構(gòu)設(shè)計與實現(xiàn)原理
- .NET 4.0面向?qū)ο缶幊搪劊簯?yīng)用篇
- Java多線程并發(fā)體系實戰(zhàn)(微課視頻版)
- C語言程序設(shè)計
- Python面向?qū)ο缶幊蹋ǖ?版)
- Spring Boot學(xué)習(xí)指南:構(gòu)建云原生Java和Kotlin應(yīng)用程序