When developing and pushing the limits of webOS applications, it can be helpful to know some of the boundaries you might run into. Here are a few that have come up in the past for other developers:
The HTML5 Canvas element is often used for games because it’s less CPU intensive than moving divs around. It also gives you very fine control over the output. However, games aren’t the only use for Canvas. It’s also great for generating charts on the fly instead of rendering them into an image on your server. It’s also a standard available across almost every desktop and mobile browser. This makes it the ideal choice for use in a webOS app where you want to visualize remote data. In this blog you’ll see how to generate bar charts from JSON data using the Canvas element.