Skip to main content

jQuery for JavaScript programmers

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Groups (1)

  • jquery

    jquery

    10 members,91 bookmarks

    no description

Bookmark History

Saved by 44 people (3 private), first by anonymouse user on 2007-08-14


Public Sticky notes

jQuery for JavaScript programmers

Highlighted by centauro

>

When jQuery came out back in January 2006, my first impression was that it was a cute hack. Basing everything around CSS selectors was a neat idea (see getElementsBySelector) but the chaining stuff looked like a bit of a gimmick and the library as a whole didn’t look

Highlighted by centauro

Basing everything around CSS selectors was a neat idea (see getElementsBySelector) but the chaining stuff looked like a bit of a gimmick and the library as a whole didn’t look like it would cover all of the bases.

Highlighted by kenyth

neatly encapsulates an extraordinary range of common functionality, and provides a clever plugin API for any functionality not included by default.

Highlighted by leinte

jQuery is an exceptionally clever piece of engineering. It neatly encapsulates an extraordinary range of common functionality, and provides a clever plugin API for any functionality not included by default

Highlighted by kenyth

It takes a core abstraction—that of a selection of DOM elements—and extracts as much mileage out of it as possible.

Highlighted by kenyth

Most introductions to jQuery focus on designers and inexperienced developers. I’m going to try to explain why jQuery should be of interest to experienced programmers as well.

Highlighted by kenyth

jQuery introduces just one symbol to the global namespace: the jQuery function/object. Everything else is either a directy property of jQuery or a method of the object returned by calls to the jQuery function.

Highlighted by kenyth

jQuery’s selection syntax (really a domain specific language) is an interesting hybrid of CSS 1, 2, bits of CSS 3, some XPath and a few custom extensions as well.

Highlighted by kenyth

The object returned by a jQuery selector call is an interesting beast. It represents a collection of DOM elements, and behaves a bit like an array—it has a length property, items can be accessed by index and (most importantly) Firebug treats it as an array when displaying it in the interactive console.

Highlighted by kenyth

with

Highlighted by ratbeard