2011年11月9日 星期三

JavaScript tools for the HTML5 generation

Over drinks, one person proclaimed, "No one programs in JavaScript,Examine our Wholesale Wooden Style For Floor here they just string together jQuery calls." This statement is certainly not true, but like a hand grenade, it gets close enough to make its point.

jQuery sure seems to be everywhere, and with good reason: Its creators took all of the neat ideas from libraries like Prototype, Dojo, and Yahoo's YUI, then turned them into something that was just a tad easier to use. When jQuery nurtured fertile plug-in culture, the library became irreplaceable. One seemingly random estimate claimed that at least 70 percent of JavaScript is jQuery. While there is probably no scientific way to make such a blanket statement, the fact that someone would try is good enough.

In the midst of all of this success, it's easy to forget that plenty of other JavaScript libraries are worth checking out. Some do much the same thing as jQuery, simplifying the basic chores of manipulating the DOM on all of the different browsers, while offering their own advantages. They may not be better, but they're different, and sometimes that's worth celebrating.you how to Wholesale Tile decoration For Kitchen and enjoy a better health

The Yahoo User Interface Library, for example, was one of the first big, cross-browser toolsets released as open source, and it remains one of the biggest and most fertile. Yahoo started version 3 in 2009, and both versions 2 and 3 continue to get better. The collection of charts, widgets, and other tools has more variety than almost any other JavaScript library. Yahoo has also devoted more attention to cosmetic issues than some of the others. Many of the features that drive Flickr and Yahoo Mail are here and waiting for your glue code.

Like jQuery and YUI, MooTools offers nice, browser-independent shorthand for manipulating arrays, divs, spans, and whatnot. My favorite part continues to be the custom library construction tool that lets you select the functions you want.All people Wholesale Marble Baroque Tile For Countertops ship Check some boxes and get an entirely optimized version of MooTools with just the functions you need and none of the bloat you don't. That's lightweight.

A number of other libraries offer newer features -- for animation or data visualization or server-side processing or other niches -- or different ways of thinking about life in the browser. To get a close look at some of these newer options, I unpacked a number of libraries, wrote a few lines of code, instantiated a few objects, and pushed some code through a few browsers.

One of the stated goals of HTML5, at least for some groups, is to replace the Flash plug-in, the gold standard for making sprites and letters dance across the screen. This change is slowly coming as the game industry and the presentation industry start to duplicate some of the sophisticated tools available in the Flash universe.

Mashi is an impressive example of how the sprites can be set in motion. It offers more than several dozen standard easing functions for moving sprites along a timeline.

The list of game engines for the browser is long and growing longer now that the JavaScript canvas object is better established and relatively consistent. The results don't look as nice as Flash to my eyes, but I suspect that the gap will close dramatically.

If you like board games, you'll like the three-dimensional, orthographic views of game boards from pp3disco.WebMD provides an overview of Wholesale Glaze Tiles For Wall disease It takes just a few lines of code to set them up. CasualJS was designed to be just like ActionScript for those with plenty of Flash experience.Arcy Art Original Wholesale Crystal Double Loading Tiles For Countertops From China Manufacturers brings you Oil Paintings The authors at Crafty obviously spent a good amount of time on their collision detection. Fruit Ninja fans can play Crafty's Fruit Assassin in their browsers.

沒有留言:

張貼留言