Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

Beyond jQuery: JavaScript tools for the HTML5 generation

Today's JavaScript libraries are tuned for mobile devices, Canvas-based animation, HTML5 video, local databases, server interaction, and more

  • Print
  • Feedback

Page 5 of 5

Blackbird is a stand-alone library that pops up a separate console window that looks quite elegant. You can set four levels of bugs and the user can turn the messages on or off. A profiler is ready to time the routines on the local browser.

Facing the future
The new features under the umbrella of HTML5 are both a blessing and a curse for any JavaScript programmer. They offer so many tantalizing new methods, but they're not all supported by all browsers.

Modernizr is mainly a collection of tests that checks to see what features are supported in the current browser. It's a simpler way to take advantage of the new while supporting the old. Most of the tests simply create a DOM object and see whether it accepts the commands.

This collection of JavaScript libraries only scratches the surface because a wide collection of translators and emulators makes it possible to run practically any language in your browser. Pyjamas is a rich development platform built around a Python-to-JavaScript compiler. The Google Web Toolkit converts Java into JavaScript, and RubyJS converts Ruby. The list of languages that can be emulated is long, and practically nothing is out of reach. Rather than continue to list them, I'll just link to a Gameboy emulator to prove the point.

This article, "Beyond jQuery: JavaScript tools for the HTML5 generation," was originally published at InfoWorld.com. Follow the latest news in software development, languages and standards, JavaScript, and HTML at InfoWorld.com. For the latest business technology news, follow InfoWorld.com on Twitter.


  • Print
  • Feedback

Resources