Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Polymer
en production
On a osé !
Sylvain Weber
CEO / Co-fondateur, Kontest
@sylvainw
Etienne de Dieuleveult
Web developer,...
Contexte
Plate-forme de création
de jeux-concours multicanaux
➔ Créé en 2010
➔ 15 collaborateurs
➔ 33 Applications disponi...
Google IO
25 Juin 2014
Découverte de Topeka
Polymer-topeka.appspot.comPolymer-topeka.appspot.com
Material Design
Innovations
Pourquoi Polymer ?
➔ Material Design
➔ Web components
➔ Culture de l’innovation
➔ Être pionnier
➔ Faire évoluer l’existant
Structure d’un composant
➔ Custom Elements
➔ HTML Templates
➔ HTML Imports
➔ Shadow DOM
Architecture
Composabilité
<polymer-element name="kui-game-knowledge"
attributes="answers settings">
<template>
<link rel="stylesheet" href="kui-game...
Stack existante
Implémentation
➔ Retour AJAX HTML vers JSON
AVANT
APRÈS
Quiz classique
Quiz Polymer
Demo : quiz-polymer.xg1.li
Création de 6 jeux Polymer
16 octobre : Lancement officiel
Timeline
25 Juin 2014
Découverte
du Material
Design
Produit
Tests de faisabilité
avec Polymer
Jui Août Sept Oct Nov Déc
St...
Bug Facebook Mobile
➔ 1er loading : OK
➔ 2nd loading : Page blanche
➔ Fonctionne ailleurs
➔ Outils de debug
◆ JSconsole.co...
Euréka !
➔ Bug CORS : Certaines versions de webkit
➔ Pull request sur webcomponentsjs
Code review / Debug
function foo () {
var container = this.parentElement;
if (!container) {
setTimeout(foo, 250);
} else {...
Bug IE = Facebook bashing
➔ Peu testé + Disclaimer cassé
➔ Canaliser les utilisateurs IE (3%)
➔ Fallback de certains jeux
Retombées
Erreurs commises
1. Prototype ≠ Produit
2. Encadrement des Stagiaires
3. Code review tardive
4. Phase de transfert trop co...
Défi relevé !
➔ Décembre 2014
40%
Participations Polymer
Polymer 0.8 :
"En route vers la production"
➔ 3 Versions
◆ polymer-micro
◆ polymer-mini
◆ polymer
I'm not going to lie, if...
Avant de vous lancer
1. Prenez du recul
2. Définissez votre besoin
3. Suivez l’activité du projet
4. Estimez l’impact
5. P...
MERCI
PS : On recrute !
Javascript Developer
CDI, stage, contrat pro
Kontestapp.com/fr/jobs
Ecmascript 6
➔ AngularJS
➔ Nod...
Nächste SlideShare
Wird geladen in …5
×

Polymer en production : On a osé !

40.224 Aufrufe

Veröffentlicht am

Basé sur les web components, Polymer est un nouveau framework développé par Google permettant de créer rapidement des applications web à l'aide de composants préexistants. Chez Kontest, nous avons à notre connaissance été parmi les 1ers à avoir osé poussé cette technologie en production à destination du grand public : http://korben.info/initiation-polymer-le-nouveau-framework-web-de-google.html

Nous démarrerons par les fondamentaux avec quelques exemples, puis nous rentrerons dans le vif du sujet avec un retour d'expérience complet sur l'implémentation de la solution. Nous partagerons ensuite nos plus belles anecdotes sur sa mise en production !

Conférenciers :

# Sylvain Weber,
CEO et Co-fondateur,Kontest

Former HTML5 Advocate at Google, Web developer at Dailymotion. Today, I'm the co-founder and CEO at Kontest, a multichannel platform for creating and running social marketing campaigns on Facebook, the Web and mobile.

# Etienne de Dieuleveult,
Full-stack web developer, Kontest

Développeur "Full Stack" Javascript chez Kontest depuis presque un an. J'aime le web, les nouvelles technologies et les poneys.

Veröffentlicht in: Ingenieurwesen
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

Polymer en production : On a osé !

  1. 1. Polymer en production On a osé ! Sylvain Weber CEO / Co-fondateur, Kontest @sylvainw Etienne de Dieuleveult Web developer, Kontest @TinOo512
  2. 2. Contexte Plate-forme de création de jeux-concours multicanaux ➔ Créé en 2010 ➔ 15 collaborateurs ➔ 33 Applications disponibles ➔ Clients : Agences / Grands comptes Site web : Kontestapp.com
  3. 3. Google IO 25 Juin 2014
  4. 4. Découverte de Topeka Polymer-topeka.appspot.comPolymer-topeka.appspot.com
  5. 5. Material Design
  6. 6. Innovations
  7. 7. Pourquoi Polymer ? ➔ Material Design ➔ Web components ➔ Culture de l’innovation ➔ Être pionnier ➔ Faire évoluer l’existant
  8. 8. Structure d’un composant ➔ Custom Elements ➔ HTML Templates ➔ HTML Imports ➔ Shadow DOM
  9. 9. Architecture
  10. 10. Composabilité
  11. 11. <polymer-element name="kui-game-knowledge" attributes="answers settings"> <template> <link rel="stylesheet" href="kui-game-knowledge.css" shim-shadowdom> <kui-game-quiz class="game" answers="{{answers}}" settings="{{settings}}"> </kui-game-quiz> </template> <script type="text/javascript" src="kui-game-knowledge.js" ></script> </polymer-element> Héritage ➔ Nom (spinal-case) ➔ Attributs publiés ➔ Template obligatoire (Shadow Dom) ➔ Custom element ➔ Data binding ➔ Script : définir l'élément, ses fonctions et ses attributs
  12. 12. Stack existante
  13. 13. Implémentation ➔ Retour AJAX HTML vers JSON AVANT APRÈS
  14. 14. Quiz classique
  15. 15. Quiz Polymer Demo : quiz-polymer.xg1.li
  16. 16. Création de 6 jeux Polymer
  17. 17. 16 octobre : Lancement officiel
  18. 18. Timeline 25 Juin 2014 Découverte du Material Design Produit Tests de faisabilité avec Polymer Jui Août Sept Oct Nov Déc Stagiaires Création d’un prototype de Quiz Stagiaires Création des 6 jeux Tech Appropriation Debug Produit Tests en Preprod Debug 16 Oct 2014 Lancement 1er Déc 2014 Explosion de l’audience BUG FB Mobile BUG Internet Explorer
  19. 19. Bug Facebook Mobile ➔ 1er loading : OK ➔ 2nd loading : Page blanche ➔ Fonctionne ailleurs ➔ Outils de debug ◆ JSconsole.com ◆ DevTools chrome if (Build.VERSION.SDK_INT >= Build.VERSION_CODES. KITKAT) { WebView.setWebContentsDebuggingEnabled(true); }
  20. 20. Euréka ! ➔ Bug CORS : Certaines versions de webkit ➔ Pull request sur webcomponentsjs
  21. 21. Code review / Debug function foo () { var container = this.parentElement; if (!container) { setTimeout(foo, 250); } else { … } } ➔ #stagiaires
  22. 22. Bug IE = Facebook bashing ➔ Peu testé + Disclaimer cassé ➔ Canaliser les utilisateurs IE (3%) ➔ Fallback de certains jeux
  23. 23. Retombées
  24. 24. Erreurs commises 1. Prototype ≠ Produit 2. Encadrement des Stagiaires 3. Code review tardive 4. Phase de transfert trop courte 5. Minimiser l’impact d’IE 6. Ne pas briefer l’équipe Sales
  25. 25. Défi relevé ! ➔ Décembre 2014 40% Participations Polymer
  26. 26. Polymer 0.8 : "En route vers la production" ➔ 3 Versions ◆ polymer-micro ◆ polymer-mini ◆ polymer I'm not going to lie, if you're building stuff with Polymer, the transition to 0.8 is going to hurt, bad. Michael Bleigh
  27. 27. Avant de vous lancer 1. Prenez du recul 2. Définissez votre besoin 3. Suivez l’activité du projet 4. Estimez l’impact 5. Préparez des alternatives 6. Testez tout !
  28. 28. MERCI PS : On recrute ! Javascript Developer CDI, stage, contrat pro Kontestapp.com/fr/jobs Ecmascript 6 ➔ AngularJS ➔ NodeJS

×