Tuesday, March 30th, 2010

JSINQ 1.0: now fully supports .NET 3.0 query operators

Category: Database, JavaScript

Kai Jäger’s JSINQ has now gotten to the long sort after 1.0 release. Kai has kindly shared a few thoughts on the release and the project:

I’m happy to announce that one year after its initial release, JSINQ is now stable and packed with new features. Just like the previous version, JSINQ supports the complete set of .NET 3.5 query operators. As of version 1.0, JSINQ also supports the .NET 4.0 query operator “zip”. Additionally, JSINQ now contains complete implementations of System.Collections.Generic.List and System.Collections.Generic.Dictionary. The dictionary class is especially useful, as it supports arbitrary values as keys (unlike JavaScript objects). JSINQ is fully documented, comes with a comprehensive suite of tests and is already being used in production. Without the optional query compiler, JSINQ is only 23 KB when minified.

See it action at the JSINQ playground where you can play with your own queries such as:

  1. from customer in $0
  2. where customer.lastname.charAt(0) == 'S'
  3. select {id: customer.id, name: customer.firstname + ' ' + customer.lastname}

Posted by Dion Almaer at 6:25 am

3.1 rating from 27 votes


Comments feed TrackBack URI

The article title reads “.NET 3.0” – it should be “.NET 3.5”

Comment by WillPeavy — March 30, 2010

Also, ‘long sort after’ should probably be ‘long sought after’ because who would ever want to do a ‘long sort’ when there are so many faster alternatives?

Comment by okonomiyaki3000 — March 30, 2010

It looks really cool and the example page feels pretty responsive and fast. Still I wonder if this is the way to go, because it implies sending large amounts of data to the client to filter it there, not knowing if actions based on the client data will succeed at the server (because the data might have changed there). Of course there are lots of ways to fix this, but implementing this at the client-side doesnt seem like a good idea to me.
Maybe anyone has some tips on where and why to use this?

Comment by daanlib — March 30, 2010

We need some new captchas, like what does the following code return:

return typeof arguments;

Comment by Skilldrick — March 31, 2010

@skilldrick: it’s not like a computer solves ajaxian’s riddles, they are solves by hand, so additional or new questions won’t help a thing. A random captcha will though…

Comment by daanlib — March 31, 2010

I think this can be useful if combined with HTML 5 Offline Caching. No?

Comment by silvercrux — March 31, 2010

Leave a comment

You must be logged in to post a comment.