3 ms·
no lies, told: I like this quote from SparkJava > Lately, a lot of server-side web development has been taken over by NodeJS, but a growing number of NodeJS de
by dzonga 5y ago
no lies, told: I like this quote from SparkJava
> Lately, a lot of server-side web development has been taken over by NodeJS, but a growing number of NodeJS developers are using TypeScript and other statically typed languages that compile to JavaScript. Why not go all the way and use a language that was actually designed with types, and intended to run on the server-side? You also get all the benefits of running your application on the JVM, where libraries aren’t deprecated every day. If you’re coming from ExpressJS, then Spark’s syntax will feel very familiar, and unlike a lot of JavaScript web frameworks, Spark won’t be deprecated tomorrow.
as someone who has experience with ExpressJS I agree massively. Typescript you end up fighting the tooling most of the time, rather than getting work done.
To avoid all this complexity, server side render pages in html - scalable to infinity. then sprinkle js using script tags n tools like Mithril, Vue, Knockout etc on
pages needed.
- fullstackchris 5y agoI agree. While TypeScript is good for any JavaScript project, Node based APIs have always felt like the tooling has lagged behind other frameworks and languages. I've since really started to enjoy .NET for backend tasks - but of course there are many other good options.