PluralSight John Papa Course:
AngularJS Patterns: Clean Code
Angular 1 vs Angular 2
Examples of the John Papa Style:
https://github.com/johnpapa/ng-demos
02 PDF
ng-demos/modular/app/avengers.js
ng-demos/modular/app/avengers-spaghetti.js
ng-demos/cc-bmean/app/sessions.js
ng-demos/cc-bmean/app/sessions-spaghetti.js //comments
- Locating our code is easy
- Identify code at a glance
- Flat structure as long as we can
- Try to stay DRY (Don’t Repeat Yourself) or T-DRY
cc-bmean/app/speaker/speakers.js
What is datacontext?
Where is it?
03 PDF - Slide 25
Common Starting Structure Evolved
05 PDF
coding style