Echo JS 0.11.0

<~>
davidchase 3636 days ago. link parent 0 point
Man did you go off and rant... some points to make: angular templating is logic filled compared to say something like mustache templates which are not, why do i need logic in HTML and in JS ? two-way databinding is majority of the time unnecessary, heck they even brought in one-time binding which should cue you into something *performance*. Isomorphic is great way to re-use code ie: your templates again or a http/xhr service that can be used client and server think what meteor is doing. The re-factor or 2.0 won't be available for a while.. so cant use that argument

Replies

sylvainpv 3636 days ago. link 2 points
The level of logic to put in the DOM is debatable, we have full-logic solutions like EJS and logic-less like PURE, both approaches are valid depending on the project. If you think 2-way databinding is majority of time unnecessary, that means it is necessary sometimes, so why criticize Angular if it offers both ? And about things which are unnecessary majority of the time, you were talking of isomorphic ? Finally the refactor argument is not mine, I only reply to those used in the article.
davidchase 3636 days ago. link 2 points
Isomorphic promotes the re-use of code on the client and server.. instead of writing 2x the amount of logic services. So I'm not sure I follow your comment about it being unnecessary. Angular 1.3+ only introduced one-time binding after realizing that watchers and digesting all of those watchers is a performance issue prior to that you had to use a third-party library such as bindonce or not use it altogether. 

The major problem with angular is the fact that it is a kitchen sink framework, you cannot use a piece of the framework without inheriting the whole thing. Personally I prefer flexibility.
sylvainpv 3636 days ago. link 1 point
unnecessary _most of the time_, necessary sometimes. JavaScript on the server is still in its early days, maybe some future isomorphic solutions like Meteor will change the game. That's what I meant on point 8. 

I agree about flexibility, and the Angular team is listening. Check out Angular 2.0 goals : "For performance and to enable innovation, our goal is that almost every piece of AngularJS should be optional, replaceable, and even used in other non-AngularJS frameworks.  You’ll be able to pick and choose the parts you like and write or select others that you like better."
davidchase 3635 days ago. link 1 point
Hmm we use nodejs currently and works great for us, despite it being in the "early days", meteor is a full-ledge solution.. Im talking about using modules from NPM that can work on the server and client today, right now.

Angular 2.0 is still in the design and architectural phase, maybe in the future it will be released but who knows exactly when.