Clutch 0.3.0-SNAPSHOT released; write views in ClojureScript

15 views
Skip to first unread message

Chas Emerick

unread,
Oct 11, 2011, 10:50:37 AM10/11/11
to clojure...@googlegroups.com
I've released clutch 0.3.0-SNAPSHOT to clojars. Changes here so far include:

* elimination of inconsistency between APIs between save-view and save-filter. The names of individual views and filters are now part of the map provided to these functions, instead of sometimes being provided separately.
* :language has been eliminated as part of the dynamically-bound configuration map
* `with-clj-view-server` has been replaced by the more generic `view-server-fns` macro, which takes a :language keyword or map of options that includes a :language slot (e.g. :clojure, :javascript, etc), and a map of view/filter/validator names => functions.
* A `view-transformer` multimethod is now available, which opens up clutch to dynamically support additional view server languages.

In conjunction, I've also released a 0.0.1-SNAPSHOT of clutch-clojurescript, which takes advantage of the above to provide support for writing view/filter/validator functions in ClojureScript. I blogged about this separately here, which includes a bunch of background info and links to the relevant repo, examples, etc:

https://github.com/cemerick/clutch-clojurescript

Lots of fun stuff is coming to clutch in the near future. You can help by beating away at the above and letting me know where it breaks. :-)

Cheers,

- Chas

Reply all
Reply to author
Forward
0 new messages