Node.js Examples – How Enterprises Use Node in 2016
blog.risingstack.com
blog.risingstack.com
Can anyone expand on this? I haven't worked with Groovy, but most languages have debuggers that let you attach to an existing process. Is this something especially great about Node, or something especially horrible about Groovy?
Also, if that quote is related to the surrounding paragraphs, it sounds like the biggest upgrade isn't so much the node.js debugger, as it is the services being rewritten in a decoupled, non-monolithic way. So now devs can test with local copies of software, instead of requiring an entire infrastructure to be online just to test a single function.
The decoupling and microservice mindset aren't specific to node.js, you can achieve those benefits in any language, however it is more idiomatic in node than other stacks,
Also, why would you expect that Groovy can be compiled and then decompiled to Java? This doesn't even work 100% going from Java to Java, and Groovy is going to have idioms that doesn't map easily to Java idioms.
I haven't used Groovy since v 1.8, and certainly didn't know about this facility then.
> why would you expect that Groovy can be compiled and then decompiled to Java?
It worked in Groovy 1.0, and the decompiles to Java were useful back then when Groovy often had unexpected behavior.
...said the manager.
What I'd like to know (or make happen) is a Django equivalent in Node.js. Something with a built-in Admin, ORM, and (server side) templating system. Anything stable out there that fits my requirements?
The developer productivity comes from breaking down the monolith into smaller, much more manageable pieces.
How is that directly related to nodejs only? I mean, you can have a monolith in one language and still break it down into smaller, more manageable pieces in the same language.
Bookshelf is less opinionated on the way you integrate it with your web app with makes it good to work with if you have strong opinions on how it should integrate with your codebase.
There was an obvious lack of resources to develop it, and after contributing to it a bit I switched. Reliability is the #1 feature in an ORM in my opinion, and I didn't get that confidence from using bookshelves.
I later moved to sequelize, and it worked flawlessly from the get go, give it a try. You can compare the Github activity, you'll see it's thriving, and everything is much cleaner.
The performance is also way ahead, as last time I used it bookshelves relied on Backbone-esque models underneath, making it way slower for big nested queries.
And if you do anything particularly hard you always can tap into knex and get all its powerful API and if that is not enough you run raw queries until the feature is officially supported.
There is a discussion that the bigger issue was getting management to allow them to rebuild all the code and by using Node over Java provided a mechanism to do this. This is touched on in the article.
[0] https://www.paypal-engineering.com/2013/11/22/node-js-at-pay...
Eventually, hopefully, the monolith will be gone and there will only remain the microservices, but that could take some time.
A crappy old system can be crappy because of the way it's written or the people writing it. If, as mentioned in one of the linked articles, it takes you six weeks to get a simple controller layer up and running in Java, something else is wrong, and it isn't the stack.
Check out http://start.spring.io/ and click "switch to the full version" to see the huge variety of battle-tested libraries with excellent integration with Spring Boot.
https://blog.risingstack.com/node-hero-node-js-project-struc...
It looks like a good option to me. I just finished a standalone notification system in one of our Node.js apps and all the files are organized more like this than the typical Rails file structure.
I don't get it. Do they mean asset compilation etc. How can one use Node in front-end?
Confirmed: NodeJS is pure hype.