Category: Uncategorized

A flexible Angular 1.5 project structure (the “fractal” architecture) [“NG 1.5 from the trenches” 4/7]

This post is the 4th part of the “Angular 1.5 from the trenches” series, presenting the architecture of a component-oriented, “NG 2 ready” Angular 1.5 app we’re building.
The module.component() method, introduced in Angular 1.5, may seem only a cosmetic addition, but the approach it promotes (and which we utilise to the full extent) results in a very different flavour of architecture than most of the “classic” Angular tutorials describe, so I hope you’ll learn a thing or two from our experience.

Table of Contents:

In the previous two articles, I’ve described the conceptual structure of an Angular 1.5 app: how to split an app into components and how components communicate. Now is the time to discuss the physical organization of a component-oriented app: the directory and file structure.

Continue reading “A flexible Angular 1.5 project structure (the “fractal” architecture) [“NG 1.5 from the trenches” 4/7]”

Advertisements