08/02/06 00:32:36
XML Matters: SVG and the scriptless script
Declarative animation for junior rocket scientists
Level: Introductory
Dethe Elza (delza@livingcode.org), Senior Technical Architect, Blast Radius
David Mertz, Ph.D (mertz@gnosis.cx), Author, Gnosis Software, Inc.
25 Oct 2005
URLリンク(www.ibm.com)
Scalable Vector Graphics (SVG) browsers are becoming mainstream now, and they can be used in many powerful ways.
Continuing on from David's earlier SVG column,
Dethe looks at some of the ways that declarative markup can replace script for animation and other common scripting tasks.
In the process, he briefly looks at replacing script with declarative markup in other XML dialects.
Moving common scripting tasks into declarative markup can eliminate the need for tedious boilerplate code,
reduce errors, and make your script's intent easier to follow, freeing you to focus on your code's unique aspects.