SUPER Scalable and Reusable Structures w/Angular Schematics
Design and implement super scalable Angular enterprise size monorepo structures, and reuse them across many workspaces, with the power of the schematics cli, by writing your own custom schematics.
SCHEMATICS FEATURES Defining and enforcing conventions Preserving solid patterns and best practices Preventing code/ tasks repetition or copy-pasting. AKA, promotes DRY
SCHEMATICS VOCABULARY schematics A collection of descriptive and deterministic code generators, that grab a virtual file system (tree: Tree), apply some transformations (Actions) in a staging area, based upon a Rule, applied via a RuleFactory, to then return that modified tree
SCHEMATICS FEATURES Schematics features Safe: they run on dry-run mode by default Extensible: you can chain as many schematics, as input to the next. Again, safe.
STRUCTURE OBJECTIVE of our EXERCISE Folders Dedicated folder for every symbol type, such as component, service, pipe, etc Effective imports by using an alias