|
Node.js is nice because it gave front-end web development a decent package manager to rule them all. Not sure if I'm much of a fan of it for API endpoints though... getting proper stack traces from Node.js exceptions is not very easy. Node.js fits better as a proxy/middle-tier if you really want to use it on the server, backed by an API written in something else. Stoph fucked around with this message at 01:15 on Feb 26, 2015 |
# ¿ Feb 26, 2015 01:13 |
|
|
# ¿ May 10, 2024 10:23 |
|
Maluco Marinero posted:Right now a front end designer and I are building a site with a node server as the template renderer. He's building the lot through standard front end build tools, all static builds in Jade but with template data supplied by JSON files. Meanwhile, I'm building the server stuff on Django because its suitable for this project. This is pretty much exactly what I advocated in my post earlier, except you're actually doing it. It's like a more specialized and thus more efficient version of https://prerender.io/
|
# ¿ Feb 27, 2015 00:24 |
|
The biggest issue with Node APIs for me was the miserable stack traces but I'm hoping generators or async/await could fix that? It's been a while since I worked on a production Node app...
|
# ¿ Aug 9, 2015 02:51 |
|
Generators are native in all npm compatible runtimes. Async is not. I like that generators preserve the stack trace really nice if your application uses them pervasively...
|
# ¿ Aug 9, 2015 04:27 |
|
The error handling really is poo poo in Node.js. Clojure seems like a better full stack language if that's the reason you're picking Node.js. Anyone tried that?
|
# ¿ Aug 25, 2015 02:03 |