I've been bugging Ayende regarding the lack of jsonp support in RavenDB. Not surprisingly he fixed it within a matter of days and as of build 279 RavenDb supports jsonp.

The support for jsonp enables you to access Raven directly from javascript and there by skip any server side code to return view data. Using jQuery the syntax for getting a list of "Auction Summaries" would be:

Notice the jsonp: "jsonp", this is needed since jQuery defaults the name of the callback parameter to "callback". Raven expects this to be "jsonp" hence the override is needed.

I love this feature since this will allow me to keep my query side uber thin. No MVC controllers, linq to whatever, OR-mappers etc etc. I just store the data in raven in whatever format my UI need and I'm done...