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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.