https://github.com/tdd/pragmatic-javascript-jquery
jQuery variant of the codebase for the “Pragmatic Guide to JavaScript” book
https://github.com/tdd/pragmatic-javascript-jquery
Last synced: 7 months ago
JSON representation
jQuery variant of the codebase for the “Pragmatic Guide to JavaScript” book
- Host: GitHub
- URL: https://github.com/tdd/pragmatic-javascript-jquery
- Owner: tdd
- Created: 2010-07-22T20:40:52.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-07-22T21:08:30.000Z (over 15 years ago)
- Last Synced: 2025-05-07T12:11:30.455Z (7 months ago)
- Language: JavaScript
- Homepage: http://pragprog.com/titles/pg_js/pragmatic-guide-to-javascript
- Size: 1.15 MB
- Stars: 11
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pragmatic Guide to JavaScript (codebase, jQuery variant)
========================================================
This is the jQuery variant of the codebase used in the book
“[Pragmatic Guide to JavaScript](http://pragprog.com/titles/pg_js/pragmatic-guide-to-javascript),”
authored by Christophe Porteneuve and published at the Pragmatic Bookshelf
Using this codebase
-------------------
You can get the original codebase either from the book’s homepage,
as an archive file, or using [its Github repository](http://github.com/tdd/pragmatic-javascript).
This codebase is the official jQuery variant. I (Christophe, the book’s author)
created it myself immediately after creating the original repository, but
it's not adapted yet, and even when it *is*, it likely won't be entirely
idiomatic, jQuery-wise, so I'll get a few top-notch contributors to smooth
it in.
All necessary files are present and most files can be run locally in your web browser.
A few files use a tiny PHP backend to simulate processing times or demonstrate server-related
stuff like Ajax, JSON-P and the like, so you may need to run these through an HTTP server on
your machine.
The entire original (Prototype-based) codebase is also accessible through a couple
domain names; the reason for multiple domain names is to help demonstrate cross-domain
“Ajax” requests. The domains are:
* [http://demo.pocketjavascript.com](http://demo.pocketjavascript.com)
* [http://xdr.pocketjavascript.com](http://xdr.pocketjavascript.com)
This codebase and JavaScript frameworks
---------------------------------------
The codebase contains a number of pure-JS, no-framework items for the
bread-and-butter tasks. Then it relies heavily on a well-known library.
Except for the lightbox task, where I went with the jQuery-based Fancybox
plugin, the original codebase relies on Prototype everywhere else.
Many people will prefer jQuery, or MooTools, or YUI, or Dojo, or
what-have-you. In order to accomodate this need, I put the codebase on
Github to facilitate people forking it towards a version relying on
another framework than Prototype. You’re right now looking at the jQuery
variant of it.
So check out [the README.md of the original codebase](http://github.com/tdd/pragmatic-javascript/blob/master/README.md)
to find your flavor, and if it doesn't exist yet, be bold and fork away!
Best,
Christophe.