- 浏览: 316393 次
- 性别:
- 来自: 长沙
文章分类
最新评论
-
完善自我:
支持一下!
揭秘IT人才特点:中美印日四国程序员比较 -
悲剧了:
好文,看玩thinking in java的提到的异常处理,看 ...
高效的Java异常处理框架(转) -
yin_bp:
开源框架bbossgroups页支持组件异步方法调用哦,详情请 ...
Spring 3中异步方法调用 -
flyjava:
sun的悲哀
Apache怒了,威胁说要离开JCP
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
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?
Rauch: 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
发表评论
-
Web编程是函数式编程
2010-11-30 13:44 1067任何一位在两个领域里 ... -
如何开发Web应用程序
2010-11-30 13:41 1125这是一个经常被问到的 ... -
设计Web应用程序时要注意可伸缩性
2010-11-26 09:19 940Max Indelicato是一位软件 ... -
Web 2.0应用客户端性能问题十大根源
2010-11-25 20:19 1041Web 2.0应用的推广为用户带来了全新的体验,同时也让开 ... -
HTML压缩(JSP的GZIP实现)
2010-11-24 22:31 4939HTTP 压缩可以大大提高浏览网站的速度,它的 ... -
浏览器加载和渲染html的顺序
2010-11-22 09:45 25771.浏览器加载和渲染html的顺序 1、IE下载的顺序是从上到 ... -
在服务端合并和压缩JavaScript和CSS文件
2010-11-22 09:16 1148Web性能优化最佳实践中最重要的一条是减少HTTP请求 ... -
用 YUI Compressor 压缩和混淆 JS 和 CSS
2010-11-22 09:05 2378一、简介: 目前开发Web应用Javas ... -
如何缓存DWR生成的JS文件
2010-11-18 17:37 1968DWR provides a convenient mec ... -
HTTP状态一览
2010-11-17 22:43 774在网站建设的实际应用中,容易出现很多小小的失误,就像m ... -
两款HTTP流量分析工具的比较:HTTP Watch,Fiddler
2010-11-17 17:26 0做Web开发或者Web分析经常需要查看Http通讯的过程, ... -
了解CSS的查找匹配原理,让CSS更简洁、高效
2010-11-17 16:49 0用了这么多年的CSS,现在才明白CSS的真正匹配原理,不知 ... -
高性能WEB开发 - flush让页面分块,逐步呈现
2010-11-17 16:47 0在处理比较耗时的请求的时候,我们总希望先让用户先 ... -
WEB高性能开发 - 疯狂的HTML压缩
2010-11-17 16:46 0前言: ... -
该如何加载google-analytics(或其他第三方)的JS
2010-11-17 16:44 0很多网站为了获取用户访问网站的统计信息,使用了go ... -
高性能WEB开发 - 页面呈现、重绘、回流。
2010-11-17 15:57 0页面呈现流程 在讨论页面重绘、回流之前。需要 ... -
高性能WEB开发 - JS、CSS的合并、压缩、缓存管理
2010-11-17 15:54 0本篇文章主要讨论下目前JS,CSS 合并、压缩、缓存 ... -
高性能WEB开发- 减少请求,响应的数据量
2010-11-17 15:49 0上一篇中我们说 ... -
高性能WEB开发 - 为什么要减少请求数,如何减少请求数!
2010-11-17 15:42 0http请求头的数据量 我们先分析下 ... -
高性能web开发 - 如何加载JS,JS应该放在什么位置?
2010-11-17 15:39 0外部JS的阻塞下载 所有浏览器在下载JS的时候, ...
相关推荐
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 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 ...
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 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...
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 ...
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...
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-...
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》这本书是针对开发者的一份深入学习Node.js的专业指南,发布于2013年11月。它旨在帮助程序员充分利用Node.js这一强大的JavaScript运行环境,从而在服务器端开发中实现...
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》是一本面向PHP开发者的书籍,旨在帮助他们理解和掌握Node.js这一流行的服务器端JavaScript平台。Node.js的出现改变了服务器端编程的传统模式,使得开发者可以在不需要传统Web服务器如...
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 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...
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 ...