Structuring a Scalable AngularJS Project with RequireJS
Jeff Chew
Slides: http://goo.gl/gtv79v
Sample Code: https://github.com/jeffchew/angularjs-requirejs-presentation-examples
Introduction
Who am I: Presentation Layer Lead at Razorfish for all Ford/Lincoln projects
Projects:
The Year of Replatforming
Adobe Experience Manager
owner.ford.com
owner.lincoln.com
corporate.ford.com
quicklane.com
None of these are Single Page Applications
AngularJS to the rescue!
What’s the Difference?
RequireJS Dependency Loading
What’s the Difference?
AngularJS Dependency Injection
Basics: Single AngularJS Module (without RequireJS)
Single AngularJS Module (with RequireJS)
AngularJS Module Dependency Injection
Multi-page AngularJS Modules
Putting into Practice
Ford / Lincoln Owner
Multi-Modular Approach using RequireJS
Unit Testing with RequireJS
Optimization with r.js
AngularJS/RequireJS Boilerplate
Gulp / Browserify
Resources
Code samples: https://github.com/jeffchew/angularjs-requirejs-presentation-examples
Links:
Ford/Lincoln:
Thank you!
www.razorfish.com