On 4 Mag, 06:53, Luc Prefontaine <lprefonta...@softaddicts.ca> wrote: > Hi, > > being tired of wandering through a few thousand lines of XML Spring bean > definitions, I finally wrote a library > to start moving away from Spring/XML. It's definitively nicer doing > dependency injection/auto-wiring using Clojure. > > This is part of our global effort here to confine Java as much as possible to > lower layers. > > Lacking imagination (or being lazy ?), I called it boing. The source code is > available athttps://github.com/lprefontaine/Boing > and the Wiki there describes its scope and capabilities. > > It's a 1.0 version. It should make it to prod beginning of this summer. > > The jar is on Clojars ([org.clojars.lprefontaine/boing "1.0"] in leiningen). > > It may be of interest to people having mixed environments and potentially to > some using external Java libraries. > It's much more dynamic than XML and significantly shorter. Look at the > examples folder. > > Comments are welcomed. The TODO list is not yet published but we see a few > things we want to add to it especially > in the area of resource management and some optimizations. > > Code wise I think it's not too horrible given that I had to squeeze this in > my already ultra-tight schedule in > the last three weeks or so.
That's really nice! I did something similar in Common Lisp, called DynaSpring [1]. I think this kind of thing fits Lisp perfectly, and it's nice to see an implementation of similar ideas in Clojure. Perhaps we can mutually take inspiration from each other's projects and, why not, even share some code and ideas. Right now I'm not actively developing it because I'm no longer using Spring at work, but still I like the concept and hope to use it on a real project sooner or later. I wish you well for boing! Alessio [1] code.google.com/p/dynaspring/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en