- Rhomobile Beginner's Guide
- Abhishek Nalwaya
- 280字
- 2021-04-02 18:52:46
Time for action – Creating an employee application
To create a Rhodes Application, we can either use Rhogen or its alias; Rhodes commands. Virtually all Rhodes applications start the same way; with the Rhogen command. This handy program creates a skeleton of a Rhodes application in a directory of your choice. To get started, make a directory for your Rhodes projects and then run the command rhogen app <application_name>
to make the initial sample application.
For our employee application, we'll run the following commands:
$ mkdir Rhodes_app $ cd Rhodes_app $ rhogen app employee_application
Generating with app generator:
[ADDED] employee_application/rhoconfig.txt [ADDED] employee_application/build.yml [ADDED] employee_application/app/application.rb [ADDED] employee_application/app/index.erb [ADDED] employee_application/app/index.bb.erb [ADDED] employee_application/app/layout.erb [ADDED] employee_application/app/loading.html [ADDED] employee_application/Rakefile [ADDED] employee_application/app/helpers [ADDED] employee_application/icon [ADDED] employee_application/app/Settings [ADDED] employee_application/public [ADDED] employee_application/app/loading.png
Notice the output, how many files and directories the Rhogen command creates. This automatic generation of standard directories and file structure is one of the many advantages of Rhodes. It immediately gets you from zero to a basic functional application. Moreover, since the structure is common to all the Rhodes apps, you can immediately get your bearings when looking at someone else's code. We'll learn about most of these files and the directories in the rest of this book.
What just happened?
We just created an employee application using the Rhogen command. This command automatically generates a basic skeleton for your application, which can be enhanced easily according to your needs.
- UG NX10.0從新手到高手
- FreeSWITCH 1.0.6
- After Effects全套影視特效制作典型實例(第2版)
- Plone 3 Multimedia
- AI繪畫:Stable Diffusion從入門到精通
- NHibernate 2 Beginner's Guide
- Instant MuseScore
- 剪映視頻后期剪輯零基礎入門到精通
- Photoshop CS6從入門到精通
- 中文版3ds Max/VRay效果圖制作完全自學教程(實例培訓教材版)
- Elasticsearch數據搜索與分析實戰
- 神奇的中文版Photoshop CC 2017入門書
- 攝影師的后期必修課(調色篇)
- 中文版Photoshop CC基礎教程
- Photoshop人像精修秘笈