Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular 2: Quick Web Start

Angular 2: Quick Web Start

Minko Gechev

March 10, 2016
Tweet

More Decks by Minko Gechev

Other Decks in Technology

Transcript

  1. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  2. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  3. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  4. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  5. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  6. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  7. Seed project… • Development and production builds • TypeScript transpilation

    • BrowserSync support • Karma with Jasmine integration • e2e testing with protractor • Test coverage • Follows best practices • ng2lint
  8. Section agenda • Use common style & best practices •

    Angular 2 (will) have great IDE support • Use static code analysis for less bugs
  9. “ng2lint is a project which aims to enforce common style

    and verify correctness of your program”
  10. – MDN “Web Workers provide a simple means for web

    content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface.”
  11. – MDN “Web Workers provide a simple means for web

    content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface.”
  12. Angular 2 can run… • In the browser • On

    the server • In WebWorkers • In native mobile apps
  13. Angular 2 can run… • In the browser • On

    the server • In WebWorkers • In native mobile apps
  14. Angular 2 can run… • In the browser • On

    the server • In WebWorkers • In native mobile apps
  15. Angular 2 can run… • In the browser • On

    the server • In WebWorkers • In native mobile apps
  16. Angular 2 can run… • In the browser • On

    the server • In WebWorkers • In native mobile apps
  17. WebWorkers recap • Angular is platform agnostic • Running apps

    in background • WebWorkers can’t touch the DOM
  18. angular/offline: • Offline access to static content • Notifications for

    new versions • Efficient download of deltas • Support off push notifications
  19. angular/offline: • Offline access to static content • Notifications for

    new versions • Efficient download of deltas • Support off push notifications
  20. angular/offline: • Offline access to static content • Notifications for

    new versions • Efficient download of deltas • Support off push notifications
  21. angular/offline: • Offline access to static content • Notifications for

    new versions • Efficient download of deltas • Support off push notifications
  22. angular/offline: • Offline access to static content • Notifications for

    new versions • Efficient download of deltas • Support of push notifications
  23. angular/offline: • Offline access to static content • Notifications for

    new versions • Efficient download of deltas • Support of push notifications
  24. – MDN “Service workers essentially act as proxy servers that

    sit between web applications, and the browser and network (when available)....”
  25. – MDN “HTML5 provides an application caching mechanism that lets

    web-based applications run offline. Developers can use the Application Cache...”