DISQUS

britg: The Brave New World of Server-Side Javascript

  • nlsmith · 6 months ago
    Nice post.

    You can do REST/JSON with Jaxer (see http://www.aptana.com/jaxer/guide/develop_web_s...), though it's a pain to get running, and Jack would be much better suited to this type of thing.

    As far as the JS on Rails type of thing, check out ActiveJS (http://activejs.org/.) It has a way to go yet, though any contributions would be appreciated. It does have code to make it a ServerJS module, though I haven't seen it in use. All of the modules either work with Jack and Jaxer or could be made to with a little work.

    Another project that might be of interest to you is Persevere (http://persvr.org/.)

    Server-side JavaScript has been around for over 10 years, but it just now is starting to get exciting. In fact, in my day job I work on "classic" ASP in JavaScript. Exciting times.

    Thanks,

    Nathan
  • britg · 6 months ago
    Interesting, thanks for pointing me to those two projects. Perservere looks very interesting, and I immediately associated it with CouchDB because of the RESTful HTTP interface and JSON storage. But two bullets that jumped out at me that I don't know that CouchDB can tout yet is (plus I'm sure there are many more differences):

    # Comet-based data monitoring capabilities through HTTP Channels with Bayeux transport plugin/negotiation support

    # Data-centric capability-based object level security with user management, Persevere is designed to be accessed securely through Ajax with public-facing sites
  • Rob · 5 months ago
    You may also want to look at the open source M/DB:X which is an HTTP-interfaced hybrid JSON/Native XML Database. JSON objects are converted to and stored as XML DOMs which can be analysed, modified, transformed and searched in the XML domain and returned as JSON strings. See http://www.mgateway.com/mdbx.html for more information