Smashing Node.js
Learn to make more efficient apps, with just one language!
Smashing Node.js: JavaScript Everywhere equips you with the necessary tools to understand Node.js and its uses in developing efficient web apps. With more traditional web servers becoming obsolete, having knowledge on servers that achieve high scalability and optimal resource consumption using Node.js is the key to your app development success. Teaching you the essentials to making event-driven server-side apps, this book demonstrates how you can use less space and take less time for communication between web client and server.
Contains numerous hands-on examples
Explains implementation of real-time apps including Socket.IO and html5, and WebSockets
Addresses practical Node.js advantages from specific design choices
Demonstrates why knowledge and use of JavaScript is beneficial
Includes an interactive online component with sample chapters
Explains components of stand out apps including brevity and benchmarks
Looking to enhance your abilities even further? Smashing Node.js: JavaScript Everywhere makes developing server-side apps accessible with its focus on JavaScript, open source, and easy-to-use language.
From the Back Cover
From the World’s Number One Resource for Web Designers and Developers – The Ultimate Guide to the Technology That’s Taking the Web Development World by Storm
Node.js is a powerful web development framework written in JavaScript that makes it simpler and easier than ever to develop robust, highly-scalable server-side web apps. Smashing Node.js shows you what Node.js is and how to put it to work on your next project. Packed with real-world examples that demonstrate why Node.js is quickly becoming the tool of choice among web developers everywhere, it gets you quickly up and running with the knowledge and skills you need to:
Make sense of Node’s Event-Loop Architecture, Non-Blocking I/O, and Event-Driven Programming
Master the Ins and Outs of Node’s Apis
Effortlessly Implement Real-Time Technologies, Such as Shocket.IO and HTML5 Websockets
Program Apps That Scale Up to Support Vast Numbers of Simultaneous Connections Across Multiple Servers
Leverage Node’s Ability to Support an Array of Database and Data Storage Tools
Write Code That Can Handle Tens of Thousands of Connections at a Time—On One Machine
Interact in Real-Time With Other Developers on a Companion Web Site Featuring Additional Chapters and More Annotated Examples—Source Code Included
Beautifully illustrated with tons of full-color illustrations and packed with useable source code, Smashing Node.js is your total guide to the revolutionary web development tool.
Table of Contents
PART I: GETTING STARTED: SETUP AND CONCEPTS
Chapter 1. The Setup
Chapter 2. JavaScript: An Overview
Chapter 3. Blocking and Non-blocking IO
Chapter 4. Node JavaScript
PART II: ESSENTIAL NODE APIS
Chapter 5. CLI and FS APIs: Your First Application
Chapter 6. TCP
Chapter 7. HTTP
PART III: WEB DEVELOPMENT
Chapter 8. Connect
Chapter 9. Express
Chapter 10. WebSocket
Chapter 11. Socket.IO
PART IV: DATABASES
Chapter 12. MongoDB
Chapter 13. MySQL
Chapter 14. Redis
PART V: TESTING
Chapter 15. Code Sharing
Chapter 16. Testing
Book Details
Paperback: 320 pages
Publisher: Wiley (September 2012)
Language: English
ISBN-10: 1119962595
ISBN-13: 978-1119962595