`

Why Developers Should Pay Attention to Node.js

阅读更多

his post is part of our ReadWriteHack channel, which is a resource and guide for developers. The channel is sponsored by the Intel AppUp Developer Program . As you're exploring these resources, check out this helpful resource from our sponsors: AIR for AppUp: What You Need To Know

nodejs_logo.jpg There's a substantial amount of buzz and enthusiasm right now about Node.js . So what is it, and why should you care about it (well, other than "I said so")?

ReadWriteWeb chatted with Javascript developer Guillermo Rauch, co-founder and CTO of LearnBoost in order to get some insights.

ReadWriteWeb: So, what is Node.js?

Rauch: Node.js is a framework for building networked applications in JavaScript outside of the browser. It leverages   V8 , the super fast JavaScript engine by Google. JavaScript happens to be a great fit for writing servers due to its event-driven nature. You not only benefit from the speed of V8, but most of the times, the Node.js/JavaScript paradigms make you write code that is fast by design.

ReadWriteWeb: Why should developers care?

Rauch: First of all, most web developers are already using jQuery, MooTools, or similar frameworks to leverage JavaScript on the browser. That means they'll be instantly familiar with Node.js, even though it's a different environment with unique idioms and constructs.

Secondly, thanks to the expressiveness of JavaScript and the concise yet powerful Node.js API, you can build programs that have been typically considered out of reach or too time consuming. The "Hello world" of Node is writing your own HTTP server.

And lastly, you won't be alone. Node.js has already managed to capture the attention of thousands of developers on GitHub , and hundreds of modules are available today. Considering the time it's been around, this is incredibly impressive and in my opinion a testament to the revolution it's starting.

ReadWriteWeb: What are the key benefits of Node.js?

Rauch: There are several:

  • Fast. Powered by the incredible V8 virtual machine, it makes JavaScript execution extremely fast.
  • Fast by design. Most of the applications we're writing today are heavily I/O bound. Because of the event-driven nature of JavaScript (and Node by extension), whatever you write with it is going to be very fast.
  • One language to rule them all. Any serious web applications today will definitely require JavaScript expertise already, in order to make the user experience appealing and the application decent by modern standards (as an example, Facebook or the new Twitter are mostly driven by JavaScript for most interactions). Having the ability to write the backend services (and not just the web backend) in the same language is something extremely attractive.
  • A great fit for the realtime web. Since you take control of the web server, Node.js is uniquely suited for the advance of the realtime web.

ReadWriteWeb: What are some of its drawbacks - and how do you respond to criticisms about Node.js?

Rauch: It's incomplete. Recently, Ryan [Node.js's original author Ryan Dahl ] outlined 9 existing challenges in Node.js at JSConf.eu. As an example, for LearnBoost we had to work around SSL support by offloading it, since Node.js core SSL support is incomplete. Today, Node.js is production ready as long as you know what you're doing.

This is the only problem I see right now. Aside from that, people have criticized how opinionated it is, they've questioned the effectiveness of event-driven programming for writing servers, or they've stated that writing code with callbacks (the essential construct in this kind of programming) can become troublesome.

ReadWriteWeb: So how does this fit into what you're building at LearnBoost?

learnboost_logo.pngRauch: LearnBoost was founded to revolutionize education through web technologies. We want to produce an unique experience that is faster than anything else out there. We want to make teachers, students and parents interact online in real-time. And we want to iterate on it faster than anyone else. Node.js is the perfect environment to nurture this.

As a result, we've developed the Socket.IO real-time framework, the MongoDB ORM Mongoose , the automated cloud testing framework Soda and we maintain Express , the most popular web framework.

If you're interested in pushing the web forward and making profound change in a space as important as education, don't hesitate to email your resumes at guillermo@learnboost.com !

Thanks, Guillermo!

 

原文:http://www.readwriteweb.com/hack/2010/10/why-developers-should-pay-atte.php

分享到:
评论

相关推荐

    Node.js英文书籍2015出版共9本(一次下载)

    Full Stack Javascript - Learn Backbone.js, Node.js and MongoDB (APress 2015).epub Learning Node.js for Mobile Application Development (Packt 2015).pdf Microsoft Press Node.js for .NET Developers (2015...

    Beginning Node.js

    Beginning Node.js is great for front-end developers looking to use Node.js in their websites. If you understand the basics of programming this book will teach you how you can leverage JavaScript to ...

    Learning.Node.js.for..NET.Developers.epub

    Node.js is an open source, cross-platform runtime environment that allows you to use JavaScript to develop server-side web applications. This short guide will help you develop applications using ...

    Node.js.By.Example.1784395714.epub

    Node.js is a JavaScript-driven technology, which means that developers can use the same language to write backend code. Its growing community and the large amount of available modules make Node.js one...

    Server Side development with Node.js and Koa.js

    This book is the ideal introduction for JavaScript developers who want to create scalable server side applications using Node.js and Koa.js. The book shows you how Koa can be used to start projects ...

    Building Scalable Apps with Redis and Node.js(PACKT,2014)

    Node.js is a JavaScript runtime-based, scalable platform used to develop web applications and network programs on the server side. It allows web designers to access the backend of their projects while...

    Node.js Design Patterns_Second Edition

    The book is meant for developers and software architects with a basic working knowledge of JavaScript who are interested in acquiring a deeper understanding of how to design and develop enterprise-...

    Node.js英文书籍2013出版共9本(一次下载)

    Learning Node.js, A Hands-on Guide to Building Web Applic. in JavaScript, (A-Wesley 2013).pdf Mastering Node.js By Sandro Pasquali (Packt 2013).pdf Node.js for PHP Developers (OReilly 2013).pdf Node....

    Apress.Pro.Node.js.for.Developers.Nov.2013.rar

    《Apress.Pro.Node.js.for.Developers.Nov.2013》这本书是针对开发者的一份深入学习Node.js的专业指南,发布于2013年11月。它旨在帮助程序员充分利用Node.js这一强大的JavaScript运行环境,从而在服务器端开发中实现...

    Node.js High Performance.pdf

    Node.js is a tool written in C, which allows you to use JavaScript on the server-side. High performance on a platform like Node.js is knowing how to take advantage of every aspect of your hardware, ...

    [英文] Node.js for PHP Developers

    《Node.js for PHP Developers》是一本面向PHP开发者的书籍,旨在帮助他们理解和掌握Node.js这一流行的服务器端JavaScript平台。Node.js的出现改变了服务器端编程的传统模式,使得开发者可以在不需要传统Web服务器如...

    Learning Node.js for .NET Developers(PACKT,2016)

    Node.js is an open source, cross-platform runtime environment that allows you to use JavaScript to develop server-side web applications. This short guide will help you develop applications using ...

    Pro REST API Development with Node.js(Apress,2015)

    Pro REST API Development with Node.js is your guide to managing and understanding the full capabilities of successful REST development. API design is a hot topic in the programming world, but not many...

    Practical Node.js: Building Real-World Scalable Web Apps, 2nd Edition

    Web developers who have some familiarity with the basics of Node.js and want to learn how to use it to build apps in a professional environment. Table of Contents Chapter 1: Setting up Node.js and ...

Global site tag (gtag.js) - Google Analytics