CONCLUSION
WEâVE LEARNED A LOT in a short amount of time, my friends. Weâve learned about the virtues of SVG, when it is the appropriate choice, and how we can get it onto our sites. Weâve looked at tools that help you work with it, from elaborate software like Illustrator down to command-line tools like Grunt. Weâve learned about icon systems, fallbacks, and sizing concerns. Weâve considered performance, accessibility, and responsiveness. Weâve learned about some of the design possibilities of SVG, like animation, filters, and masks.
Yet there is so much we didnât cover. Attributes left out, values unspoken, entire tags unsung. In part, thatâs because of this bookâs brevity: not only would a 500-page slog through every little detail of SVG make for a dry read, but it would also be a poor substitute for âthe internet.â Quite a bit has been written about SVG that you can search for and find, including plenty of articles by yours truly. I even maintain an up-to-date compendium of SVG information that points to the best resources I know of (http://bkaprt.com/psvg/10-01/).
Another reason to have covered only what we did here is that these are the features I use on a daily basis as a front-end developer. A different developer would likely have covered slightly different things.
For instance, SVG is so perfect for charting. I can imagine a whole chapter (or book!) on building charts with SVG. If I needed to build a charting system, I would reach for SVG in a heartbeat. But I havenât done that myself yet, so I merely touched on it here. And thatâs only one thing I could have explored in much greater depth.
I hope that reading this book has shown you a way into SVG and what it looks like to use it. One of my favorite sayings is âPave the cow paths.â Like, if youâre building a sidewalk, build it where people are already walking. In the web community, this idea has a lot of currency; it means we should standardize things around what developers are already doing.
It doesnât quite fit for SVG, though: the sidewalks are already there. The foundation is sound, but years of neglect have left a few cracks and a bit of grass growing up over the edges.
By using SVG now, weâre doing ourselves and our users a favor. But weâre also doing the web a favor by forging a new path that browser makers and standards organizations can see and react to, which in turn will help make SVG even stronger.
So pave the cow pathsâbut also patch the cracks, pull the weeds, and clear some ground for new, hitherto unimagined trails.