couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Mancini <gabriel.manc...@gmail.com>
Subject Re: CouchDB plugin examples
Date Mon, 26 Nov 2012 11:19:38 GMT
it's a great news, i think is a huge contribution to community.
and a nice tool to learn, not only to operation but to learn more about how
build a plugin to couchdb


On Sat, Nov 24, 2012 at 4:00 AM, Jason Smith <jhs@iriscouch.com> wrote:

> In the spirit of reënergizing Futon, I open-sourced a plugin we use at
> Iris Couch, futon_couchdb.
>
> https://github.com/iriscouch/futon_couchdb
>
> This plugin makes /_utils dynamic, serving any of
>
> * Mobile Futon if you are mobile (I know, user-agent sniffing is out of
> vogue)
> * Sammy Futon if you configure it, or use the Easter egg
> * Normal Futon
>
> The code and even the feature are quite bad. However it is an
> excellent example of how to make a CouchDB plugin. The entire project
> is 25 commits, and if you read the changes, you can learn many things:
>
> * Making a minimal Rebar (Erlang) project
> * Building such a project, "linking" against CouchDB.
> * Integrating the plugin (an http handler) into CouchDB
> * Supporting custom configuration options, and defining their defaults
> * Using files from a plugin-local private directory
>
> So if you are interested in CouchDB development, maybe it will help
> you get your feet wet.
>
> A more advanced example is pingquery_couchdb, with which the Erlang
> part of CouchDB "pings" the JavaScript part, and verifies the
> response.
>
> https://github.com/iriscouch/pingquery_couchdb
>
> --
> Iris Couch
>



-- 
Gabriel Mancini de Campos
Arquiteto de Soluções

+55 (11) 9449-1706
gabriel.mancini@gmail.com
São Paulo - SP - Brasil

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message