Skip to content

Commit

Permalink
Update links in README to point to cujojs repos and wikis
Browse files Browse the repository at this point in the history
  • Loading branch information
briancavalier committed Jan 25, 2012
1 parent 68224c9 commit 3dc4cdc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.idea/
tools/
curl/
dojo/
Expand Down
48 changes: 25 additions & 23 deletions README.md
Expand Up @@ -18,7 +18,7 @@ Helpful link for updating submodules:

Wire.js is an [Inversion of Control Container](http://martinfowler.com/articles/injection.html "Inversion of Control Containers and the Dependency Injection pattern") for Javascript apps.

With wire.js, you can focus on coding the business logic of your components and let wire.js handle the bootstrapping and the glue that connects them together. You write a simple [wiring spec](https://github.com/briancavalier/wire/wiki/Wire-specs) in JSON (or Javascript) that describes how your components should be wired together, and wire will load, configure, and connect those components to create your application, and will clean them up later.
With wire.js, you can focus on coding the business logic of your components and let wire.js handle the bootstrapping and the glue that connects them together. You write a simple [wiring spec](https://github.com/cujojs/wire/wiki/Wire-specs) in JSON (or Javascript) that describes how your components should be wired together, and wire will load, configure, and connect those components to create your application, and will clean them up later.

### Specifically, wire.js provides:

Expand All @@ -45,24 +45,26 @@ Plugins also allow you to use capabilities of your existing modules/libraries/fr
1. [Read about](https://github.com/briancavalier/hello-wire.js) and [try out](http://briancavalier.com/code/hello-wire) the Hello Wire introduction.
1. Check out the [wire.js presentation from JSConf 2011](http://bit.ly/mkWy1L "wire.js - Javascript IOC Container w/Dependency Injection").
1. Get the code for the [Piratescript or N00bscript](https://github.com/briancavalier/piratescript) game from the presentation. *Docs coming soon!*
1. See the [wiki for more documentation](https://github.com/briancavalier/wire/wiki).
1. See the [wiki for more documentation](https://github.com/cujojs/wire/wiki).
1. Fork it and try it out!

# What's new

### 0.8.0

### 0.7.5

* Minor fix for using wire in a non-AMD browser environment
* Update to [when.js](https://github.com/briancavalier/when.js) v0.10.4
* Update to [aop.js](https://github.com/briancavalier/aop.js) v0.5.2
* Update to [when.js](https://github.com/cujojs/when.js) v0.10.4
* Update to [aop.js](https://github.com/cujojs/aop.js) v0.5.2

### 0.7.4

* `wire/debug` plugin now supports runtime app tracing. Check out the [new options](https://github.com/briancavalier/wire/wiki/wire-debug).
* `wire/debug` plugin now supports runtime app tracing. Check out the [new options](https://github.com/cujojs/wire/wiki/wire-debug).
* Fix for all known instances where wire would not notice errors that happen during wiring.
* Baby steps toward Node compatibility for the wire.js core. *We're currently targetting v0.8.0 as the first Node-compatible version*.
* Update to [when.js](https://github.com/briancavalier/when.js) v0.10.3
* Update to [aop.js](https://github.com/briancavalier/aop.js) v0.5.0
* Update to [when.js](https://github.com/cujojs/when.js) v0.10.3
* Update to [aop.js](https://github.com/cujojs/aop.js) v0.5.0

### 0.7.3

Expand All @@ -78,48 +80,48 @@ Plugins also allow you to use capabilities of your existing modules/libraries/fr

* Improved logging in `wire/debug`, now with stack traces, and guards against missing `console` in IE.
* Guard against null when scanning plugins
* Update to [when.js](https://github.com/briancavalier/when.js) v0.9.4
* Update to [when.js](https://github.com/cujojs/when.js) v0.9.4

### 0.7.0

* New [wire factory](https://github.com/briancavalier/wire/wiki/Factories) (aka wire inception!) that allows wiring chains of other specs, or injecting functions for deferred wiring. [See the docs](https://github.com/briancavalier/wire/wiki/Factories)
* [wire/dojo/dijit](https://github.com/briancavalier/wire/wiki/wire-dojo-dijit) plugin:
* New [wire factory](https://github.com/cujojs/wire/wiki/Factories) (aka wire inception!) that allows wiring chains of other specs, or injecting functions for deferred wiring. [See the docs](https://github.com/cujojs/wire/wiki/Factories)
* [wire/dojo/dijit](https://github.com/cujojs/wire/wiki/wire-dojo-dijit) plugin:
* `placeAt` feature that allows easier placement of Dijit widgets.
* supports easy dijit theming via its `theme` option
* New [wire/dojo/data](https://github.com/briancavalier/wire/wiki/wire-dojo-data) plugin that supports legacy `dojo/data` datastores
* [wire/dom](https://github.com/briancavalier/wire/wiki/wire-dom) plugin now supports options for adding/removing classes to `<html>` during wiring.
* Now using [when.js](https://github.com/briancavalier/when.js) v0.9.3 for promises and async handling. See also the Deprecated Functionality below.
* New [wire/dojo/data](https://github.com/cujojs/wire/wiki/wire-dojo-data) plugin that supports legacy `dojo/data` datastores
* [wire/dom](https://github.com/cujojs/wire/wiki/wire-dom) plugin now supports options for adding/removing classes to `<html>` during wiring.
* Now using [when.js](https://github.com/cujojs/when.js) v0.9.3 for promises and async handling. See also the Deprecated Functionality below.
* The wire.js core is now **only 2.5k** with Google Closure + gzip!
* **Limited support** for using wire in a non-AMD setup. This is intended to aid in transitioning to AMD and CommonJS modules, and *it's unlikely that wire's full functionality will ever be extended to cover non-AMD/CommonJS environments.*
* wire.js can now create components using raw constructors in addition to AMD module ids. This allows wire.js to create components instances from libraries that haven't yet fully committed to AMD or CommonJS.
* **Deprecated functionality** - to be removed in v0.8.0
* Injecting a reference to the [full current context](https://github.com/briancavalier/wire/wiki/Contexts) via `{ $ref: 'wire!context' }`
* Injecting a reference to the [full current context](https://github.com/cujojs/wire/wiki/Contexts) via `{ $ref: 'wire!context' }`
* The components in the current context will always be in an incomplete state, and relying on this is potentially dangerous.
* I may consider allowing injecting a *promise* for the current context, which would resolve after the current context has finished wiring.
* If you were using the `wire()` method of a context injected via `{ $ref: 'wire!context' }`, you can use `{ $ref: 'wire!' }` instead, which provides a direct reference to the `wire()` method itself--i.e. it injects a *function* that works just like `context.wire()`.
* Many plugin methods received a `wire` parameter that had several promise helper methods, such as `wire.when`, `wire.whenAll`, etc. These are deprecated in favor of simply using [when.js](https://github.com/briancavalier/when.js) instead, which is provided as a submodule in the support dir.
* Many plugin methods received a `wire` parameter that had several promise helper methods, such as `wire.when`, `wire.whenAll`, etc. These are deprecated in favor of simply using [when.js](https://github.com/cujojs/when.js) instead, which is provided as a submodule in the support dir.

### 0.6.0

* [wire/aop](https://github.com/briancavalier/wire/wiki/wire-aop) plugin: AOP weaving with pointcuts, and before, after, afterReturning, afterThrowing, after (aka "afterFinally") advice using [aop.js](https://github.com/briancavalier/aop.js)
* [wire/aop](https://github.com/cujojs/wire/wiki/wire-aop) plugin: AOP weaving with pointcuts, and before, after, afterReturning, afterThrowing, after (aka "afterFinally") advice using [aop.js](https://github.com/cujojs/aop.js)
* Experimental optimizer/build tool support for [cram](https://github.com/unscriptable/cram). Point cram at your wire spec and let it optimize your entire app! *Docs coming soon*
* [wire/debug](https://github.com/briancavalier/wire/wiki/wire-debug) plugin: tracks components and tells you which ones couldn't be wired and why
* [wire/debug](https://github.com/cujojs/wire/wiki/wire-debug) plugin: tracks components and tells you which ones couldn't be wired and why
* Improved memory management, especially when destroying contexts.
* **Breaking Changes**
* The plugin format has changed to support new, more powerful async plugins. See the [Plugin format wiki](https://github.com/briancavalier/wire/wiki/Plugin-format) for more information
* [wire/aop](https://github.com/briancavalier/wire/wiki/wire-aop) decorator and introduction options have changed. See the [wire/aop wiki](https://github.com/briancavalier/wire/wiki/wire-aop) for more information
* The plugin format has changed to support new, more powerful async plugins. See the [Plugin format wiki](https://github.com/cujojs/wire/wiki/Plugin-format) for more information
* [wire/aop](https://github.com/cujojs/wire/wiki/wire-aop) decorator and introduction options have changed. See the [wire/aop wiki](https://github.com/cujojs/wire/wiki/wire-aop) for more information

### 0.5.2

* Fix for [wire/sizzle](https://github.com/briancavalier/wire/wiki/wire-aop) plugin
* Fix for [wire/sizzle](https://github.com/cujojs/wire/wiki/wire-aop) plugin
* Updated to work with [curl v0.5](https://github.com/unscriptable/curl) domReady.
* **NOTE** wire.js v0.5.2 now requires curl.js 0.5 or later. It will also work with any recent version of RequireJS, and with dojo 1.6 or later.

### 0.5.1

* `create` factory now supports the `isConstructor` option, when `true`, forces an object instance to be created using `new`.
* Improved debug output when using [wire/debug](https://github.com/briancavalier/wire/wiki/wire-debug) plugin,
* Slimmed down [wire/aop](https://github.com/briancavalier/wire/wiki/wire-aop) plugin in preparation for a new version in an upcoming release,
* Improved debug output when using [wire/debug](https://github.com/cujojs/wire/wiki/wire-debug) plugin,
* Slimmed down [wire/aop](https://github.com/cujojs/wire/wiki/wire-aop) plugin in preparation for a new version in an upcoming release,
* Automated unit tests using [Dojo DOH](http://dojotoolkit.org/reference-guide/util/doh.html),
* Semantic versioning

Expand All @@ -129,7 +131,7 @@ Plugins also allow you to use capabilities of your existing modules/libraries/fr
* Can be used as either an AMD module or an AMD plugin,
* Tested with [curl.js](https://github.com/unscriptable/curl), and [RequireJS](http://requirejs.org/). Should also work with the upcoming [dojo 1.7 loader](http://dojotoolkit.org/) (but hasn't been tested yet),
* Improved plugin system,
* AOP plugin, [wire/aop](https://github.com/briancavalier/wire/wiki/wire-aop): Decorators and Introductions. *Coming Soon*: before, after, afterReturning, afterThrowing, and around advice,
* AOP plugin, [wire/aop](https://github.com/cujojs/wire/wiki/wire-aop): Decorators and Introductions. *Coming Soon*: before, after, afterReturning, afterThrowing, and around advice,
* Prototype factory plugin allows using the JS prototype chain to create new objects directly from other objects in your wire spec.
* Sizzle plugin, `wire/sizzle`, courtesy of [@unscriptable](https://twitter.com/unscriptable)
* Not entirely new to 0.5, but worth mentioning Dojo integration, including:
Expand Down

0 comments on commit 3dc4cdc

Please sign in to comment.