Leanpub Header

Skip to main content

The Node Craftsman Book

An advanced Node.js tutorial

As the official sequel to The Node Beginner Book, this book will help readers to dive deeper into software development with Node.js and JavaScript, including topics like object-orientation, test-driven development, database handling, web frameworks, and much more!

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
1,657
Readers
184
Pages
34,010Words
About

About

About the Book

The aim of The Node Craftsman Book is to help beginning JavaScript programmers who already know how to write basic Node.js applications in mastering JavaScript and Node.js thoroughly.

It is the official sequel to The Node Beginner Book, digging deeper and covering a lot more topics from the world of Node.js and JavaScript development:

  • How can you connect to a database like MongoDB or MySQL from your Node.js application?
  • How do you write unit tests and end-to-end tests for your code?
  • How do you leverage migrations for setting up a continuous deployment workflow?
  • How does the Node Package Manager, NPM, work in detail?
  • How does object-orientation actually work in JavaScript?
  • How do you keep your code fast and efficient by leveraging asynchronous and non-blocking operations?
  • How do you use and create event emitters?
  • How do you write full-fledged web applications using REST frameworks?
  • How do you integrate Node.js with AngularJS?
  • ...and much more!

Share this book

Categories

Price

Pick Your Price...

Minimum price

$23.00

$23.00

You pay

$23.00

Author earns

$18.40
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Manuel Kiessling

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.

Leanpub Podcast

Episode 5

An Interview with Manuel Kiessling

Translations

Translations

Languages

Contents

Table of Contents

Special notice

Preface

  1. About
  2. Status
  3. Notes on code formatting
  4. Intended audience
  5. Part 1: Node.js basics in detail

Introduction to Part 1

Working with NPM and Packages

Test-Driven Node.js Development

Object-oriented JavaScript

  1. Blueprints versus finger-pointing
  2. A classless society
  3. Creating objects
  4. Object-orientation, prototyping, and inheritance
  5. A classless society, revisited
  6. Summary

Synchronous and Asynchronous operations explained

  1. Visualizing the Node.js execution model
  2. Blocking and non-blocking operations

Using and creating Event Emitters

  1. Introduction
  2. Creating your own Event Emitter object
  3. Summary

Optimizing code performance and control flow management using the async library

  1. Executing expensive asynchronous background tasks in parallel
  2. Optimizing code structure with async

Efficient real-time web applications with the WebSocket protocol

  1. Where WebSocket connections beat HTTP connections
  2. How WebSocket connections work
  3. How to use WebSocket connections in your web application
  4. Extending the application

Node.js and MySQL

  1. Using the “mysql” library
  2. A first database application
  3. Using the Streaming API
  4. Making SQL queries secure against attacks
  5. Summary

Node.js and MongoDB

  1. Some MongoDB basics
  2. Applying CRUD operations with the low-level mongodb driver
  3. Retrieving specific documents using filters
  4. More complex update operations
  5. Working with indexes
  6. Querying collections efficiently
  7. Summary
  8. Part 2: Building a complete web application with Node.js and AngularJS

Introduction

  1. The requirements from a user’s perspective
  2. High level architecture overview
  3. Setting up the development environment

Milestone 1: A first passing test against the server

Milestone 2: The API responds with actual database content

  1. Abstracting database access
  2. Ensuring a clean slate for test runs
  3. Completing the first spec

Milestone 3: Setting the stage for a continuous delivery workflow

  1. Introducing automatic database migrations

Milestone 4: Giving users a frontend

  1. Setting up frontend dependencies through bower
  2. Serving the frontend through the backend server
  3. Adding the frontend code
  4. Adding AngularJS view templates

Milestone 5: More work on the backend

  1. Adding a route for retrieving categories
  2. Making the backend recognize different environments

Milestone 6: Completing the backend and finalizing the application

  1. Creating the route for adding new keywords
  2. Creating the route for updating keywords
  3. Creating the route for deleting keywords

Summary

Epilogue

One last thing…

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub