I am happy to announce that system <https://github.com/danielsz/system> is 
now at 0.2.0

*What's new?*

* *New components*


   - Cider nREPL component
   - Neo4j component
   - Quartzite component 
   - ScheduledExecutorService component
   - Immutant web service component
   

* *Modified components*

It is noteworthy that changes in components are non-breaking.


   - Web components (jetty, immutant, http-kit) can be passed functions, 
   but also components. This allows ad-hoc components to participate in 
   dependency injection scenarii. User-defined components should respect the 
   convention that (:app my-custom-component) returns a web handler. The 
   provided App component does exactly this, enabling a dependency graph where 
   the web server depends on routes and middleware, which in turn depend on a 
   database. A full example is available in the repository.
   - The aforementioned App component uses closures to expose resources to 
   http requests instead of merging it in the request map. This is a best 
   practice, well argued by James Reeves in his "Structuring Clojure Web 
   Applications 
   
<https://www.booleanknot.com/blog/2015/05/22/structuring-clojure-web-apps.html>"
 
   article.
   - The Monger component can be initialized with a function that receives 
   the db as argument. A typical use case is to create/ensure indices on 
   startup. Refer to the tests for usage examples.
   - A link to a video of my talk on Interactive programming has been added 
   to the README. If you are new to system, the video should give you all the 
   context needed to get up to speed.

Special thanks to contributors for the current release: Karel Miarka, 
Thomas Sonntag and Larry Stanton Jr.

-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to