Hi all,
The Irresponsible Clojure Guild is pleased to announce codependence 0.1.0
is now available on clojars.
This library came about because I liked integrant, but I wanted a bit more
flexibility. It's built upon integrant (which is cool, I ported it to
clojurescript!) but with a twist.
In ordinary integrant, you might specify an app like this (component
configs elided for brevity):
```
{:http {}
:db {}}
```
In codependence you specify them like this:
```
{:http {:co/tag :http/aleph}
:db {:co/tag :db/utrecht}
```
In the first example, :http and :db are the tags one will register
behaviour for. in the second, they are :http/aleph and :db/utrecht.
integrant refs are unmodified
This firstly means that one tag can instantiate multiple components of the
same type and secondly makes it easier to ship predefined components and
let a user stitch them together as config
dep coord: [irresponsible/codependence "0.1.0"]
github: https://github.com/irresponsible/codependence
Cheers,
James (and the ICG)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.