|Classes of Scott Arciszewski||>||CMS Airship||>||docs/en-us/01-intro/1-Lingo-Jargon.md||>||Download|
Airship Lingo / Jargon
Airship Technical Terms and Concepts
Airship Extension Types
When developing custom extensions for CMS Airship, there are three types of extensions supported by our architecture:
Main Airship Directories
Our architecture is similar to MVC. In addition to making the terminology thematically appropriate, we don't have View objects, we simply use templates (rendered by Twig).
Additionally, adopting our own lingo allows us some flexibility in our design decisions without offending the purists. True MVC doesn't make a whole lot of sense in PHP applications anyway.
Blueprint ~~ Model
A Blueprint is analogous to a Model in a traditional MVC framework. It should be responsible for handling database interactions.
Lens ~~ View
A Lens is analogous to a View in a traditional MVC framework. Lenses are template files rendered by Twig.
Landing ~~ Controller
A Landing is analogous to a Controller in a traditional MVC framework. Landings are your passengers' destinations. Landings are typically database-agnostic and mostly deal with passing data to a Blueprint and then passing it to the template.
Collectively refers to Engineers, Pilots, and Passengers.
An engineer is someone who develops Motifs, Gadgets, or Cabins for their own Airship or for others'.
A pilot is an administrative user. They may share their power and responsibility with co-pilots, but this vessel flies by their rules.
An unprivileged user. They're along for the ride. Most blogs call them readers, but that's rather unimaginative. Where's their sense of adventure?