Polymer, Web Components e RESTful API in NodeJS: una nuova ricetta per librerie Front End
DATE: Thursday the 27th of November.
This workshop aims to show how web API can be encapsulated and distributed through Web Components in order to dramatically lower the implementation barriers and be able to define which customisations are allowed with great precision.
LANGUAGE
Italian
LEVEL
Medium
DURATION
The workshop is full-day (8 hours) from 9:00 to 18:00, with one hour lunch break.
LOCATION
Room Bl 27.1.1 – Politecnico di Milano – Bovisa | Building BL 27 - Via R. Lambruschini, 4 – Milano
CHECK IN: 8:30 – 9:00
PRICES:
Super Early Bird: 105 €, from the 10th September to the 30th September;
Early Bird: 125 €, from the 1st October to the 5th November;
Regular Ticket: 145 €, from the 6th November to the end of the sales.
SANDRO PAGANOTTI
Sandro Paganotti (1983) is co-founder and front end engineer at Comparto Web. He loves developing web interfaces that showcase the full power of HTML5 and CSS3. He’s author of “Designing next generation web Projects with CSS3″ for Packt Publishing, technical writer for html.it, teacher at Accademia di belle Santa Giulia, Google Developer Expert in HTML5, speaker at various technical events and co-teacher at the workshop “CodeJam” for Avanscoperta.
GABRIELE LANA
I proudly call myself “Software Craftsman”. I began to love this profession as a child at the end of the ’80s and this feelings never left me since then. Now I have more than 15 years of professional experience in many fields such as: industrial automation (soft realtime), medical, banks, insurance, monitoring, servers for MMO realtime games, distributed systems, mobile games, online/mobile payment platform and others. After all those years I came to the conclusion that I still have many things to learn, but it’s ok, because I love programming like 25 years ago.
ABSTRACT
Today there are basically three way to distribute a web API to third party developers:
– through an URL endpoint
– using a JavaScript file to be included in the target document
– using an iframe tag
By using Web Components we have a fourth choice, we can create a custom tag or a custom attribute of an existing tag and use it to encapsulate our behaviour, for example a we can think to show the last tweet of a user by creating a tag like:
<last-tweet username=”@sandropaganotti”></last-tweet>
During the workshop we’ll discover how to build Web Components and use them in our applications.
TABLE OF CONTENTS
- Anatomy of a Web Component
- A Web Component Life Cycle
- Building <note-this> a Web Component for taking notes
- Developing Web Components using Polymer
- Developing and testing Web API: the right way
- Testing and distributing Web Components
TRAINING OBJECTIVES
This workshop has the following training objectives:
- illustrate the nature of Web Components, their inner structure and they features
- teach how to write a proper Web Component and how to design its corresponding set of REST API
- discuss pro and cons of Web Components and their current browsers’ support.
WHO THE WORKSHOP IS DEDICATED TO?
The workshop is dedicated to JavaScript developer who wants to discover more about Web Components and their implementation. It is also for developer looking for a better way to structure and maintain a Node.js application.
PREREQUISITES NEEDED FROM ATTENDEES
To enjoy this workshop you should already have some experience with JavaScript programming, either client or server side, and know the basics about web development.
HARDWARE AND SOFTWARE REQUIREMENTS
A PC with Node.js, Mongo DB and Chrome installed.