You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Rob Evans (JIRA)" <ji...@apache.org> on 2008/10/26 16:40:44 UTC

[jira] Created: (COUCHDB-147) Make Futon an Extensible/Embedabble Authoring Tool

Make Futon an Extensible/Embedabble Authoring Tool
--------------------------------------------------

                 Key: COUCHDB-147
                 URL: https://issues.apache.org/jira/browse/COUCHDB-147
             Project: CouchDB
          Issue Type: Wish
          Components: Administration Console
            Reporter: Rob Evans


For folks wishing to build stackless web applications on top of couchdb, futon is good place to start. In my own work, I've attempted to integrate futon into my application to create an app that hosts its own development environment much the same way as wikis combine authoring as well as presentation.  I believe the seaside smalltalk framework takes this approach as well. 

Please consider evolving futon to become more extensible and embeddable. 

 stackless web application : An application that requires little more than HTTP, HTML, and JavaScript. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-147) Make Futon an Extensible/Embedabble Authoring Tool

Posted by "Rob Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659757#action_12659757 ] 

Rob Evans commented on COUCHDB-147:
-----------------------------------

Chris, 

I'll package up what I have and send it to you. It may take a week for me to get this to you... holiday's and all. 

> Make Futon an Extensible/Embedabble Authoring Tool
> --------------------------------------------------
>
>                 Key: COUCHDB-147
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-147
>             Project: CouchDB
>          Issue Type: Wish
>          Components: Administration Console
>            Reporter: Rob Evans
>
> For folks wishing to build stackless web applications on top of couchdb, futon is good place to start. In my own work, I've attempted to integrate futon into my application to create an app that hosts its own development environment much the same way as wikis combine authoring as well as presentation.  I believe the seaside smalltalk framework takes this approach as well. 
> Please consider evolving futon to become more extensible and embeddable. 
>  stackless web application : An application that requires little more than HTTP, HTML, and JavaScript. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-147) Make Futon an Extensible/Embedabble Authoring Tool

Posted by "Jason Davies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660616#action_12660616 ] 

Jason Davies commented on COUCHDB-147:
--------------------------------------

I'm also interested in making Futon more extensible.  It would be really nice to have plugins that could inject arbitrary bits of functionality into Futon, e.g. TinyMCE, date pickers etc.

I'm thinking Futon could load some arbitrary JavaScript from a specially-named document in each database, e.g. with id "_utils/Futon".  This would be loaded after the Futon JavaScript stuff, so the latter could be overridden.  The Futon JavaScript stuff would need to be restructured slightly to use callbacks where appropriate.

To use TinyMCE as an editor you could then do something like this:

var old_value_callback = value_callback;
function value_callback(doc, key) {
  if (doc.type == 'blog_entry') {
    if (key == 'content') return showTinyMCE(doc[key]);
    if (key == 'pub_date') return showDatePicker(doc[key]);
  }
  return old_value_callback(doc, key);
}

There are security considerations with relying on a specially-named document in each database if you replicate an untrusted database onto your CouchDB instance, and then run Futon on it.

I'd be interested in seeing Rob's work on this.

> Make Futon an Extensible/Embedabble Authoring Tool
> --------------------------------------------------
>
>                 Key: COUCHDB-147
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-147
>             Project: CouchDB
>          Issue Type: Wish
>          Components: Administration Console
>            Reporter: Rob Evans
>
> For folks wishing to build stackless web applications on top of couchdb, futon is good place to start. In my own work, I've attempted to integrate futon into my application to create an app that hosts its own development environment much the same way as wikis combine authoring as well as presentation.  I believe the seaside smalltalk framework takes this approach as well. 
> Please consider evolving futon to become more extensible and embeddable. 
>  stackless web application : An application that requires little more than HTTP, HTML, and JavaScript. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-147) Make Futon an Extensible/Embedabble Authoring Tool

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659751#action_12659751 ] 

Chris Anderson commented on COUCHDB-147:
----------------------------------------

yes, I love that standalone app stuff!

http://jchris.mfdz.com/code/2008/10/standalone_applications_with_co

can you share your futon work?

> Make Futon an Extensible/Embedabble Authoring Tool
> --------------------------------------------------
>
>                 Key: COUCHDB-147
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-147
>             Project: CouchDB
>          Issue Type: Wish
>          Components: Administration Console
>            Reporter: Rob Evans
>
> For folks wishing to build stackless web applications on top of couchdb, futon is good place to start. In my own work, I've attempted to integrate futon into my application to create an app that hosts its own development environment much the same way as wikis combine authoring as well as presentation.  I believe the seaside smalltalk framework takes this approach as well. 
> Please consider evolving futon to become more extensible and embeddable. 
>  stackless web application : An application that requires little more than HTTP, HTML, and JavaScript. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.