- Mastering MeteorJS Application Development
- Jebin B V
- 274字
- 2021-07-23 15:00:36
Scaffolding in MeteorJS
As I have mentioned earlier, there is no built-in scaffolding in MeteorJS. However, there are tools that help us scaffold our application. Although there are a few tools to serve the purpose, we will look into iron-cli
(https://github.com/iron-meteor/iron-cli), which is a scaffolding tool from the makers of the popular package iron-router
. It is a Node.js module and is still growing; so, we have to watch out for the releases carefully. The iron-cli
must be installed from NPM using the following command:
npm install -g iron-meteor
Let me tell you what exactly iron-cli
does. It provides command-line utilities to scaffold. Instead of using MeteorJS commands directly such as meteor
create
myapp
, we will use the iron-cli
commands to generate the application. The iron-cli
wraps the MeteorJS application inside it and provides us the ability to manage the application. Let's try it out.
After installing iron-meteor
using the preceding NPM command, try iron
help
in the terminal. It should show the list of commands available to run the generator options, as shown in the following screenshot:

The iron-cli
actually proxies most of the meteor commands and so we will use commands such as iron
add
<package>
, iron
remove
<package>
, iron
run
, iron
list
, and so on. These commands will internally call the MeteorJS commands. The reason for this proxying is to keep track of the application changes so that iron-cli can take full control of the application.
Let's start recreating the same application that we did in the previous chapter, but using all these advanced techniques. Recreating the same application will help you relate things and understand how much we have improved things.
- Learning LibGDX Game Development(Second Edition)
- Qt 5 and OpenCV 4 Computer Vision Projects
- 基于Java技術的Web應用開發(fā)
- FreeSWITCH 1.6 Cookbook
- Java技術手冊(原書第7版)
- Mastering Swift 2
- Microsoft Azure Storage Essentials
- 執(zhí)劍而舞:用代碼創(chuàng)作藝術
- 深度學習:Java語言實現(xiàn)
- Python+Tableau數(shù)據(jù)可視化之美
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- Visual C++開發(fā)寶典
- AI自動化測試:技術原理、平臺搭建與工程實踐
- WordPress Search Engine Optimization(Second Edition)
- Implementing Microsoft Dynamics NAV(Third Edition)