Node Cookbook: Second Edition - Couverture souple

David Mark Clements

 
9781783280438: Node Cookbook: Second Edition

Synopsis

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 around since the 90s but Node got it right. Node has also been used to create command-line apps as a build tool to generate client-side code, and even to control robots. It has been a major contributor in taking JavaScript from obscurity to ubiquity, unlocking the power of the language outside of the browser.

Node Cookbook Second Edition 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, recipes are designed to allow smooth progression through Node in order to help you design full web applications, command-line applications and Node modules.

Node Cookbook Second Edition takes you through interfacing with various database backends such as MySQL, MongoDB and Redis, working with WebSockets, and interfacing with network protocols like SMTP and DNS. There's also extensive coverage on using popular frameworks like Express 4 and Socket.IO, writing your own Node modules and different ways to take your apps live.

If you want to learn Node with a hands-on, practical approach, and you have a fair grasp of JavaScript basics (or at least a book on JavaScript), then Node Cookbook Second Edition is an ideal platform to start.

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.

Présentation de l'éditeur

Over 50 recipes to master the art of asynchronous serverside JavaScript using Node.js, with coverage of Express 4 and Socket.IO frameworks and the new Streams API

About This Book

  • Work with JSON, XML, web sockets to make the most of asynchronous programming
  • Extensive code samples covering Express 4 and Socket.IO
  • Learn how to process data with streams and create specialized streams
  • Packed with practical recipes taking you from the basics to extending Node with your own modules

Who This Book Is For

If you have some knowledge of JavaScript and want to build fast, efficient, scalable client-server solutions, then Node Cookbook Second Edition is for you. Knowledge of Node will be an advantage but is not required. Experienced users of Node will be able to improve their skills.

What You Will Learn

  • Create different kinds of servers
  • Manipulate all kinds of data
  • Interface with various databases
  • Use streams for efficient, powerful data shuffling
  • Create real-time apps
  • Create command-line apps
  • Write and publish your own modules
  • Work with the Express framework
  • Get to grips with the module ecosystem
  • Explore with external remote APIs
  • Learn various security, encryption, and authentication techniques

In Detail

Node Cookbook Second Edition shows you how to transfer your JavaScript skills to server-side programming. It will talk you through the various server-side scenarios, often saving you time and effort by demonstrating best practices and showing you how to avoid security faux pas.

Beginning with making your own web server, the recipes are designed to allow smooth progression through Node in order to help you design full web applications, command-line applications, and Node modules.

There's also extensive coverage on using popular frameworks such as Express 4 and Socket.IO, writing your own Node modules and different ways to take your apps live.

Biographie de l'auteur

David Mark Clements

David Mark Clements is a JavaScript and Node specialist residing in Northern Ireland. From a very early age he was fascinated with programming and computers. He first learned BASIC on one of the many Atari's he had accumulated by the age of 9. David learned JavaScript at age 12, moving into Linux administration and PHP as a teenager. Now (as a twenty something), he assists multinationals and startups alike with JavaScript solutions and training. Node has become a prominent member of his toolkit due to its versatility, vast ecosystem, and the cognitive ease that comes with fullstack JavaScript. When he's not tinkering with computers, he's spending time with the love of his life, Maxine, and her HuskySpitz cross, Jessi.

Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.