|
El Marrow posted:I've perused COBOL for a few months now, and I haven't seen any heavily Node.js-oriented threads. Has this just not been covered with a megathread, or does COBOL just dislike Node? Node.js is stupid and the community is poo poo.
|
# ¿ Feb 18, 2015 19:38 |
|
|
# ¿ May 10, 2024 17:25 |
|
El Marrow posted:It's incredible how staggeringly wrong you are. Like, the idea behind node.js is offensive to me. "Let's take javascript, and run it on the server." gently caress, man, seriously? I don't like Ruby on Rails or Django either but the world didn't need a bunch of assholes trying to get javascript to run on a server. They also like trying to make a "native like" platform for web apps, but using javascript for the user interface. There are better tools for doing both of these things. Just because it's possible to write anything in loving javascript doesn't mean it's a good idea.
|
# ¿ Feb 18, 2015 23:06 |
|
Gul Banana posted:this is a genuine use case for javascript on the server - but it might still not count for node. using node for ssr, you have the overhead of process creation and startup on every web request - or at best, serialised ipc.. to a manually managed pool of processes since they're each single threaded. that's a good way to waste hundreds of milliseconds and hit scaling bottlenecks. it's easier just to embed v8 or some other javascript engine in-process of whatever you're using for the server. honestly, maybe there's really a use case for doing something like that (like having to support IE8 or some other bullshit), but talking about pre-rendering javascript on the server to "improve performance" is a big sign that I'm going to have to throw out the project and start from scratch - up there with "javascript caching and data layer." Both are signs that you have old people trying to do front-end work.
|
# ¿ Feb 26, 2015 13:26 |
|
Series DD Funding posted:Trick question: web applications shouldn't be built at all Ding ding ding!
|
# ¿ Aug 8, 2015 18:08 |
|
pepito sanchez posted:So may I ask a stupid question? For server-side, and as someone who's learned very little Python: What's the difference between using Django with a RESTful API in mind, and a fully JS app? Apart from the obvious. Both are interpreted languages, and JS has the ability to inject dependency (specially going to be true in JS when ECMA6 is finalized), making them in a way similar in my view, except Python *can* be compiled, and except for the whole callbacks/prototyping fucktruck you can't get around. That's JS. Django really handles performance issues that much better? I'll have to read up more on the whole I/O blocking point for node. I ask humbly, not knowing a poo poo about Python and barely now getting the grasp on JS in the backend. Nobody was saying Django or Ruby on Rails are good ideas either! They really aren't! And Angular is really, really loving stupid even by web dev standards. Most commercial web developers couldn't find their own asses with two hands and a map.
|
# ¿ Aug 14, 2015 03:12 |
|
pepito sanchez posted:if there's anything you could gather from all of these threads put together it's this. there is no good option. maybe php and i refuse to learn php out of pure spite. Just learn C#/ASP.NET MVC if you can tolerate Microsoft and IIS, or Java/Spring MVC if you don't like Microsoft, and just learn how to do javascript front end without relying on monolithic javascript "frameworks" that suck rear end.
|
# ¿ Aug 14, 2015 05:35 |
|
Uziel posted:Geez, I was exploring trying something other than C#/.NET for server side, and this thread has scared me away from that entirely. It's not really a bad thing to set these technologies up on your own and learn whats up. And node has its uses in like one-off/internal projects, it's just that you're committing malpractice by deliberately choosing to use this poo poo in production environments.
|
# ¿ Aug 15, 2015 16:39 |
|
|
# ¿ May 10, 2024 17:25 |
|
Stoph posted:The error handling really is poo poo in Node.js. Clojure is a cool idea but debugging it was printlns and dark magic a few months ago when I was messing with it. I might try a project using scala/spring mvc just to see how that works out.
|
# ¿ Aug 25, 2015 02:51 |