Chapter 11. Effective JavaScript

It matters not what someone is born, but what they grow to be.

J. K. Rowling

Developed for the web in the 1990s, JavaScript is widely used today outside the realm of web applications. For example, you find JavaScript used to write application extensions for Adobe Photoshop, Google Chrome, and Mozilla Firefox. It’s also used to create native mobile applications; for example, PhoneGap or Appcelerator Titanium. JavaScript is also used for some flavors of server-side applications, most noticeably Node.js.

JavaScript’s fate is curious. Born to be the language of the first web fan-boys, it has been through a series of highs and lows since the early 1990s. At some point, its use was boosted by the advent of Dynamic HTML ...

Get Programming Microsoft ASP.NET MVC now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.