Javascript

Facebook Twitter
graphics

node.js

node.js An example: Webserver This simple web server written in Node responds with "Hello World" for every request. To run the server, put the code into a file example.js and execute it with the node program from the command line: % node example.js Server running at http://127.0.0.1:1337/ Here is an example of a simple TCP server which listens on port 1337 and echoes whatever you send it:

Backbone.js

Backbone.js Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. The project is hosted on GitHub, and the annotated source code is available, as well as an online test suite, an example application, a list of tutorials and a long list of real-world projects that use Backbone. Backbone is available for use under the MIT software license. You can report bugs and discuss features on the GitHub issues page, on Freenode IRC in the #documentcloud channel, post questions to the Google Group, add pages to the wiki or send tweets to @documentcloud. Backbone is an open-source component of DocumentCloud.
Main Page

Main Page

Add elements to the set of matched elements. Add the previous set of elements on the stack to the current set, optionally filtered by a selector. Adds the specified class(es) to each of the set of matched elements. Insert content, specified by the parameter, after each element in the set of matched elements. Register a handler to be called when Ajax requests complete. This is an AjaxEvent.
How to not suck at jQuery : programming
Engineering: jQuery the Right Way Engineering: jQuery the Right Way jQuery has changed the way we write Javascript by abstracting out much of the painful cross-browser implementation details that used to plague developers, but to use it correctly still requires a little knowledge about what’s going on under the hood. In this post we’ll take a good look at jQuery’s selectors and how to use them efficiently. I’ll also talk briefly about DOM manipulation and event handlers. Part 1: Search At its core jQuery is exactly what its name implies, a query engine designed for search. And just like you’re careful to construct efficient SQL queries, you need to take the same care with your jQuery selectors.
A crash course in how DOM events work - Jupiter JavaScript Consulting A crash course in how DOM events work - Jupiter JavaScript Consulting 01 October 2010 by moschel DOM events are something that web developers often take for granted, especially with libraries like jQuery. The complexity and low-level mechanics of events are abstracted away. As far we’re concerned, snippets like the following: $('button').click(function(){ console.log('Hello!')
Douglas Crockford on JavaScript and HTML5 | Webmonkey?| Wired.com SAN FRANCISCO, California — When Doug Crockford first encountered JavaScript, his first impression was that it was “one of the most incompetent pieces of software engineering [he'd] ever seen.” His opinion, which is highly regarded since he’s widely considered to be the grand poobah of JavaScript, is one that was shared by many in the web’s early days. However, as the language has grown and the era of the web app is in full swing, it’s reaching a new level of success far beyond what he (or anyone) could have predicted. The video above, shot here yesterday at the Web 2.0 Expo by the conference organizers at O’Reilly Media, compresses several of Crockford’s thoughts on JavaScript and HTML5 into five minutes. He has hope for HTML5, but he has issues with the way it’s being developed. Douglas Crockford on JavaScript and HTML5 | Webmonkey?| Wired.com
Eloquent JavaScript is a book providing an introduction to the JavaScript programming language and programming in general. A concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming.

Eloquent JavaScript -- interactive tutorial

Eloquent JavaScript -- interactive tutorial