Recommend this page to a friend! |
Classes of Scott Arciszewski | CMS Airship | docs/en-us/01-intro/1-Lingo-Jargon.md | Download |
|
DownloadAirship Lingo / JargonAirship Technical Terms and ConceptsAirship Extension TypesWhen developing custom extensions for CMS Airship, there are three types of extensions supported by our architecture:
Main Airship Directories
Airship ArchitectureOur 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 ~~ ModelA Blueprint is analogous to a Model in a traditional MVC framework. It should be responsible for handling database interactions. Lens ~~ ViewA Lens is analogous to a View in a traditional MVC framework. Lenses are template files rendered by Twig. Landing ~~ ControllerA 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. Airship CultureCrewCollectively refers to Engineers, Pilots, and Passengers. EngineerAn engineer is someone who develops Motifs, Gadgets, or Cabins for their own Airship or for others'. PilotA pilot is an administrative user. They may share their power and responsibility with co-pilots, but this vessel flies by their rules. PassengerAn unprivileged user. They're along for the ride. Most blogs call them readers, but that's rather unimaginative. Where's their sense of adventure? |