• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

C. Programming Concepts

Appendix C. Programming Concepts

Many graphic designers want to use the scripting capability of SVG as described in Chapter 11. If they’re not familiar with programming, they tend to practice what might be called “voodoo scripting.” In the popular-culture stereotype,[27] voodoo works by reciting a mysterious spell and hoping that your enemies die horribly. Voodoo scripting works by copying someone else’s mysterious script into your SVG document and hoping that your document continues to live. We’re under no illusion (nor even a spell) that reading this brief, purposely oversimplified summary will turn you into a master programmer. Our goal is simply to introduce enough of the elementary programming concepts to remove some of the mystery from the scripts that you copy and modify. The particular programming language that we will discuss in this appendix is called ECMA Script;[28] the concepts used in ECMA Script are common to many other programming languages.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint