TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Angular Lets Us Iterate Like Crazy

43 pointsby yonasbover 11 years ago

6 comments

steve_barhamover 11 years ago
There&#x27;s a certain irony in the poster dismissing Java with one hand:<p><pre><code> &quot;In effect, to the developer it &#x27;feels like writing Java,&#x27; which as we all know, is a terrible feeling&quot; </code></pre> While professing the benefits of something which looks rather similar to Java tag libraries.<p><pre><code> &lt;graph class=&quot;visitor-graph&quot;&gt; &lt;axis position=&quot;left&quot;&gt;&lt;&#x2F;axis&gt; &lt;axis position=&quot;bottom&quot;&gt;&lt;&#x2F;axis&gt; &lt;line name=&quot;typical-week&quot; line-data=&quot;model.series.typicalWeek&quot;&gt;&lt;&#x2F;line&gt; &lt;line name=&quot;this-week&quot; line-data=&quot;model.series.thisWeek&quot;&gt;&lt;&#x2F;line&gt; &lt;line name=&quot;last-week&quot; line-data=&quot;model.series.lastWeek&quot;&gt;&lt;&#x2F;line&gt; &lt;&#x2F;graph&gt; </code></pre> &quot;If you’re thinking, “that’s not HTML anymore! What are these graph, line, and axis elements?”—well, that’s the point, Angular allows us to “extend HTML” to create those elements!&quot;<p><pre><code> &lt;cewolf:chart id=&quot;line&quot; title=&quot;Page View Statistics&quot; type=&quot;line&quot; xaxislabel=&quot;Page&quot; yaxislabel=&quot;Views&quot;&gt; &lt;cewolf:data&gt; &lt;cewolf:producer id=&quot;pageViews&quot;&#x2F;&gt; &lt;&#x2F;cewolf:data&gt; &lt;&#x2F;cewolf:chart&gt; </code></pre> That&#x27;s from a tag library released in June, 2002.<p>Lest angry Java-haters accuse me of trying to extol the virtues of JSPs, taglibs et al, this is not the point of my post. I&#x27;m indicating the commonalities between two modes of development separated by more than a decade, which in the churnful world of technology might as well be separate geologic eras.<p>It&#x27;s interesting to compare these two things (particularly when a prior effort has fallen by the wayside) to determine if you are implementing the same concept in a new guise, or if you are removing the issues that people had with prior models which led to their lack of use.
评论 #7108188 未加载
评论 #7108115 未加载
BlindRubyCoderover 11 years ago
&quot;She&quot; is becoming such a gimmick now.
评论 #7107530 未加载
pjmlpover 11 years ago
I have been looking into Angular, however I am yet to find it any productive gain as being told here.<p>From what I was able to find out, there isn&#x27;t any UI component framework available for Angular with the same set of components offering as jQuery has.<p>For developer teams that haven&#x27;t a clue about CSS dark magic as guys with designer background have, this is a big impediment to use Angular.<p>I have looked into UI Bootstrap, but is still seems work in progress.<p>Is there any UI component framework for Angular?
评论 #7107521 未加载
评论 #7107629 未加载
评论 #7107890 未加载
ChikkaChiChiover 11 years ago
AngularJS is the best tool for building views that I have come across thus far in javascript.<p>When I write a view (most of my web apps consume JSON and display it to our end users) Angular leaves me with the cleanest markup I&#x27;ve been able to write to date.<p>It does seem to get slightly unwieldy if I want to start using additional libraries outside the scope of Angular (such as when I needed to add Google Charts), but for iterating it&#x27;s the slickest thing since the invention of the ice cube.
largehotcoffeeover 11 years ago
I&#x27;m not so sure iterating like crazy is a good thing.
评论 #7108259 未加载
评论 #7107564 未加载
评论 #7108162 未加载
oafitupaover 11 years ago
Is this website the result of your crazy iterations?<p><a href="http://i.imgur.com/jqy2kwo.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;jqy2kwo.png</a>
评论 #7107313 未加载
评论 #7107573 未加载