samedi 16 novembre 2013

AngularJS, not yet ready for mobile

angularjs

Last Tuesday it was held the night of the AngularJS presentation by our friends Sushee and OrangeLabs via CodeDarmor, to see if this javascript library is as revolutionary as it sounds.

Ultimately, if the effect whaou is with "two-way binding data," our opinion remains mixed.

Data binding is what makes to give incredible AngularJS: data of changes in the model, the view is updated. You can update the references to the data throughout its DOM, AngularJS keeps up-to-date for you.

Finished changes to DOM in the jQuery, the library is in charge. 'Model, view, controller' separation is possible in HTML5. In a word: awesome!

Except that to perform this magic, modification of scrutte of AngularJS of the DOM events, must maintain the references in various articles and its nodes in the DOM and may need to update the scope of your controller, while only a small value has changed in its object.

If you like animations, AngularJS automatically adds also classes to all elements in the DOM when you add, delete, or move. Including items not be encourage.

All this is very convenient, way to make a little wild like certe but most common browsers are capable of handling all this if you don't see anything.

On the other hand, If you send your HTML5 native, applications use these manipulations will quickly decrease your application, the "webviews" being much less powerful than a 'real' browser.

Although this point of performance is blocking for us, we will have to keep an eye on AngularJS, because many people are already working on how adapt AngularJS to the mobile without loosing much performance.

AngularJS is therefore a promising JavaScript framework but we may have to continue a bit with handlebar and Zepto;)

Aucun commentaire:

Enregistrer un commentaire