SlideShare une entreprise Scribd logo
1  sur  20
Introduction à AureliaJS avec Type Script
Par Philippe Beroucry – Développeur
1/18
SOMMAIRE
1. AureliaJS(AJS) : Késako ?
2. Utilisation TypeScript avec AJS
3. Conclusion
2/18
AVANT DE COMMENCER : UN PETIT RAPPEL
- 2015 marque l’officialisation de l’ECMAScript 2015(ES6) : Nouvelle spécifications JavaScript (la 7
est déjà en cours de préparation)
- Apparition des compilateur JavaScript (transcompiler): Babel, TypeScript, Coffee Script…
- Développement des best-practices autour des Web Component : Polyfills, Polymer, X-Tag,
Bosonic…
3/18
1 – AureliaJS, késako ?
4/18
1 - HISTORIQUE
5/18
Année de création => 2015 (c’est très jeune!)
Rob Einseber(@EisenbergEffect)
CTO Durandal
Formateur des équipes angular 2
avec Google
Créateur et Lead Développeur
AureliaJS
@AureliaEffect
1 – PRINCIPALES FONCTIONNALITÉS DU FRAMEWORK
6/18
(source: aurelia.io)
• Construire des applications clients en full JavaScript (SPA)
• Open Source
• Principe de Clean code
• Se baser sur des conventions simples
7/18
1 – BUT DU FRAMEWORK
2 – Utilisation de TypeScript avec AureliaJS
8/18
2 – CONFIGURATION DE DÉPART
9/18
10/18
2 – EXEMPLE DE SYNTAXE
11/18
2 – BASE DE TRAVAIL
https://github.com/paulvanbladel/aurelia-gulp-typescript
2 – INDEX.HTML – POINT DE DÉPART
12/18
2 – CRÉATION D’UN COMPOSANT
13/18
VIEW MODEL – app.ts/jsVIEW – app.html
3 - Conclusion
14/18
4 – POURQUOI S’Y INTÉRESSER ?
15/18
4 – ETAT DE AJS AU 29/10/2015
16/18
• PUBLIC REVIEW
• 1ère beta disponible d’ici trois semaines avec une documentation plus complète
• 2ème beta déjà prévue car changement des spécifications des Web Components
• Support de ie9/10
• Amélioration de la syntaxe
• Stabilisation de l’api
• Futur concurrent de Angular2 ? Oui!
AURELIA VS ANGULAR2 - VM
(source : http://eisenbergeffect.bluespire.com/aurelia-and-angular-2-code-side-by-side/) 17/18
(source : http://eisenbergeffect.bluespire.com/aurelia-and-angular-2-code-side-by-side/)
18/18
AURELIA VS ANGULAR2 - VIEW
4 – QUELQUES LIENS UTILES
• Aureliajs : http://aurelia.io/
• Gitter Aurelia => https://gitter.im/Aurelia/Discuss
• Blog Aurelia (durandal) => http://blog.durandal.io/
• Github AureliaJS => https://github.com/aurelia
• TypeScript => http://www.typescriptlang.org/
• Github TypeScript => https://github.com/Microsoft/TypeScript
• ECMAScript 2015 specification => http://tinyurl.com/qyjcpak
• WebComponent => http://webcomponents.org/
• Polyfill => http://webcomponents.org/polyfills/
• NDC conference 2015 – Aurelia :Next Generation Web App => https://vimeo.com/131641012
Merci . Des questions?

Contenu connexe

Similaire à Intro aurelia js-typescript

Cours n°1.1-Introduction.pdf angularrrrr
Cours n°1.1-Introduction.pdf angularrrrrCours n°1.1-Introduction.pdf angularrrrr
Cours n°1.1-Introduction.pdf angularrrrrinesrdissi60
 
Etude rapide sur les frameworks Front-end (AngularJS vs *JS)
Etude rapide sur les frameworks Front-end (AngularJS vs *JS)Etude rapide sur les frameworks Front-end (AngularJS vs *JS)
Etude rapide sur les frameworks Front-end (AngularJS vs *JS)Bilel ZEGHAD
 
Presentation of framework Angular
Presentation of framework AngularPresentation of framework Angular
Presentation of framework AngularLhouceine OUHAMZA
 
Angular développer des applications .pdf
Angular développer des applications .pdfAngular développer des applications .pdf
Angular développer des applications .pdfimenhamada17
 
MWCP 2018 - Un framework pour les gouverner tous
MWCP 2018 -  Un framework pour les gouverner tousMWCP 2018 -  Un framework pour les gouverner tous
MWCP 2018 - Un framework pour les gouverner tousGaetan Bouveret
 
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan BouveretModern Workplace Conference Paris
 
Formation JavaScript full-stack (JS, jQuery, Node.js...)
Formation JavaScript full-stack (JS, jQuery, Node.js...)Formation JavaScript full-stack (JS, jQuery, Node.js...)
Formation JavaScript full-stack (JS, jQuery, Node.js...)guicara
 
Retour d'expérience : Mise en place de l'ENT v4 à l'UPMC
Retour d'expérience : Mise en place de l'ENT v4 à l'UPMCRetour d'expérience : Mise en place de l'ENT v4 à l'UPMC
Retour d'expérience : Mise en place de l'ENT v4 à l'UPMCLudovic A
 
Petit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIs
Petit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIsPetit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIs
Petit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIsOCTO Technology
 
Petit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIs
Petit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIsPetit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIs
Petit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIsJonathan Meiss
 
Introduction à ASP.NET Core
Introduction à ASP.NET CoreIntroduction à ASP.NET Core
Introduction à ASP.NET CoreMicrosoft
 
20171122 01 - REX : Intégration et déploiement continu chez Engie
20171122 01 - REX : Intégration et déploiement continu chez Engie20171122 01 - REX : Intégration et déploiement continu chez Engie
20171122 01 - REX : Intégration et déploiement continu chez EngieLeClubQualiteLogicielle
 
03 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 01103 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 011OpenCascade
 

Similaire à Intro aurelia js-typescript (20)

Cours n°1.1-Introduction.pdf angularrrrr
Cours n°1.1-Introduction.pdf angularrrrrCours n°1.1-Introduction.pdf angularrrrr
Cours n°1.1-Introduction.pdf angularrrrr
 
Etude rapide sur les frameworks Front-end (AngularJS vs *JS)
Etude rapide sur les frameworks Front-end (AngularJS vs *JS)Etude rapide sur les frameworks Front-end (AngularJS vs *JS)
Etude rapide sur les frameworks Front-end (AngularJS vs *JS)
 
Introduction à Angular
Introduction à AngularIntroduction à Angular
Introduction à Angular
 
Presentation of framework Angular
Presentation of framework AngularPresentation of framework Angular
Presentation of framework Angular
 
Présentation Angular 2
Présentation Angular 2 Présentation Angular 2
Présentation Angular 2
 
Angular développer des applications .pdf
Angular développer des applications .pdfAngular développer des applications .pdf
Angular développer des applications .pdf
 
CV REBAI Hamida
CV REBAI HamidaCV REBAI Hamida
CV REBAI Hamida
 
Introduction à Angular 2
Introduction à Angular 2Introduction à Angular 2
Introduction à Angular 2
 
MWCP 2018 - Un framework pour les gouverner tous
MWCP 2018 -  Un framework pour les gouverner tousMWCP 2018 -  Un framework pour les gouverner tous
MWCP 2018 - Un framework pour les gouverner tous
 
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
 
Formation JavaScript full-stack (JS, jQuery, Node.js...)
Formation JavaScript full-stack (JS, jQuery, Node.js...)Formation JavaScript full-stack (JS, jQuery, Node.js...)
Formation JavaScript full-stack (JS, jQuery, Node.js...)
 
Angular.pdf
Angular.pdfAngular.pdf
Angular.pdf
 
Retour d'expérience : Mise en place de l'ENT v4 à l'UPMC
Retour d'expérience : Mise en place de l'ENT v4 à l'UPMCRetour d'expérience : Mise en place de l'ENT v4 à l'UPMC
Retour d'expérience : Mise en place de l'ENT v4 à l'UPMC
 
Petit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIs
Petit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIsPetit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIs
Petit déjeuner OCTO Technology - Nouvelles Architectures Web Front-End et APIs
 
Petit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIs
Petit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIsPetit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIs
Petit déjeuner OCTO - Nouvelles Architectures Web Front-end et APIs
 
Cours 1 introduction
Cours 1 introductionCours 1 introduction
Cours 1 introduction
 
CV_Bilel CHAOUADI
CV_Bilel CHAOUADICV_Bilel CHAOUADI
CV_Bilel CHAOUADI
 
Introduction à ASP.NET Core
Introduction à ASP.NET CoreIntroduction à ASP.NET Core
Introduction à ASP.NET Core
 
20171122 01 - REX : Intégration et déploiement continu chez Engie
20171122 01 - REX : Intégration et déploiement continu chez Engie20171122 01 - REX : Intégration et déploiement continu chez Engie
20171122 01 - REX : Intégration et déploiement continu chez Engie
 
03 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 01103 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 011
 

Intro aurelia js-typescript

  • 1. Introduction à AureliaJS avec Type Script Par Philippe Beroucry – Développeur 1/18
  • 2. SOMMAIRE 1. AureliaJS(AJS) : Késako ? 2. Utilisation TypeScript avec AJS 3. Conclusion 2/18
  • 3. AVANT DE COMMENCER : UN PETIT RAPPEL - 2015 marque l’officialisation de l’ECMAScript 2015(ES6) : Nouvelle spécifications JavaScript (la 7 est déjà en cours de préparation) - Apparition des compilateur JavaScript (transcompiler): Babel, TypeScript, Coffee Script… - Développement des best-practices autour des Web Component : Polyfills, Polymer, X-Tag, Bosonic… 3/18
  • 4. 1 – AureliaJS, késako ? 4/18
  • 5. 1 - HISTORIQUE 5/18 Année de création => 2015 (c’est très jeune!) Rob Einseber(@EisenbergEffect) CTO Durandal Formateur des équipes angular 2 avec Google Créateur et Lead Développeur AureliaJS @AureliaEffect
  • 6. 1 – PRINCIPALES FONCTIONNALITÉS DU FRAMEWORK 6/18 (source: aurelia.io)
  • 7. • Construire des applications clients en full JavaScript (SPA) • Open Source • Principe de Clean code • Se baser sur des conventions simples 7/18 1 – BUT DU FRAMEWORK
  • 8. 2 – Utilisation de TypeScript avec AureliaJS 8/18
  • 9. 2 – CONFIGURATION DE DÉPART 9/18
  • 10. 10/18 2 – EXEMPLE DE SYNTAXE
  • 11. 11/18 2 – BASE DE TRAVAIL https://github.com/paulvanbladel/aurelia-gulp-typescript
  • 12. 2 – INDEX.HTML – POINT DE DÉPART 12/18
  • 13. 2 – CRÉATION D’UN COMPOSANT 13/18 VIEW MODEL – app.ts/jsVIEW – app.html
  • 15. 4 – POURQUOI S’Y INTÉRESSER ? 15/18
  • 16. 4 – ETAT DE AJS AU 29/10/2015 16/18 • PUBLIC REVIEW • 1ère beta disponible d’ici trois semaines avec une documentation plus complète • 2ème beta déjà prévue car changement des spécifications des Web Components • Support de ie9/10 • Amélioration de la syntaxe • Stabilisation de l’api • Futur concurrent de Angular2 ? Oui!
  • 17. AURELIA VS ANGULAR2 - VM (source : http://eisenbergeffect.bluespire.com/aurelia-and-angular-2-code-side-by-side/) 17/18
  • 19. 4 – QUELQUES LIENS UTILES • Aureliajs : http://aurelia.io/ • Gitter Aurelia => https://gitter.im/Aurelia/Discuss • Blog Aurelia (durandal) => http://blog.durandal.io/ • Github AureliaJS => https://github.com/aurelia • TypeScript => http://www.typescriptlang.org/ • Github TypeScript => https://github.com/Microsoft/TypeScript • ECMAScript 2015 specification => http://tinyurl.com/qyjcpak • WebComponent => http://webcomponents.org/ • Polyfill => http://webcomponents.org/polyfills/ • NDC conference 2015 – Aurelia :Next Generation Web App => https://vimeo.com/131641012
  • 20. Merci . Des questions?

Notes de l'éditeur

  1. Définir TypeScript Définir WebComponent Définir SPA
  2. -Enoncer le sommaire (faire afficher le sommmaire un par un) -Bien penser à être rapide sur les annonces
  3. Forward-thinking: avant-gardiste. Framework entièrement en ES6. Aucune dépendance lié à des librairies externes sauf polyfills. Destiné à être utilisé sur des support pc/mobile et tablette. Modern Architecture: Très centré sur la notion de module pour permettre une customisation complète de la solution que l’on veut mettre en place Two-Way Databinding : Une meilleur gestion du databinding customisable à fond! (Utilisation des Object.Observer) Extensible HTML: CustomElement Route MV* ce que tu veux AureliaJS est une api pouvant s’appuyer sur les langages d’aujourd’hui et de demain Injection de dépendance/Mocking , c’est prévu pour.
  4. Faire la démo ici
  5. (brique utilisé dans le Framework)
  6. (brique utilisé dans le Framework)
  7. Refaire les liens