SlideShare a Scribd company logo
1 of 20
Download to read offline
DISCOVER ANGULAR DART
STÉPHANE ESTE-GRACIAS - 15/02/2017
THANKS TO
NYUKO.LU REYER.IO
INTRODUCTION
DISCOVER ANGULAR DART - INTRODUCTION
ANGULAR DART: ORIGINS
▸ Open Source Software under a MIT license
▸ Mainly developed by Google engineers
▸ Pitfall and best practices from AngularJS 1.x
▸ AngularDart 1.5 was the sandbox for AngularJS/Dart 2.x
▸ AngularDart 2.x now
DISCOVER ANGULAR DART - INTRODUCTION
ANGULAR DART: GOALS
▸ Help developers build
▸ Web Applications
▸ Single Page Application (SPA)
▸ Productivity
▸ Performance
▸ Stability
GETTING STARTED
DISCOVER ANGULAR DART - GETTING STARTED
INSTALL ANGULAR DART ON YOUR FAVORITE PLATFORM
▸ Install Dart on MacOS, Linux Ubuntu/Debian, Windows
▸ Install an IDE
▸ Recommended: WebStorm
▸ Dart Plugins available for
▸ Atom, Sublime Text 3, Visual Studio Code, Emacs, Vim
DISCOVER ANGULAR DART - FRAMEWORK
ANGULAR DART FRAMEWORK
HTML + CSS
COMPONENT
“binding”
@Input

properties
“events”
@Output

streams
DISCOVER ANGULAR DART - FRAMEWORK
ANGULAR DART FRAMEWORK
HTML + CSS
COMPONENT
“binding”
@Input

properties
“events”
@Output

streams
DIRECTIVES
DI
Dependancy Injection
HELLO WORLD
DISCOVER ANGULAR DART - HELLO WORLD
HELLO WORLD: PUBSPEC.YAML
name: angular

description: QuickStart

version: 0.0.1

environment:

sdk: '>=1.19.0 <2.0.0'

dependencies:

angular2: ^2.2.0

dev_dependencies:

browser: ^0.10.0

dart_to_js_script_rewriter: ^1.0.1

transformers:

- angular2:

platform_directives:

- 'package:angular2/common.dart#COMMON_DIRECTIVES'

platform_pipes:

- 'package:angular2/common.dart#COMMON_PIPES'

entry_points: web/main.dart

- dart_to_js_script_rewriter

DISCOVER ANGULAR DART - HELLO WORLD
HELLO WORLD: APP_COMPONENT.HTML
import 'package:angular2/core.dart';



@Component(
selector: ‘my-app',
template: '<h1>Hello {{name}}</h1>’
)

class AppComponent {

var name = 'Angular';

}

DISCOVER ANGULAR DART - HELLO WORLD
HELLO WORLD: INDEX.HTML
<!DOCTYPE html>

<html>


<head>

<title>Hello Angular</title>

<meta charset="UTF-8">

<meta name="viewport"

content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="styles.css">



<script defer src=“main.dart"
type=“application/dart”>
</script>

<script defer src=“packages/browser/dart.js">
</script>

</head>


<body>

<my-app>
Loading AppComponent content here …
</my-app>

</body>

</html>
DISCOVER ANGULAR DART - HELLO WORLD
HELLO WORLD: MAIN.DART
import 'package:angular2/platform/browser.dart';



import 'package:hello/app_component.dart';



void main() {

bootstrap(AppComponent);

}

DISCOVER ANGULAR DART - HELLO WORLD
HELLO WORLD: RESULT
COMMUNITY
DISCOVER ANGULAR DART - COMMUNITY
EVENTS
▸ Dart Events

https://events.dartlang.org
▸ Dart Developper Summit

https://events.dartlang.org/2016/summit/

https://www.youtube.com/playlist?list=PLOU2XLYxmsILKY-
A1kq4eHMcku3GMAyp2
▸ Meetup Luxembourg Dart Lang

https://www.meetup.com/Luxembourg-Dart-Lang-Meetup/
DISCOVER ANGULAR DART - COMMUNITY
USEFUL LINKS
▸ AngularDart website https://webdev.dartlang.org/
▸ Questions on StackOverflow http://stackoverflow.com/tags/angular-dart
▸ Chat on Gitter https://gitter.im/dart-lang/angular2
▸ Source code on Github https://github.com/dart-lang/angular2
Q&A
Discover Angular - Meetup 15/02/2017

More Related Content

Similar to Discover Angular - Meetup 15/02/2017

Linux Accessibility Workshop, Sun Accessibility
Linux Accessibility Workshop, Sun AccessibilityLinux Accessibility Workshop, Sun Accessibility
Linux Accessibility Workshop, Sun Accessibility
Malte Timmermann
 

Similar to Discover Angular - Meetup 15/02/2017 (20)

Discover Flutter - Meetup 07/12/2016
Discover Flutter - Meetup 07/12/2016Discover Flutter - Meetup 07/12/2016
Discover Flutter - Meetup 07/12/2016
 
DevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChungDevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChung
 
Linux Accessibility Workshop, Sun Accessibility
Linux Accessibility Workshop, Sun AccessibilityLinux Accessibility Workshop, Sun Accessibility
Linux Accessibility Workshop, Sun Accessibility
 
Anko - The Ultimate Ninja of Kotlin Libraries?
Anko - The Ultimate Ninja of Kotlin Libraries?Anko - The Ultimate Ninja of Kotlin Libraries?
Anko - The Ultimate Ninja of Kotlin Libraries?
 
What’s new in Microsoft ALM 2013, hosted in Windows Azure, VISUAL STUDIO ONLI...
What’s new in Microsoft ALM 2013, hosted in Windows Azure, VISUAL STUDIO ONLI...What’s new in Microsoft ALM 2013, hosted in Windows Azure, VISUAL STUDIO ONLI...
What’s new in Microsoft ALM 2013, hosted in Windows Azure, VISUAL STUDIO ONLI...
 
Angular2, Spring Boot, Docker Swarm
Angular2, Spring Boot, Docker SwarmAngular2, Spring Boot, Docker Swarm
Angular2, Spring Boot, Docker Swarm
 
DMCA #25: Jenkins - Docker & Android: Comment Docker peu faciliter la créatio...
DMCA #25: Jenkins - Docker & Android: Comment Docker peu faciliter la créatio...DMCA #25: Jenkins - Docker & Android: Comment Docker peu faciliter la créatio...
DMCA #25: Jenkins - Docker & Android: Comment Docker peu faciliter la créatio...
 
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScriptENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
 
Delivering a bleeding edge community led open stack distribution- rdo
Delivering a bleeding edge community led open stack distribution- rdoDelivering a bleeding edge community led open stack distribution- rdo
Delivering a bleeding edge community led open stack distribution- rdo
 
Droidcon London 2021 - Full Stack Dart
Droidcon London 2021   - Full Stack DartDroidcon London 2021   - Full Stack Dart
Droidcon London 2021 - Full Stack Dart
 
George Adams - AdoptOpenJDK and how it impacts you in 2019
George Adams - AdoptOpenJDK and how it impacts you in 2019George Adams - AdoptOpenJDK and how it impacts you in 2019
George Adams - AdoptOpenJDK and how it impacts you in 2019
 
Run your code serverlessly on Google's open cloud
Run your code serverlessly on Google's open cloudRun your code serverlessly on Google's open cloud
Run your code serverlessly on Google's open cloud
 
Flutter Vikings 2022 - End to end IoT with Dart and Flutter
Flutter Vikings 2022 - End to end IoT with Dart and FlutterFlutter Vikings 2022 - End to end IoT with Dart and Flutter
Flutter Vikings 2022 - End to end IoT with Dart and Flutter
 
Visual Studio for IoT Solutions
Visual Studio for IoT SolutionsVisual Studio for IoT Solutions
Visual Studio for IoT Solutions
 
Git and Github - a 90 Minute interactive workshop
Git and Github - a 90 Minute interactive workshopGit and Github - a 90 Minute interactive workshop
Git and Github - a 90 Minute interactive workshop
 
Why and what is go
Why and what is goWhy and what is go
Why and what is go
 
Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...
Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...
Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...
 
Docman - The swiss army knife for Drupal multisite docroot management and dep...
Docman - The swiss army knife for Drupal multisite docroot management and dep...Docman - The swiss army knife for Drupal multisite docroot management and dep...
Docman - The swiss army knife for Drupal multisite docroot management and dep...
 
DCSF 19 Building Your Development Pipeline
DCSF 19 Building Your Development Pipeline  DCSF 19 Building Your Development Pipeline
DCSF 19 Building Your Development Pipeline
 
Buildr - build like you code
Buildr -  build like you codeBuildr -  build like you code
Buildr - build like you code
 

More from Stéphane Este-Gracias

HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...
HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...
HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...
Stéphane Este-Gracias
 

More from Stéphane Este-Gracias (10)

HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...
HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...
HashiTalks France 2023 - Sécurisez la distribution automatique de vos certif...
 
20221130 - Luxembourg HUG Meetup
20221130 - Luxembourg HUG Meetup20221130 - Luxembourg HUG Meetup
20221130 - Luxembourg HUG Meetup
 
20220928 - Luxembourg HUG Meetup
20220928 - Luxembourg HUG Meetup20220928 - Luxembourg HUG Meetup
20220928 - Luxembourg HUG Meetup
 
20220202 - Luxembourg HUG Meetup
20220202 - Luxembourg HUG Meetup20220202 - Luxembourg HUG Meetup
20220202 - Luxembourg HUG Meetup
 
20220608 - Luxembourg HUG Meetup
20220608 - Luxembourg HUG Meetup20220608 - Luxembourg HUG Meetup
20220608 - Luxembourg HUG Meetup
 
Shift your Workspaces to the Cloud
Shift your Workspaces to the CloudShift your Workspaces to the Cloud
Shift your Workspaces to the Cloud
 
Dart on server - Meetup 18/05/2017
Dart on server - Meetup 18/05/2017Dart on server - Meetup 18/05/2017
Dart on server - Meetup 18/05/2017
 
AngularDart - Meetup 15/03/2017
AngularDart - Meetup 15/03/2017AngularDart - Meetup 15/03/2017
AngularDart - Meetup 15/03/2017
 
Discover Dart - Meetup 15/02/2017
Discover Dart - Meetup 15/02/2017Discover Dart - Meetup 15/02/2017
Discover Dart - Meetup 15/02/2017
 
Discover Dart(lang) - Meetup 07/12/2016
Discover Dart(lang) - Meetup 07/12/2016Discover Dart(lang) - Meetup 07/12/2016
Discover Dart(lang) - Meetup 07/12/2016
 

Recently uploaded

Recently uploaded (20)

Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 

Discover Angular - Meetup 15/02/2017

  • 1. DISCOVER ANGULAR DART STÉPHANE ESTE-GRACIAS - 15/02/2017
  • 4. DISCOVER ANGULAR DART - INTRODUCTION ANGULAR DART: ORIGINS ▸ Open Source Software under a MIT license ▸ Mainly developed by Google engineers ▸ Pitfall and best practices from AngularJS 1.x ▸ AngularDart 1.5 was the sandbox for AngularJS/Dart 2.x ▸ AngularDart 2.x now
  • 5. DISCOVER ANGULAR DART - INTRODUCTION ANGULAR DART: GOALS ▸ Help developers build ▸ Web Applications ▸ Single Page Application (SPA) ▸ Productivity ▸ Performance ▸ Stability
  • 7. DISCOVER ANGULAR DART - GETTING STARTED INSTALL ANGULAR DART ON YOUR FAVORITE PLATFORM ▸ Install Dart on MacOS, Linux Ubuntu/Debian, Windows ▸ Install an IDE ▸ Recommended: WebStorm ▸ Dart Plugins available for ▸ Atom, Sublime Text 3, Visual Studio Code, Emacs, Vim
  • 8. DISCOVER ANGULAR DART - FRAMEWORK ANGULAR DART FRAMEWORK HTML + CSS COMPONENT “binding” @Input
 properties “events” @Output
 streams
  • 9. DISCOVER ANGULAR DART - FRAMEWORK ANGULAR DART FRAMEWORK HTML + CSS COMPONENT “binding” @Input
 properties “events” @Output
 streams DIRECTIVES DI Dependancy Injection
  • 11. DISCOVER ANGULAR DART - HELLO WORLD HELLO WORLD: PUBSPEC.YAML name: angular
 description: QuickStart
 version: 0.0.1
 environment:
 sdk: '>=1.19.0 <2.0.0'
 dependencies:
 angular2: ^2.2.0
 dev_dependencies:
 browser: ^0.10.0
 dart_to_js_script_rewriter: ^1.0.1
 transformers:
 - angular2:
 platform_directives:
 - 'package:angular2/common.dart#COMMON_DIRECTIVES'
 platform_pipes:
 - 'package:angular2/common.dart#COMMON_PIPES'
 entry_points: web/main.dart
 - dart_to_js_script_rewriter

  • 12. DISCOVER ANGULAR DART - HELLO WORLD HELLO WORLD: APP_COMPONENT.HTML import 'package:angular2/core.dart';
 
 @Component( selector: ‘my-app', template: '<h1>Hello {{name}}</h1>’ )
 class AppComponent {
 var name = 'Angular';
 }

  • 13. DISCOVER ANGULAR DART - HELLO WORLD HELLO WORLD: INDEX.HTML <!DOCTYPE html>
 <html> 
 <head>
 <title>Hello Angular</title>
 <meta charset="UTF-8">
 <meta name="viewport"
 content="width=device-width, initial-scale=1">
 <link rel="stylesheet" href="styles.css">
 
 <script defer src=“main.dart" type=“application/dart”> </script>
 <script defer src=“packages/browser/dart.js"> </script>
 </head> 
 <body>
 <my-app> Loading AppComponent content here … </my-app>
 </body>
 </html>
  • 14. DISCOVER ANGULAR DART - HELLO WORLD HELLO WORLD: MAIN.DART import 'package:angular2/platform/browser.dart';
 
 import 'package:hello/app_component.dart';
 
 void main() {
 bootstrap(AppComponent);
 }

  • 15. DISCOVER ANGULAR DART - HELLO WORLD HELLO WORLD: RESULT
  • 17. DISCOVER ANGULAR DART - COMMUNITY EVENTS ▸ Dart Events
 https://events.dartlang.org ▸ Dart Developper Summit
 https://events.dartlang.org/2016/summit/
 https://www.youtube.com/playlist?list=PLOU2XLYxmsILKY- A1kq4eHMcku3GMAyp2 ▸ Meetup Luxembourg Dart Lang
 https://www.meetup.com/Luxembourg-Dart-Lang-Meetup/
  • 18. DISCOVER ANGULAR DART - COMMUNITY USEFUL LINKS ▸ AngularDart website https://webdev.dartlang.org/ ▸ Questions on StackOverflow http://stackoverflow.com/tags/angular-dart ▸ Chat on Gitter https://gitter.im/dart-lang/angular2 ▸ Source code on Github https://github.com/dart-lang/angular2
  • 19. Q&A