Appendix
The following contains some additional discussions on engine-specific aspects of component-based applications.
A.1 Plain versus --full
versus --mountable
Engines
As 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 ...
Get Component-Based Rails Applications: Large Domains Under Control now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.