Scalable Vector Graphics (SVG) is an alternative to the Flash format recently approved by the World-Wide Web Consortium. The principles are much the same, with the key difference being that the data is stored inside XML and manipulated using JavaScript. At the time of writing, PHP has no extension-level support for SVG, so we shall not be covering it here. However, SVG is simply an XML-based language, which means you are able to hand-generate objects if you take the time to learn the exact syntax.


Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Images >>

Previous chapter: Flash

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.