Data binding in Polymer 1.0

https://www.polymer-project.org/1.0/api/#dom-bind

<body>
  <template is="dom-bind">
    <h1>{{title}}</h1>
    <paper-slider value="{{title}}" style="width: 100%"></paper-slider>
  </template>
</body>

This took way too long to figure out. I only found out by looking at the Polymer unit tests.

 
12
Kudos
 
12
Kudos

Now read this

Load balancing WebSockets with ELB and nginx on EC2

Following this guide will allow you to create an Elastic Load Balancer for a WebSocket application with support for SSL and the ability to read client IP addresses. Setup an Elastic Load Balancer Enable TCP forwarding on port 80. If you... Continue →