June 2018
Intermediate to advanced
304 pages
8h 29m
English
The following contains some additional discussions on engine-specific aspects of component-based applications.
--full versus --mountable EnginesAs we saw in Section 2.1, there is a decision to make when it comes to the command-line parameters used for the creation of an engine. Do we want to create a plain plugin, a full engine, a mountable engine, or maybe even just a gem (no plugin)? There are quite a few command line parameters in addition to this, but we will ignore most of them for now and concentrate on the different kinds of plugins we can create.
$ bundle gem bundle_gem $ rails plugin new plain_plugin $ rails plugin new full_engine --full $ rails plugin new mountable_engine ...