News for hackers. Stuff that matters.
Re:JavaScript frameworks and topics to learn in 2017 by mattmanser on Sunday December 18, 2016 @07:12AM (#13205514)
I recently wrote an embed widget for a client, a simple 5 field form with some dynamic drop-down changing and a date picker. 40/50 lines of js maybe with a simple date picker (pickadate I think).

The client showed me a couple of examples of what they wanted.

One used Angular to make the widget. For a 5 field form that transitions to a "thanks, your order is accepted" div.

Personally, I would consider firing any-one who thought using angular in that scenario is a sensible thing to do.

Re:JavaScript frameworks and topics to learn in 2017 by bshimmin on Sunday December 18, 2016 @01:58PM (#13207023)
Sometimes this can be a case of Maslow's hammer, though - if you work for a shop where they've standardised on Angular (or whatever) as their go-to solution for everything, you can end up with massive overkill in some scenarios while, overall, it's probably still cost-effective and perhaps somewhat sensible to have a standardised approach.

I say this as someone who is no fan of Angular or of this sort of attitude in general - but, on the other hand, I have many times seen the harm that results from in-house micro-frameworks (which tend to be poorly documented, poorly tested, overly specific, and a disaster waiting to happen when the in-house expert decides to get a job somewhere else).

Re:JavaScript frameworks and topics to learn in 2017 by ehnto on Sunday December 18, 2016 @09:21PM (#13209057)
Completely agree, you don't need a framework at all for a task like that. We have had some pretty crazy implementations of simple static sites. One had not a single line of HTML as it was all template engine tags instead, that one was silly.