Автор: Don Nguyen
Название: Jump Start Node.js: Get Up to Speed With Node.js in a Weekend
Издательство: SitePoint
Год: 2012
ASIN: B00TJ6UY8Y
Язык: English
Формат: epub, pdf(conv)
Размер: 10,7 mb
Страниц: 150
What make Node.js different? First, it provides a unified language between the back end and front end. This means that all your thinking can be in a single language, with no cognitive overhead when switching from front end to back. Furthermore, it allows for shared code libraries and templates. This opens up a lot of interesting possibilities, the surface of which is just beginning to be properly explored.
Second, it's fast. One of the common complaints of interpreted languages such as PHP, Python, and Ruby is speed. Jason Hoffman, CTO of Joyent, has discussed how Node.js is at the point where its performance can break operating systems. A single core with less than 1GB of RAM is capable of handling 10GB of traffic and one million connected end points. Combining 24 of these into a single machine produces an overall level of throughput that exceeds the capacity of operating systems and TCP IP stacks. In other words, with a properly designed application it’s not Node.js that’s the bottleneck—it's your operating system.
Third, its nonblocking architecture is made for the real-time web. javascript was chosen as a language because it’s based on nonblocking callbacks and has a very small core API. This means it was possible to build the entire Node.js ecosystem around nonblocking packages, of which there are currently in excess of ten thousand. The end result is a platform and ecosystem that architecturally fits perfectly with the modem demands of the real-time web.
Read this book and, in a weekend, you’ll learn how to:
– Develop a complete working Node.js application - from start-to-finish
– Deploy your new application to a production server
– Scale your projects quickly and cheaply
PLUS discover how to use Twitter Bootstrap, MongoDB and Back-bone.js to create fancy web apps, extend their storage, and dy-namically update them.