
The more I play around with Node.js, the more I love server-side JavaScript. Once you get over the weirdness of writing JavaScript outside of the browser, it feels very natural. And the bonus is that it is blazing fast.
Also, as I’ve been playing around with YQL (Yahoo Query Language) more lately, I realized I wanted to be able to access YQL data from within my Node app. So, I created a node-yql module.
Now you can do something like…
YQL.get("SELECT * FROM weather.forecast WHERE location=90066", function(response) { var location = response.query.results.channel.location, condition = response.query.results.channel.item.condition; sys.puts("The current temperature in " + location.city + " is " + condition.temp + " degrees"); }); // Output: The current temperature in Los Angeles is 57 degrees

This might be the sexiest thing I saw since Appcelerator!
Derek, can you recommend any detailed articles related to server side Javascript and YQL?
I have been hearing buzz about YQL for a while but I have been having a hard time finding a real good example of it’s uses. I’d like to know what kind of power it has especially relating to API’s and data interaction. I wonder if I could bring the power of YQL into my work-flow, centralizing my models around YQL would allow me to feel more comfortable writing query’s and working with data the way I am used to.
After working with Titanium for a couple months, I know how comfortable Javascript is when working user interaction and my data layer in the same language so I completely agree with you here. After reading your comment on Mailchimp’s – Ewww, you use PHP? I had laughed to myself and burst out: for real! I wish I had time to roll my own!
After reading that I figure I can respect that your recommendations; if you have any, will be good. I would love to play with what you are describing and am going to take a look at jsFiddle after reading your post.
Thank you for creating such a great resource!
Mike