Save 10% off ANY FITC event with discount code 'slideshare'
See our upcoming events at www.fitc.ca
Learn how to build enterprise applications with Sencha & DeftJS. This session will discuss the build process and application architecture, as well as DeftJS integration — leave with all of the tools needed to begin writing scalable, maintainable and testable Sencha applications.
13. IoC Container
•
•
•
•
Eager and lazy instantiation
Injects dependencies before the class constructor is
executed
userService: ‘SampleApp.service.UserService’
inject[ ‘userService’ ]
ryancanulla.com | @ryancanulla
14. MVC with ViewControllers
•
•
•
•
•
Class annotation-driven
Supports multiple view instances
Integrates with destruction lifecycle
Automatically cleans up listeners
Control a view and delegate work to
injected business service
(service classes, Stores, etc.)
ryancanulla.com | @ryancanulla
15. Promises and Deferreds
•
•
•
•
Provides an elegant way to deal with async calls
Register success, failure, cancellation or
progress callbacks
Allows chaining
Implements the CommonJS Promises/A
specification
ryancanulla.com | @ryancanulla
16. Configure DeftJS IOC Container
and create a login view
https://github.com/ryancanulla/sencha-deft-sample/tree/step-one
ryancanulla.com | @ryancanulla