Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What are the best practices for working with different languages?

What are the best practices for working with different languages?

Problem

My job in this project is to bring it to the web. So my question is what is the proper/best practices way/architecture that should be followed in such a project where you have many Components writing in different languages?
And is Node.js the best tool/language that can combine components as LinkedIn says: "If you look at Node, the thing it’s best at doing is talking to other services."

Problem courtesy of: Ansd

Solution

I think the proper answer could fill books...

That said, I would suggest to avoid the unholy mess of tiny modules talking to who knows who, by implementing some kind of service bus. If you can get that right, all the languages/subprojects will have to be compatible with the bus only, not with each and every one of the others. That way the complexity will drop from N factorial to 2xN.

Solution courtesy of: Gergely Szilagyi

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

What are the best practices for working with different languages?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×