-
Notifications
You must be signed in to change notification settings - Fork 68
Home
Brian Cavalier edited this page Oct 12, 2011
·
26 revisions
Wire.js is an Inversion of Control (IOC) Container for Javascript. It takes a wiring spec as input, and creates, connects, manages, and destroys components in your application. It can be used both at startup time to bootstrap an application, or at runtime to bring whole sections of an application into and out of existence as needed.
- Intro
- Concepts
-
Features
- Component lifecycle management
- Dependency Inversion via constructor and setter Dependency Injection
- Automatic dependency ordering
- Connectors
- Service locator pattern and reference resolution
-
Using wire.js
- In an AMD environment
- AMD loader configuration
- As a module
- As an AMD loader plugin
- In a non-AMD environment
- In an AMD environment
-
Plugins
- What can they do?
- Anatomy of a plugin
- Plugin API
-
Core plugins
- wire/debug - debugging your wire specs
- wire/dom - DOM node injection and other DOM integration
- wire/sizzle - sizzle query integration
- wire/aop - decorators, mixins, and pointcut-based aspects and advice
-
Dojo plugins
- wire/dojo/dom - dojo.query integration
- wire/dojo/dijit - dijit integration
- wire/dojo/events - dojo.connect integration
- wire/dojo/pubsub - dojo.publish/subscribe integration
- wire/dojo/store - dojo/store integration
- wire/dojo/data - dojo/data legacy datastore integration