Jump to ratings and reviews
Rate this book

Node Cookbook

Rate this book
Over 50 recipes to master the art of asynchronous server-side JavaScript using Node Overview In Detail The principles of asynchronous event-driven programming are perfect for today's web, where efficient real-time applications and scalability are at the forefront. Server-side JavaScript has been here since the 90's but Node got it right. With a thriving community and interest from Internet giants, it could be the PHP of tomorrow. "Node Cookbook" shows you how to transfer your JavaScript skills to server side programming. With simple examples and supporting code, "Node Cookbook" talks you through various server side scenarios often saving you time, effort, and trouble by demonstrating best practices and showing you how to avoid security faux pas. Beginning with making your own web server, the practical recipes in this cookbook are designed to smoothly progress you to making full web applications, command line applications, and Node modules. Node Cookbook takes you through interfacing with various database backends such as MySQL, MongoDB and Redis, working with web sockets, and interfacing with network protocols, such as SMTP. Additionally, there are recipes on correctly performing heavy computations, security implementations, writing, your own Node modules and different ways to take your apps live. What you will learn from this book Approach As part of Packt's cookbook series, this book is packed with practical recipes that will get you working efficiently with Node from the start. Each chapter focuses on a different aspect of working with Node. Who this book is written for If you have some knowledge of JavaScript and want to build fast, efficient, scalable client-server solutions, then Node Cookbook is for you. Experienced users of Node will improve their skills although even if you have not worked with Node before, these practical recipes will make it easy to get started.

342 pages, Paperback

First published January 1, 2012

50 people are currently reading
89 people want to read

About the author

David Mark Clements

2 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
14 (35%)
4 stars
12 (30%)
3 stars
12 (30%)
2 stars
0 (0%)
1 star
1 (2%)
Displaying 1 - 4 of 4 reviews
7 reviews
July 30, 2014
Node Cookbook is that. A book with a lot of recipes useful for node programmers to improve his/her skills and find better solutions to day by day work.
It covers a lot of interesting stuff like managing stream of files, creating a server, a http request client tool, serialize data in JSON and XML, etc; but not only for web serving pages, but Network paradigms integration, computer background services and tasks.
The author guides us by a top down approach, creating a web server from scratch showing litle by little best practices with node, and finally revealing modules and tools that acomplish that work and are the best suited and most used by the node community.
However this is not a book for a beginner in node, neither a non Javascript skilled developer; a must know issue to not fail buying a node book. Nevertheless, for windows user could be confused sometimes when things don't come up like it's explained, despite the author advises and shows a solution. Not frequenly but accountable issue. An excellent book, well written and a good point to leverage our stater node's skills, though.
Profile Image for Maryam.
43 reviews9 followers
May 25, 2022
I first picked up the book because I wanted to learn about node js file system and streams but I ended up with more than that, the variety of topics added a lot to my knowledge even though it scratched the surface but at least I know where to start, it was simplified, well explained and informative.
Profile Image for Hector.
7 reviews
July 31, 2014
This is an interesting book if you want develop applications in a javascript enviroment, NodeJS is right now a programming environment that is used increasingly in developing all types of web applications, and consists of executing javascript on the server side.

The book is very well structured, talking about how to create a server, to how to create your own modules in node, through HTTP calls, data serialization, use of database, sockets at real-time communications, the express framework for web pages, and security settings on the server.
It's especially suitable for senior profiles in javascript but with the amount of code snippets any developer could create their own applications with nodejs framework.

Highly recommended, now I'll start developing my new website with nodejs, express and mongoDB with the help of the book!
1 review
September 25, 2014
I had the chance of going through Node Cookbook. I was trying my hands on Node.js (with around 1 month of juggling with the paradims of Node.js). I found this book to be useful. It had ample examples for the topics covered and I liked the sections relating to Encryption and Socket.io. Helped me in my project. Overall its a good read.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.