- 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.
推薦閱讀
- C++程序設(shè)計(jì)教程
- 新編Visual Basic程序設(shè)計(jì)上機(jī)實(shí)驗(yàn)教程
- Apache Hive Essentials
- C語(yǔ)言程序設(shè)計(jì)
- 數(shù)據(jù)結(jié)構(gòu)簡(jiǎn)明教程(第2版)微課版
- jQuery從入門(mén)到精通 (軟件開(kāi)發(fā)視頻大講堂)
- Mastering Yii
- SQL Server 2016數(shù)據(jù)庫(kù)應(yīng)用與開(kāi)發(fā)習(xí)題解答與上機(jī)指導(dǎo)
- SharePoint Development with the SharePoint Framework
- JavaScript應(yīng)用開(kāi)發(fā)實(shí)踐指南
- Kotlin Programming By Example
- Java高并發(fā)編程詳解:深入理解并發(fā)核心庫(kù)
- 大話程序員:從入門(mén)到優(yōu)秀全攻略
- 計(jì)算機(jī)輔助設(shè)計(jì)與繪圖技術(shù)(AutoCAD 2014教程)(第三版)
- FORTRAN程序設(shè)計(jì)權(quán)威指南