Polymer: Creating a simple list component

Extracted from Google Polymer website:

Polymer is a pioneering library that makes it faster and easier than ever before to build beautiful applications on the web. Polymer is built on top of a set of powerful new web platform primitives called Web Components. Web Components bring unprecedented composability, interoperability, and consumability to the web platform. The result is a monumental increase in developer productivity.

The main concept in Polymer is to give an opportunity to create web applications on top of web components. So you develop several web components and use them to develop your web app. You can use the same web component in several pages or projects.

Polymer is still in development, but it is actually very stable and there is lots of small projects already using it. This small tutorial uses version 0.5.1 of polymer.

In this article I will show how to construct a very simple component, that will receive an object (or JSON string) with person information and render a list with those information. (more…)