Skip to content

Commit

Permalink
README tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Damon Oehlman committed Feb 16, 2012
1 parent b67e3f9 commit f51b21e
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions README.md
Expand Up @@ -4,23 +4,10 @@ This is a simple project designed to provide something conceptually similar to I

This implementation instead uses __purpose-based namespacing__ when defining "classes". What I mean by this is that something should be given a namespace relative to it's purpose rather than it's ownership (as is common in other languages).

For instance, consider the following (contrived) definitions:

```js
IoC.define('vehicle.humvee[+offroad, topspeed=105]', function() {
return {
drive: function(from, to) {
}
}
});

IoC.define('vehicle.porsche[topspeed=240]', function() {
return {
drive: function(from, to) {
}
}
});
```
## Example Usage

To be completed.

## Roadmap

- Integrate [matchme](https://github.com/DamonOehlman/matchme) to allow matching the appropriate object type based on some requirements.

0 comments on commit f51b21e

Please sign in to comment.