The Node Craftsman Book

The Node Craftsman Book
by Manuel Kiessling / / / AZW3


Read Online 776.4 KB Download


Key Features

This book will help readers to dive deeper into software development with Node.js and JavaScript

Takes a craftsman approach to Node.js and object-orientation and test-driven development

Crafts many of the small details of Node.js and through to fully-fledged web applications with REST

Book Description

The Node Craftsman Book helps JavaScript programmers with basic Node.js knowledge to now thoroughly master Node.js and JavaScript. This book dives you deeper into the craft of software development with Node.js and JavaScript, incuding object-orientation, test-driven development, database handling, web frameworks, and much more.

The Node Craftsman Book shows you how to work with Node.js and how to think deeply about how you build your Node projects. You'll master how to build a complete Node.js application across six crafting milestones, and you'll learn many specific skills to achieve that mastery. These skills include how to work with the Node Package Manager in depth, how to connect your Node applications to databases, and how to write unit tests and end-to-end tests for your code. You'll experience the full Node.js development picture, and learn how to craft and control your Node.js applications - right through to fully-fledged web applications using REST, and integration with Angular applications.

What you will learn

How to connect to databases like MongoDB and MySQL from your Node.js application

How to unit tests and end-to-end tests for your code

When and how to leverage migrations for setting up a continuous deployment workflow

Detailed insight into how the Node Package Manager, NPM works

How object-orientation actually works in JavaScript

Ways to keep your code fast and efficient using asynchronous and non-blocking operations

How to use and create event emitters

How to use REST frameworks to write full-fledged web applications

How to integrate Node.js with Angular

About the Author

Manuel Kiessling is a software developer and IT manager living in Cologne, Germany. He's interested in Behaviour- and Test-Driven Development and Agile practices. Manuel has authored many successful books including The Node Beginner Book, and Beginning Mobile App Development with React Native.

Table of Contents

Working with NPM and Packages

Test-driven Node.js Development

Object-oriented JavaScript

Synchronous and Asynchronous Operations Explained

Using and Creating Event Emitters

Optimizing Code Performance and Control Flow Management Using the Async Library

Node.js and MySQL

Node.js and MongoDB

Milestone 1 – A First Passing Test against the Server

Milestone 2 – The API Responds with Actual Database Content

Milestone 3 – Setting the Stage for a Continuous Delivery Workflow

Milestone 4 – Giving Users a Frontend

Milestone 5 – More Work on the Backend

Milestone 6 – Completing the Backend and Finalizing the Application

views: 856