Chapter 7. Using Client Methods
In this chapter, you will learn the following topics:
- Creating dynamic graphs with SVG and Ajax
- Using the HTML FileReader to upload images
- Creating a coloring book with the Canvas element
Introduction
Web programming, on the client side, has come a long way since the inception of HTML. Up until recently, it was necessary to write/use third party polyfill libraries to do simple things, such as build graphs, read files, and draw on the screen. But that cute lil' bucktoothed kid we all knew and disliked has grown up! With powerful, easy to use scripting and graphics APIs and objects now supported in nearly every browser, web programming is finally ready to be used on its own. The recipes in this chapter will go through some of the most popular Web API objects, and show you how to implement them inside Meteor.
Creating dynamic graphs with SVG and Ajax
While there are a lot of graphing libraries out there (all of which you can use in Meteor, by the way...