I find that MongoDB is a pretty natural fit for JS based environments, the
features such as array updates in a document/record as well as more of an
object/document nature tends to be nicer imho than key/value stores (Redis),
and a bit less cumbersome than CouchDB.
I think that they all (Postgres, Redis, Couch, etc) have strengths and
weaknesses. RDBMS is covered well with Postgres, but feel that having a NoSQL
option would work well. MongoDB isn't as strong in some areas as Redis, Couch
and others, but it has a more natural fit, and better all-around rdbms options
than others.
=================
Original thread in private twitter messages... (fyi, I'm also @tracker1 on
twitter, @JavaScriptAZ is for a user group, inactive)
@JavaScriptAZ - What are your thoughts on offering mongodb support in addition
to postgres? (16 hours ago)
@akshell_com - we are discussing nosql internally. what is it about mongodb
you like? (15 hours ago)
@JavaScriptAZ - mongodb usage via json/bson is nice/transparent from js, fast,
scalable, schema-less can email ... to discuss (2 hours ago)
--
Michael J. Ryan - http://tracker1.info/
There should be one – and preferably only one – obvious way to do it.
So we don't have plans to implement MongoDB support in Akshell. But we do have plans to support as much service APIs as possible. We want developers to be able to connect to them with ease. One of such services is http://mongohq.com/
> --
> You received this message because you are subscribed to the Google Groups "akshell" group.
> To post to this group, send email to aks...@googlegroups.com.
> To unsubscribe from this group, send email to akshell+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akshell?hl=en.
>
--
Anton Korenyushkin
www.akshell.com
an...@akshell.com
+7 985 189-22-89
perhaps having something like...
var IndexHandler = Handler.subclass(
{
get: function (request, response) {
asyncdriver.call(function asyncCallbackMethod(){
response.return(render(
'index.html',
{
header: 'Hello from async.'
}
));
});
//the get method will return undefined (default),
//so wait for and use response.return
}
});
This would be pretty similar to the usage for JS, and allow for out of band
usage... of course, you'd have to keep the connection open and listen for
response.return to be called if the result of get is undefined...
On 3/25/2011 5:51 AM, Oleg Podsechin wrote:
> Further to Anton's mail linking to MongoHQ:
>
> https://github.com/sergi/narwhal-mongodb - synchronous driver, which depends
> on the Java JAR
> https://github.com/LearnBoost/mongoose - asynchronous driver, in what looks
> like pure JavaScript
>
> You may be able to use these two as a starting point for making a sync JS only
> driver that talks to MongoHQ or another hosted version of Mongo. We are with
> Linode in the Atlanta DC, so you could bring up a VPS hosting Mongo there for
> the lowest latency. Make sure you use our affiliate link (in the footer of the
> main page) if you do decide to try Linode ! ;)
>
> Oleg
>
> On Fri, Mar 25, 2011 at 11:06 AM, Anton Korenyushkin <an...@akshell.com
> <mailto:an...@akshell.com>> wrote:
>
> Akshell is all about simplicity; so we chose the most popular language of
> the web, designed a simple JavaScript API to a PostgreSQL database,
> created an easy-to-use online IDE. When it comes to the core, we stick
> with the mantra:
>
> There should be one � and preferably only one � obvious way to do it.
> <mailto:aks...@googlegroups.com>.
> > To unsubscribe from this group, send email to
> akshell+u...@googlegroups.com
> <mailto:akshell%2Bunsu...@googlegroups.com>.
> > For more options, visit this group at
> http://groups.google.com/group/akshell?hl=en.
> >
>
>
> --
> Anton Korenyushkin
> www.akshell.com <http://www.akshell.com>
> an...@akshell.com <mailto:an...@akshell.com>
> +7 985 189-22-89
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "akshell" group.
> To post to this group, send email to aks...@googlegroups.com
> <mailto:aks...@googlegroups.com>.
> To unsubscribe from this group, send email to
> akshell+u...@googlegroups.com
> <mailto:akshell%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/akshell?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "akshell" group.
> To post to this group, send email to aks...@googlegroups.com.
> To unsubscribe from this group, send email to
> akshell+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/akshell?hl=en.
--
>> There should be one – and preferably only one – obvious way to do it.
--