Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A light, fast, flexible Javascript IOC container
JavaScript CSS HTML

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
builder
docs
dojo
dom
jquery
lib
test
.editorconfig
.gitignore
.gitmodules
.jshintrc
.npmignore
CHANGES.md
LICENSE.txt
README.md
aop.js
bower.json
connect.js
debug.js
dom.js
domReady.js
on.js
package.json
sizzle.js
wire.js

README.md

wire.js

Wire is an Inversion of Control Container for Javascript apps, and acts as the Application Composition layer for cujoJS.

Wire provides architectural plumbing that allows you to create and manage application components, and to connect those components together in loosely coupled and non-invasive ways. Consequently, your components will be more modular, easier to unit test and refactor, and your application will be easier to evolve and maintain.

To find out more, read the full introduction, more about the concepts behind wire, and check out a few example applications.

Documentation

  1. Getting Started
  2. Reference Documentation
  3. Example Code and Apps

What's new

0.10.4

  • Support for relative module ids, including AMD plugin resource ids in wire's cram builder plugin. (#142)
  • Improved performance in lifecycle processing, allowing components to proceed in parallel in more cases when there are no dependencies between them. (#141)

0.10.3

  • Experimental support for relative AMD plugin resource ids in wire specs. For example:
myTemplate: {
    // Find template.html relative to the current wire spec
    module: 'text!./template.html'
}

0.10.2

  • Experimental support for relative module ids in wire specs in all supported environments.
  • Fix version mismatch in bower.json

0.10.1

0.10.0

  • Support for creating and managing jQuery UI Widgets (much like the existing Dijit widget support).
  • More compact syntax for including plugins: just include the module id as a string! The object syntax is still supported as well.
  • New docs for using and creating wire plugins.
  • Many other documentation additions and improvements.
  • New APIs available to plugins for monitoring the overall state of wiring, inserting components into the current context, and more.
  • Many internal improvements:
    • Reduced overall memory usage
    • Improved wiring performance
    • Preparing for a bunch of new awesomeness in upcoming releases
  • Compatibility with when.js 1.5.0 - 2.x.
    • NOTE: wire 0.10.x is the last set of releases that will be compatible with when < 2.0.

0.9.4

0.9.3

  • Compatibility with when.js 1.5.0 - 2.0.x. If you use when >= 2.0.0, you MUST update to wire 0.9.3. There are no other changes in 0.9.3.

0.9.2

  • IE-specific fix for wire/debug's trace option. See #78

0.9.1

  • Fix for compose factory. See #69

0.9.0

Full Changelog

License

wire.js is licensed under The MIT License.

Something went wrong with that request. Please try again.