<story><title>Angular 2.0</title><url>http://blog.angularjs.org/2014/03/angular-20.html</url></story><parent_chain><item><author>AznHisoka</author><text>I never understood how JQuery and JS were just dumped the past 3-4 years in favor of all thse complex frameworks like AngularJS, Ember, etc... is there something these frameworks can do that JQuery can&amp;#x27;t? Can they make fancy single page apps and JQuery can&amp;#x27;t? I need to be enlightened.&lt;p&gt;Or is it simply ppl need to exercise their mental creativity?</text></item><item><author>stuaxo</author><text>This is true.   AngularJS is much better than what we had before, it is kind of large and monolithic.&lt;p&gt;The cycle probably goes thusly:&lt;p&gt;Large monolithic framework comes and shows everyone a new way of doing things (Angular&amp;#x2F;Django).&lt;p&gt;People think it is too large and monolithic, so make microframeworks (Flask&amp;#x2F;Whatever comes after Angular).&lt;p&gt;The next step will be a kind of happy medium.</text></item><item><author>jeswin</author><text>AngularJS has a J2EE mindset. Where libraries grow to become as hard to learn as programming languages themselves. It does not make semantic sense to me anymore.&lt;p&gt;Here is an example from the site:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  &amp;lt;div&amp;gt;
      Length (float):
      &amp;lt;input type=&amp;quot;text&amp;quot; ng-model=&amp;quot;length&amp;quot; name=&amp;quot;length&amp;quot; smart-float &amp;#x2F;&amp;gt;
      {{length}}&amp;lt;br &amp;#x2F;&amp;gt;
      &amp;lt;span ng-show=&amp;quot;form.length.$error.float&amp;quot;&amp;gt;
        This is not a valid float number!&amp;lt;&amp;#x2F;span&amp;gt;
    &amp;lt;&amp;#x2F;div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
How semantic is ng-show=&amp;quot;form.length.$error.float? smart-float sounds like C++. If programming languages worked like this, we wouldn&amp;#x27;t have built many apps. The problem is that some frameworks assume that everything should be done with using configuration. What ends up happening is that the configuration (and conventions) becomes its own language. This is a waste of time in the long term; library conventions are not a portable skill set.&lt;p&gt;Some things are just better off with plain JS and simple HTML. FB&amp;#x2F;Instagram&amp;#x27;s React is a much better approach to building HTML UIs; you get readable JS and HTML instead of configuration mess.</text></item></parent_chain><comment><author>uniclaude</author><text>Among other things that Angular, Ember &amp;amp; others bring, what you should understand here is that JQuery does not help you to structure your code. Those frameworks offer the type of structure that makes it easier to reason about how an app should be built, and it helps a lot when you&amp;#x27;re working in a team.&lt;p&gt;JQuery and JS were certainly not dumped, it is just that people writing single page apps moved on and are now using tools that help them.</text></comment>
<story><title>Angular 2.0</title><url>http://blog.angularjs.org/2014/03/angular-20.html</url></story><parent_chain><item><author>AznHisoka</author><text>I never understood how JQuery and JS were just dumped the past 3-4 years in favor of all thse complex frameworks like AngularJS, Ember, etc... is there something these frameworks can do that JQuery can&amp;#x27;t? Can they make fancy single page apps and JQuery can&amp;#x27;t? I need to be enlightened.&lt;p&gt;Or is it simply ppl need to exercise their mental creativity?</text></item><item><author>stuaxo</author><text>This is true.   AngularJS is much better than what we had before, it is kind of large and monolithic.&lt;p&gt;The cycle probably goes thusly:&lt;p&gt;Large monolithic framework comes and shows everyone a new way of doing things (Angular&amp;#x2F;Django).&lt;p&gt;People think it is too large and monolithic, so make microframeworks (Flask&amp;#x2F;Whatever comes after Angular).&lt;p&gt;The next step will be a kind of happy medium.</text></item><item><author>jeswin</author><text>AngularJS has a J2EE mindset. Where libraries grow to become as hard to learn as programming languages themselves. It does not make semantic sense to me anymore.&lt;p&gt;Here is an example from the site:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  &amp;lt;div&amp;gt;
      Length (float):
      &amp;lt;input type=&amp;quot;text&amp;quot; ng-model=&amp;quot;length&amp;quot; name=&amp;quot;length&amp;quot; smart-float &amp;#x2F;&amp;gt;
      {{length}}&amp;lt;br &amp;#x2F;&amp;gt;
      &amp;lt;span ng-show=&amp;quot;form.length.$error.float&amp;quot;&amp;gt;
        This is not a valid float number!&amp;lt;&amp;#x2F;span&amp;gt;
    &amp;lt;&amp;#x2F;div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
How semantic is ng-show=&amp;quot;form.length.$error.float? smart-float sounds like C++. If programming languages worked like this, we wouldn&amp;#x27;t have built many apps. The problem is that some frameworks assume that everything should be done with using configuration. What ends up happening is that the configuration (and conventions) becomes its own language. This is a waste of time in the long term; library conventions are not a portable skill set.&lt;p&gt;Some things are just better off with plain JS and simple HTML. FB&amp;#x2F;Instagram&amp;#x27;s React is a much better approach to building HTML UIs; you get readable JS and HTML instead of configuration mess.</text></item></parent_chain><comment><author>atrk</author><text>Personally, the two big draws to me of Angular were &amp;quot;free&amp;quot; (as in, I don&amp;#x27;t have to write much code) DOM&amp;lt;-&amp;gt;data binding, and the explicit goal of testability.&lt;p&gt;As a learning exercise, I wrote a page using just jquery, rewrote it in backbone, and then rewrote it in angular. Backbone helped me separate concerns; Angular helped me do that while writing _way_ less code, since I didn&amp;#x27;t have to manage keeping the DOM and the JS model in sync.</text></comment>