The Node Craftsman Book

Become a Node.js craftsman.
Preview in Mapt

The Node Craftsman Book

Manuel Kiessling

1 customer reviews
Become a Node.js craftsman.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


The Node Craftsman Book Book Cover
The Node Craftsman Book
$ 31.99
$ 22.40
The Complete Guide to Node.js [Video] Book Cover
The Complete Guide to Node.js [Video]
$ 74.99
$ 63.75
Buy 2 for $35.00
Save $71.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781787128149
Paperback186 pages

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.

Table of Contents

Chapter 1: Part 1: Node.js Basics in Detail
Introduction to Part 1
Chapter 2: Working with NPM and Packages
Chapter 3: Test-driven Node.js Development
Chapter 4: Object-oriented JavaScript
Blueprints versus finger-pointing
A classless society
Creating objects
Object-orientation, prototyping, and inheritance
Summary
Chapter 5: Synchronous and Asynchronous Operations Explained
Visualizing the Node.js execution model
Blocking and non-blocking operations
Chapter 6: Using and Creating Event Emitters
Introduction
Creating your own event emitter object
Summary
Chapter 7: Optimizing Code Performance and Control Flow Management Using the Async Library
Executing expensive asynchronous background tasks in parallel
Optimizing code structure with async
Chapter 8: Node.js and MySQL
Using the mysql library
A first database application
Using the Streaming API
Making SQL queries secure against attacks
Summary
Chapter 9: 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
Chapter 10: Part 2: Building a Complete Web Application with Node.js and Angular
Introduction
The requirements from a user's perspective
High level architecture overview
Setting up the development environment
Chapter 11: Milestone 1 – A First Passing Test Against the Server
Chapter 12: Milestone 2 – The API Responds with Actual Database Content
Abstracting database access
Ensuring a clean slate for test runs
Completing the first spec
Chapter 13: Milestone 3 – Setting the Stage for a Continuous Delivery Workflow
Introducing automatic database migrations
Chapter 14: 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
Chapter 15: Milestone 5 – More Work on the Backend
Adding a route for retrieving categories
Making the backend recognize different environments
Chapter 16: 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

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

Authors

Table of Contents

Chapter 1: Part 1: Node.js Basics in Detail
Introduction to Part 1
Chapter 2: Working with NPM and Packages
Chapter 3: Test-driven Node.js Development
Chapter 4: Object-oriented JavaScript
Blueprints versus finger-pointing
A classless society
Creating objects
Object-orientation, prototyping, and inheritance
Summary
Chapter 5: Synchronous and Asynchronous Operations Explained
Visualizing the Node.js execution model
Blocking and non-blocking operations
Chapter 6: Using and Creating Event Emitters
Introduction
Creating your own event emitter object
Summary
Chapter 7: Optimizing Code Performance and Control Flow Management Using the Async Library
Executing expensive asynchronous background tasks in parallel
Optimizing code structure with async
Chapter 8: Node.js and MySQL
Using the mysql library
A first database application
Using the Streaming API
Making SQL queries secure against attacks
Summary
Chapter 9: 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
Chapter 10: Part 2: Building a Complete Web Application with Node.js and Angular
Introduction
The requirements from a user's perspective
High level architecture overview
Setting up the development environment
Chapter 11: Milestone 1 – A First Passing Test Against the Server
Chapter 12: Milestone 2 – The API Responds with Actual Database Content
Abstracting database access
Ensuring a clean slate for test runs
Completing the first spec
Chapter 13: Milestone 3 – Setting the Stage for a Continuous Delivery Workflow
Introducing automatic database migrations
Chapter 14: 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
Chapter 15: Milestone 5 – More Work on the Backend
Adding a route for retrieving categories
Making the backend recognize different environments
Chapter 16: 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

Book Details

ISBN 139781787128149
Paperback186 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

The Complete Guide to Node.js [Video] Book Cover
The Complete Guide to Node.js [Video]
$ 74.99
$ 63.75
Node.js Essentials Book Cover
Node.js Essentials
$ 19.99
$ 14.00
Programming the BeagleBone Book Cover
Programming the BeagleBone
$ 23.99
$ 16.80
Android for the BeagleBone Black Book Cover
Android for the BeagleBone Black
$ 14.99
$ 10.50
Swift: Mastering the Core Concepts [Integrated Course] Book Cover
Swift: Mastering the Core Concepts [Integrated Course]
$ 124.99
$ 106.25
The Microsoft Outlook Ideas Book Book Cover
The Microsoft Outlook Ideas Book
$ 14.99
$ 10.50