This has been a big year for JavaScript. New, fast engines have tested their legs. Libraries have matured. With the ECMAScript 5 draft proposal, the language is growing. However, the language remains largely in exile, to only be used in Web browsers. This year has marked a resurgence of efforts to make JavaScript useful outside the browser. This was patently obvious at this year’s first European JavaScript conference, jsconf.eu.
There have been a variety of JavaScript platforms for programming outside the browser since 1996, starting with Netscape’s server-side offerings. A system called Helma (best known in Austria) has been around almost as long. In 2007, AppJet provided a service (now discontinued) for creating and hosting server-side JavaScript applications. Aptana offers an IDE for front-to-back JavaScript Web applications called Jaxer. Through each generation of Web development, JavaScript did not measure up against Perl, PHP, Python, Ruby, Java, or other alternatives for general-purpose programming.
Several things have changed. The creation, proliferation, and discovery of JavaScript-driven HTTP requests gave rise to highly interactive websites and applications. This drove the need for faster JavaScript engines, which have since become available to every serious denizen of the Web and most of their unsuspecting extended family. Furthermore, these highly-interactive applications usually require significant programming both on the client and the server, much of which now overlaps. Particularly, the technique of Progressive Enhancement often requires a feature to be implemented both on the server—for initial rendering and the baseline user-experience—and on the client, for an enhanced experience.
JavaScript has a couple more things going for it. JavaScript is the only programming language that has ever shipped on every consumer computer, and it has done so for the last 10 years. In these post-QBasic times, HTML, CSS, and JavaScript have become for every ungainly, bespectacled troglodyte the gateway from social exile to deeper social exile. More noteworthy is that a growing number of graphic designers who would never confess that they knew how to program will readily hack with jQuery. There are a lot of JavaScript programmers. Also, despite its deplorable shortcomings, JavaScript is cool and people like it.
Loading comments...