Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by greenshackle on Monday August 29, 2016 @02:49PM
(#12384193)
My friend was brought in by a client after the previous contractor had spent 300+ hours coding a simple organizational website - here is who we are, here is our phone number - using node.js. I doubt the website will ever see more than 20 concurrent visitors.
Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by dcherman on Monday August 29, 2016 @04:50PM
(#12385215)
Even still, that's just the completely wrong technology to use for something like this regardless of scale. It sounds like it's literally static content. Just write an HTML file directly if it's a single page, or use something like `Assemble` to get easily re-usable partial support if you have multiple pages that want to share a header and footer or something.
Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by greenshackle on Monday August 29, 2016 @05:47PM
(#12385653)
It was 5-10 pages. Static content. Yeah, even if they had 10k concurrent users node.js would have been the wrong technology.
Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by ourmandave on Monday August 29, 2016 @04:47PM
(#12385187)
It's probably featured in the Previous Contractor's portfolio though.
Re:Stepping Backwards from AngularJS to JQuery – An Experiment
by pcote on Monday August 29, 2016 @05:26PM
(#12385494)
That's not exactly the way I think of it. I try to be pragmatic about my tech choices, even if I might be wrong at times.
To pick on your NoSQL example. There was one project where I had a large set of records which were all JSON in a text file. There was no one set structure for it. Attempts to set up proper MySQL tables for these records didn't work out so well. It was only after the pain of trying that I decided that MongoDB made more sense for this "collection of documents".
1. NoSQL <> traditional RDMS because of scaling/sharding
2. Angular <> jQuery (or anything similarly lightweight) because of the issues around huge complex webapps
3. 'Fast' languages <> 'nice' languages ( ;-) ) because of performance concerns
4. Static typing <> Dynamic typing because of maintainability across large teams.
5. Docker/Microservices etc <> traditional architectures because of... I really have no idea...
So I guess the degenerate case is some poor chap learning web development who decides to write their Pet Store as an angular app with a Scala API backed by Mongo and Solr deployed to a Kubernates cluster ;-)