7th day of #The100DayProject. JConf EU 2013 video review.
This is a week of my challenge!! Great achievement!
So, here is my 7th video:
So, here are smart ideas I found in the speech:
- Two way binding is growing in the popularity according to the Google Analytics about the search;
- Angular vs Ember vs Knockout.
- Knockout: binding is the function with 0/1 argument, and strange syntax in html. Quick, it knows exactly what was changed. Really slow, if updating directly the listened object. It really crashed!!!! Omg… Reacts on each change.
- Ember: uses {{}} in html. Object to be binded needs to inherit and then you call set or get. It is slow when adding elements, but binding is quick because it knows exactly what was changed. Waits for some period before applying changes; You can specify the property is changed inside the function. For me it is weird.. All dependencies are fixed.
- Angular: {{}} and normal objects in the $scope. Call of $apply() for every setter of the object. That makes it iterate thru all the elements of the $scope, who are $dirty. When there are lots of elements in the $scope, it is really slow. $apply call is chosen smartly.
- Angular is slow when model is complex;
- Ember is slow at rendering lists;
- Knockout is slow when pushing many items in list;
- What happened with the OPERATOR in the middle of the video???
A real week spent in watching this conference! Without the #The100DayProject I would never do that!