Book description
Node.js is the platform of choice for creating modern web services. This fast-paced book gets you up to speed on server-side programming with Node.js 8, as you develop real programs that are small, fast, low-profile, and useful. Take JavaScript beyond the browser, explore dynamic language features, and embrace evented programming.Harness the power of the event loop and non-blocking I/O to create highly parallel microservices and applications. This expanded and updated second edition showcases the latest ECMAScript features, current best practices, and modern development techniques.
JavaScript is the backbone of the modern web, powering nearly every web app's user interface. Node.js is JavaScript for the server. This greatly expanded second edition introduces new language features while dramatically increasing coverage of core topics. Each hands-on chapter offers progressively more challenging topics and techniques, broadening your skill set and enabling you to think in Node.js.
Write asynchronous, non-blocking code using Node.js's style and patterns. Cluster and load balance services with Node.js core features and third-party tools. Harness the power of databases such as Elasticsearch and Redis. Work with many protocols, create RESTful web services, TCP socket clients and servers, and more. Test your code's functionality with Mocha, and manage its life cycle with npm. Discover how Node.js pairs a server-side event loop with a JavaScript runtime to produce screaming fast, non-blocking concurrency. Through a series of practical programming domains, use the latest available ECMAScript features and harness key Node.js classes and popular modules. Create rich command-line tools and a web-based UI using modern web development techniques.
Join the smart and diverse community that's rapidly advancing the state of the art in JavaScript development.
What You Need:
Publisher resources
Table of contents
- Acknowledgments
- Preface
- Part I. Getting Up to Speed on Node.js 8
- Part II. Working with Data
-
Part III. Creating an Application from the Ground Up
-
7. Developing RESTful Web Services
- Advantages of Express
- Serving APIs with Express
- Writing Modular Express Services
- Keeping Services Running with nodemon
- Adding Search APIs
- Simplifying Code Flows with Promises
- Manipulating Documents RESTfully
- Emulating Synchronous Style with async and await
- Providing an Async Handler Function to Express
- Wrapping Up
-
8. Creating a Beautiful User Experience
- Getting Started with webpack
- Generating Your First webpack Bundle
- Sprucing Up Your UI with Bootstrap
- Bringing in Bootstrap JavaScript and jQuery
- Transpiling with TypeScript
- Templating HTML with Handlebars
- Implementing hashChange Navigation
- Listing Objects in a View
- Saving Data with a Form
- Wrapping Up
- 9. Fortifying Your Application
-
7. Developing RESTful Web Services
- 10. BONUS: Developing Flows with Node-RED
- A1. Setting Up Angular
- A2. Setting Up React
Product information
- Title: Node.js 8 the Right Way
- Author(s):
- Release date: January 2018
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680501957
You might also like
book
Node.js the Right Way
Get to the forefront of server-side JavaScript programming by writing compact, robust, fast, networked Node applications …
book
Your First Week With Node.js, 2nd Edition
While there have been quite a few attempts to get JavaScript working as a server-side language, …
book
Learning Node.js Development
A comprehensive, easy-to-follow guide to creating complete Node apps and understanding how to build, deploy, and …
book
Pro Express.js
Pro Express.js is for the reader who wants to quickly get up-to-speed with Express.js, the flexible …