//about
Cloud Solutions
Architect
Microsoft Technology
Center
Atlanta, GA
25+ Years of
Development
Experience
Multiple Platforms
Multiple Languages
Certified
Professional
28 Microsoft
2 Scrum
Outdoor
Enthusiast
Hiking, Camping,
Mountain Biking,
Kayaking
Blog: http://jdav.is
LinkedIn: http://linkedin.com/in/joshuajdavis
Twitter: @a11smiles
//connect
Scaling
Scaling
Pros:
Cons:
Pros:
Cons:
Memory Management & Performance
Memory Management & Performance
# of References
Object A 1
Object B 1
Object C 1
Object D 1
Object E 0
Memory Management & Performance
Referenced by root
Object A False
Object B False
Object C True
Object D True
Object E False
Dependency Injection
Dependency Injection
// root
objA ObjectA
classA ClassA objA
// Class A
// do something with ‘myDep’
Dependency Injection
// root
objA ObjectA
classA ClassA objA
// Class A
// do something with ‘myDep’
Dependency Injection
// Class ‘Config’
ObjectA
// Class A
var config = new Config();
// do something with config.getObjA()
Dependency Injection
Dependency Injection
• Asynchronous
• Database
• Connectivity (Async vs. Sync)
• Id’s must be generic
• Id generation (client vs. server)
• Naming conventions (e.g. ID vs. _id)
• Data Types must be compatible
• Row identifiers (MySQL & SQL vs. MongoDB)
• Object Conversions
• JSON XML CSV Objects
http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html
@KevinRemde
Thank you!
http://jdav.is/devnexus17

Advanced TypeScript