Great New JavaScript Books

I have 4 exciting new books about JavaScript, that I’m reading and reviewing.

  1. JavaScript: The Missing Manual, by David McFarland, published by O’Reilly Media, ISBN: 978-0-596-51589-8, 543 pages, US $39.99 ~ A great reference, and tutorial on JavaScript
  2. JavaScript: The Good Parts, by Douglas Crockford, published by O’Reilly Media, ISBN: 978-0-596-51774-8, 153 pages, US $29.99 ~ A solid JavaScript reference and delightfully opinionated how-to manual for avoiding the bad parts of JavaScript and maximizing use of the good parts.
  3. Dojo: The Definitive Guide, by Matthew A. Russell, published by O’Reilly Media, ISBN: 978-0-596-51648-2, 450 pages, US $39.99 ~ The definitive guide for powering up AJAX development techniques with the popular and powerful Dojo JavaScript library.
  4. Mastering Dojo, subtitle – JavaScript and Ajax Tools for Great Web Experiences, by Rawld Gill, Craig Riecke, and Alex Russell, published by the Pragmatic Programmers, Pragmatic Bookshelf, ISBN:978-1-934356-11-1, 555 pages, US $38.95 ~ Dojo is a set of client-side  JavaScript tools that help you build better web applications.

Code Colorizing MySQL

An example of code colorizing MySQL table creation.
This example shows creation of a simple contact list, or client list.

1
2
3
4
5
6
7
8
9
CREATE TABLE IF NOT EXISTS `clients` (
 `id` mediumint(8) unsigned NOT NULL auto_increment,
 `email_address` varchar(72) character set ascii NOT NULL,
 `firstname` varchar(16) character set utf8 NOT NULL,
 `lastname` varchar(20) character set utf8 NOT NULL,
 `date_added` datetime NOT NULL,
 UNIQUE KEY `id` (`id`),
 UNIQUE KEY `email_address` (`email_address`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

What’s up with IS?

I guess IN and IS are considered key words in MySQL and the Geshi Generic Syntax Highlighter colorizing library. Is that a bug in the parsing routine, or what?