Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRohit Thorat
12,191 PointsGeneral doubt
Can you please explain me the difference between node.js working and Back end lamguages?
2 Answers
Nicholas Grenwalt
46,626 PointsNode.js is JavaScript's version of a backend or server-side language. JavaScript is unique in that a majority of its syntax carries over to the backend. There are new concepts (such as dealing with the filesystem) that must be learned, but all the key JavaScript core is there. Other backend languages can handle all the same problems that Node does, but the convenience of Node to a JS programmer is that you are able to dive into the backend with the same language that you learned the frontend on. This helps you to really grasp the intricacies of the backend in a language you are familiar with because you aren't worried about the syntax mistakes of diving into a new language such as PHP, Ruby, Python, etc.. It is as good, if not better at handling backend tasks as those other languages in particular instances due to its non-blocking, asynchronous, event-driven nature, but like anything it depends on what it will be used for. It is really great for DIRT(data intensive real-time) applications for instance, but in instances where it isn't doing very many asynchronous tasks it might be overkill. That's where some of the other lightweight, backend languages shine.
Nicholas Grenwalt
46,626 PointsAnytime Rohit. Here to help. Keep up the coding!
Tyler Durden
2,406 Points+1 for the explanation, thank you
Rohit Thorat
12,191 PointsRohit Thorat
12,191 PointsThank you so much for such an easy explanation .