Hour 20. Organizing and Optimizing Your Code

As you've surely seen by now, whether reviewing HTML code or SVG code, there are a number of different ways to handle the development process and the arrangement of code. The direction in this book has been arrived at through the author's development of several existing commercial applications of SVG. It is important to keep in mind that there are numerous other ways to arrange your code beyond the direction of this book.

For instance, in Hours 13 and 15, you were taught to keep all your animation and interaction elements separate from your content and at the end of the document. This is but one method of handling code arrangement; there are other, and possibly somewhat better, methods available to ...

Get Sams Teach Yourself SVG in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.