The Node Craftsman Book
The Node Craftsman Book
$23.00
Minimum price
$23.00
Suggested price
The Node Craftsman Book

This book is 100% complete

Completed on 2017-11-18

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!

About the Author

Manuel Kiessling
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.

Bundles that include this book

Build APIs You Won't Hate
The Node Craftsman Book
2 Books
$52.99
Suggested Price
$39.99
Bundle Price
The Node Beginner Book
The Node Craftsman Book
2 Books
$29.00
Suggested Price
$9.00
Bundle Price
Hands-on Node.js
The Node Beginner Book
The Node Craftsman Book
3 Books
$40.99
Suggested Price
$30.00
Bundle Price

Table of Contents

  •  
    • Special notice
    • Preface
      • About
      • Status
      • Notes on code formatting
      • Intended audience
  • Part 1: Node.js basics in detail
    • Introduction to Part 1
    • Working with NPM and Packages
    • Test-Driven Node.js Development
    • Object-oriented JavaScript
      • Blueprints versus finger-pointing
      • A classless society
      • Creating objects
      • Object-orientation, prototyping, and inheritance
      • A classless society, revisited
      • Summary
    • Synchronous and Asynchronous operations explained
      • Visualizing the Node.js execution model
      • Blocking and non-blocking operations
    • Using and creating Event Emitters
      • Introduction
      • Creating your own Event Emitter object
      • Summary
    • Optimizing code performance and control flow management using the async library
      • Executing expensive asynchronous background tasks in parallel
      • Optimizing code structure with async
    • Efficient real-time web applications with the WebSocket protocol
      • Where WebSocket connections beat HTTP connections
      • How WebSocket connections work
      • How to use WebSocket connections in your web application
      • Extending the application
    • Node.js and MySQL
      • Using the “mysql” library
      • A first database application
      • Using the Streaming API
      • Making SQL queries secure against attacks
      • Summary
    • Node.js and MongoDB
      • Some MongoDB basics
      • Applying CRUD operations with the low-level mongodb driver
      • Retrieving specific documents using filters
      • More complex update operations
      • Working with indexes
      • Querying collections efficiently
      • Summary
  • Part 2: Building a complete web application with Node.js and AngularJS
    • Introduction
      • The requirements from a user’s perspective
      • High level architecture overview
      • Setting up the development environment
    • Milestone 1: A first passing test against the server
    • Milestone 2: The API responds with actual database content
      • Abstracting database access
      • Ensuring a clean slate for test runs
      • Completing the first spec
    • Milestone 3: Setting the stage for a continuous delivery workflow
      • Introducing automatic database migrations
    • Milestone 4: Giving users a frontend
      • Setting up frontend dependencies through bower
      • Serving the frontend through the backend server
      • Adding the frontend code
      • Adding AngularJS view templates
    • Milestone 5: More work on the backend
      • Adding a route for retrieving categories
      • Making the backend recognize different environments
    • Milestone 6: Completing the backend and finalizing the application
      • Creating the route for adding new keywords
      • Creating the route for updating keywords
      • Creating the route for deleting keywords
    • Summary
    • Epilogue
    • One last thing…

The Leanpub 45-day 100% Happiness Guarantee

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

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! 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. It really is that easy.

Learn more about writing on Leanpub