lundi 23 octobre 2017

what is the difference between Decorator and mediator patterns in JavaScript

Recently I started learning the JavaScript patterns. When I am comparing Angular 4 from Angular 1.x. I have seen some new patterns in the Angular 4.

What patterns are used in the Angular 4 ?

Can we have chance to implement Decorator Pattern in the Angular 1.x?

Is Angular using $broadcasts or $emits for standard Mediator Pattern implementation?

Aucun commentaire:

Enregistrer un commentaire