News for hackers. Stuff that matters.
Re:Ask HN: Using AngularJS 1.x in production? by alistproducer2 on Friday May 13, 2016 @01:32PM (#11691831)
Maintainability would be the biggest benefit. The first question I would ask is why do u feel ur existing design is no longer suitable?
Re:Ask HN: Using AngularJS 1.x in production? by 64bitbrain on Friday May 13, 2016 @01:56PM (#11692004)
Good point. I feel that my jQuery code is getting bloated, when I add more features to a page. Though, I am still a beginner when it comes too angularjs, but I find using controller and services would clean up code by a huge margin.
Re:Ask HN: Using AngularJS 1.x in production? by alistproducer2 on Friday May 13, 2016 @02:12PM (#11692120)
If your code base is still actively being enhanced or changed, then, yes, Angular is a better design than jQuery. jQuery locks you into the DOM structure, which makes changing the UI or adding features progressively more expensive as the app grows. Angular pretty much solves this problem by decoupling the UI from the code governing the functionality.

Edit: I can't help but to shameless plug my AngularJS-like frame work, TemplarJS. It does most of the same things but I designed it to have a much flatter learning curve. I wouldn't recommend it for production as it is still a work-in-progress but take a look at it if you get the time. https://github.com/ShamariFeaster/Templar

Examples: http://templar.bigfeastsoftware.com

Re:Ask HN: Using AngularJS 1.x in production? by _RPM on Saturday May 14, 2016 @01:31AM (#11694671)
This narrative is bullshit because it doesn't matter. At the end of the day, the client doesn't give a fuck if it's written as a CGI perl script, much less if it's between a javascript framework and a library.
Re:Ask HN: Using AngularJS 1.x in production? by alistproducer2 on Sunday May 15, 2016 @11:07AM (#11701173)
It does matter and your comment is crass and unhelpful.
Re:Ask HN: Using AngularJS 1.x in production? by 64bitbrain on Friday May 13, 2016 @02:22PM (#11692200)
Sure, I will definitely look into it. Thank you.