Eliminate "couchapp" support?

33 views
Skip to first unread message

Chas Emerick

unread,
Oct 12, 2011, 9:54:00 PM10/12/11
to clojure...@googlegroups.com
In the process of my experimenting with supporting the CouchApp idioms for organizing views and assets on disk, I implemented a very limited form of disk <=> CouchDB synchronization in Clutch, in the com.ashafa.clutchapp namespace. However, since then, the CouchApp concept and its canonical python implementation[1] has matured and expanded — IMO, anyone building CouchApps, or using its idioms for organizing data to be synchronized to/from CouchDB, should be using it instead.

I've long since stopped using and sadly neglected the implementation of it in Clutch, and I'd like to simply drop it from the Clutch API.

Any objections?

- Chas

[1] http://couchapp.org/

pepijn (aka fliebel)

unread,
Oct 13, 2011, 4:08:59 AM10/13/11
to Clojure Clutch
As long as there is a better alternative, no objections.

If you set the language of the design doc to clojure, can you just
stuff Clojure source files into Couchapp?

You wrote a method to get ClojureScript views into Couch, is that
suitable to push Clojure as well?

Pepijn

Chas Emerick

unread,
Oct 13, 2011, 5:04:33 AM10/13/11
to clojure...@googlegroups.com
Yes, I would think .clj files on disk would get sync'd up via the official couchapp toolchain.

The changes made in 0.3.0-SNAPSHOT unify the idioms for working with view server code in Clutch, regardless of language; aside from the :language and other options you might pass along, the same view-server-fns macro is used.

- Chas

Chas Emerick

unread,
Oct 17, 2011, 12:25:12 PM10/17/11
to Clojure Clutch
FYI, the latest 0.3.0-SNAPSHOT and the corresponding branch in git[1]
no longer contain the cluchapp namespace.

The lack of tears and gnashing of teeth seems like all the clearance I
needed. :-)

- Chas

[1] https://github.com/ashafa/clutch/tree/0.3.0
Reply all
Reply to author
Forward
0 new messages