Formation AngularJS, les Bonnes Pratiques

Code formation

AJS-GP

Durée

14 heures (généralement 2 jours pauses comprises)

Aperçu

Plan de cours sur mesure Angular

Cet agenda peut être ajusté ou prolongé.

Ce cours s’adresse généralement aux développeurs javascript possédant une expérience de base de angularjs, désireux d’apprendre les meilleures pratiques angularjs et de réaliser leurs applications angulaires de manière plus efficace et plus structurée.

Machine Translated

Plan du cours

Avoiding major pitfalls of scaling an AngularJS app

Proper MVC directory structure

Writing Modules in a smarter way

  • Keeping the names consistent
  • Modularize the Header, Footer, Routes

Dependency injection and minifying the code

  • Global dependencies

Not-overusing Controllers

  • Syntax of 'controllerAs'
  • Using 'bindToController' in our Directives
  • Making 'ng-click' conditional

Factory vs Service

  • All providers are singletons

Utilizing browser extensions (Batarang, etc)

To many watchers and performance issues

Scoping

  • Write-only in the controllers
  • Read-only in the templates
  • Object in the scope instead of properties
  • Avoiding to shadow property of the parent '$scope'
  • Prototypical inheritance
  • Keeping scope uncluttered
  • How to talk with sibling objects

One-Time Binding

Not-manual testing

  • ngMock module

Protractor

  • e2e tests with Jasmine '
  • $digest' cycles

Karma

  • How to easly close the feedback loop
  • Run tests in parallel across different browsers
  • Real world usage scenarios with different devices

Not-using jQuery

  • Change the way of thinking

Proper deploying

  • Facade to interact with servers
  • Separation of server interaction and error handling from the model
  • Business logic in models
  • Configure providers before they are injected
  • Proper use of '$scope.$emit()' and '$scope.$broadcast'
  • Automating our workflow
  • yo, grunt, bower
  • Use case with cordova

Angular 1 vs Angular 2

  • Differences and similarities
  • Three ways: typescript, pure js, dart
  • Good practices in Angular 2
  • Upgrading from version 1

Nos Clients témoignent

★★★★★
★★★★★

Catégories Similaires

Cours Similaires

Réduction spéciale

Newsletter offres spéciales

Nous respectons le caractère privé de votre adresse mail. Nous ne divulguerons ni ne vendrons votre adresse email à quiconque
Vous pouvez toujours modifier vos préférences ou vous désinscrire complètement.

Nos clients

is growing fast!

We are looking to expand our presence in France!

As a Business Development Manager you will:

  • expand business in France
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!