I'm not working on this to be a futon replacement or any other grand
goal - it just looked like a fun thing to do. There are lots of
unsolved problems and I'd love some discussion around potential
solutions:
Authentication - right now I punt and just log you in as a fake user.
I saw some discussion on getting cookie-based auth in CouchApp and
we'd probably need something similar to have a usable auth system.
Filesystem implementations - I really have two ideas here. The first
is to make every CouchApp on a given database(can I do cross-database?
probably...) a Project in the Bespin world. Then, all the app's
attachments would appear as editable files in the dashboard. The
second part is to have regular CouchDB docs appear as files enabling
you to edit docs, views, etc with nice javascript syntax highlighting.
My next main focus is getting at least one of these two options fully
functional for CRUD stuff.
Dojo vs jQuery - Bespin uses Dojo for all its javascript. There are a
few nice CouchDB helper functions written in jQuery. Should I just
include both or make a special port of those helpers to Dojo?
Thanks for all the positive feedback. I've got a Slicehost box sitting
idle so I'll try to carve out some time to install trunk CouchDB and
push my Bespin stuff there for people to play with. Then, as I make
code updates, you can just couchapp clone or use couchdb replication
to keep your local copy updated.
Ben
On Fri, May 22, 2009 at 12:27 PM, Benoit Chesneau wrote:
> 2009/5/22 Paul Davis :
>> Benoit,
>>
>> Once its a couchapp we can look at integrating it into the
>> distribution and what not. It would be awesome to have something as a
>> default install, but there are all those questions about licensing and
>> what not. As always, these questions are always easier once we have
>> code to look at.
>
> mmm I didn't think about integrating in official couchdb which would
> be dificult indeed considering the license. And the fact that it works
> only with mozilla. I thought more about a line we add to local.ini
> like
>
> _couchapps = {couch_httpd_misc_handlers, handle_utils_dir_req,
> "/somewhere/couchapps"}
>
> Wich isn't really difficult and would allow to distribute it as a
> plugin. Just a talk. That's just for me this is more like futon rather
> than a couchapp.
>
>>
>> And depending on what the lawyer type people say, this could be the
>> motivation to get that fancy dancy public app hosting node so people
>> can see what its like to install an app via replication.
>>
>
> agree.
>
> - benoit
>