2008年(1655)
分类: LINUX
2008-05-28 17:56:51
JavaScript is carrying more and more programming load lately as Ajax has become popular. Scripting Ajax from scratch isn't much fun, but fortunately there are libraries to help. Prototype and Scriptaculous will let you get much more work done in much less time, automating tasks from processing XMLHTTP requests to creating animations that draw attention to your interfaces.
This Short Cut demonstrates how to use Prototype for a wide range of tasks, including event handling, DOM processing, string and form process, and Ajax communications. It explores Scriptaculous' visual effects library, from pulsate to squish to fold and beyond. Need interface components? You'll find form autocompletion as well as drag and drop support.
In addition to sample code and explanation, the Short Cut includes member references for both Prototype and Scriptaculous.
Prototype and Scriptaculous: Taking the Pain out of JavaScript 下载地址