- 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.
推薦閱讀
- Go Web編程
- Java多線程編程實(shí)戰(zhàn)指南:設(shè)計(jì)模式篇(第2版)
- Vue.js 2 and Bootstrap 4 Web Development
- PaaS程序設(shè)計(jì)
- 軟件測(cè)試項(xiàng)目實(shí)戰(zhàn)之性能測(cè)試篇
- Android開發(fā)案例教程與項(xiàng)目實(shí)戰(zhàn)(在線實(shí)驗(yàn)+在線自測(cè))
- 微服務(wù)從小白到專家:Spring Cloud和Kubernetes實(shí)戰(zhàn)
- 微服務(wù)架構(gòu)深度解析:原理、實(shí)踐與進(jìn)階
- Rust游戲開發(fā)實(shí)戰(zhàn)
- 工業(yè)機(jī)器人離線編程
- Visual C++從入門到精通(第2版)
- 算法秘籍
- 黑莓(BlackBerry)開發(fā)從入門到精通
- 基于MATLAB的控制系統(tǒng)仿真及應(yīng)用
- Design Patterns and Best Practices in Java