Live data from Hacker News

Ask HN: Using AngularJS 1.x in production?

news.ycombinator.com

11–14 of 14 posts

Re: Ask HN: Using AngularJS 1.x in production?

#11

I've shipped a few angular apps, and for my money I'd bet on React these days. If you do end up going the angular route, i'd probably think long and hard about starting with 1.x instead of 2.

> If you do end up going the angular route, i'd probably think long and hard about starting with 1.x instead of 2.

Thanks for bringing that up. This was next on my list. 1.x or 2?! I feel that angular 2 is gaining more attention and probably better(I haven't read much), I would stick to angular 1.x.

Re: Ask HN: Using AngularJS 1.x in production?

#12
post #6

I use it in an enterprise production application. Angular includes a jquery lite library and can be used within your angular app. It's has a learning curve, but once you understand the fundamentals of Angularjs the benefits become pretty clear. Some common jquery practices are made really easy with Angular (hiding/showing content, animations, applying styles conditionally). Plus, as a primarily front end developer it…

Precisely! I have been going to through the documentation and it amazes me every time I come across a directive. You are absolutely right, maintainability of code will be good enough for me to start migrating my app.

You can grab a uDemy course on Angular for ~$15 (40% off sale going on today, I believe). The courses are an easy way to jump into Angular and build simple applications from day 1. It will introduce you to the fundamentals of AngularJS and can replicate many o fthe use cases of jquery.

Re: Ask HN: Using AngularJS 1.x in production?

#13

Earlier quoted context omitted.

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.

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 wo…

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?

#14
post #13

Earlier quoted context omitted.

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 wo…

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.

It does matter and your comment is crass and unhelpful.
Post reply on HN