Node.js in action

    We suggest starting with Node.js Prototype: Node.js in Action Publisher :: Manning Publications Co The main purpose of the book is to teach the reader how to create and deploy Node applications (web applications). An important part of the book is an examination of the Express web application development environment and the Connect middleware application development environment, which are widely used in application development and are supported by the development community. You will also learn how to develop automated tests and learn how to deploy applications. The book is intended for experienced web application developers who are engaged in the creation of sensitive and scalable Node applications.
    image








    Book structure


    The book consists of three parts.

    Part I discusses the fundamentals of Node.js and the fundamental techniques used to develop applications on this platform. Chapter 1 describes the characteristics of Node and provides code examples. Chapter 2 walks you through the steps of creating a sample application. Chapter 3 discusses the problems encountered in the development of Node applications, provides methods to solve these problems, and describes how to organize the application code.

    Part II, which is the largest in the book, is devoted to the development of web applications. Chapter 4 explores the basics of building Web applications on the Node platform, and Chapter 5 discusses how to save data with Node applications.
    image
    In addition, in Part II, we continue our introduction to the world of web application development environments. Chapter 6 provides an introduction to Connect, its benefits and how it works. Chapter 7 explores the use of various components that are built into the Connect environment and are designed to add functionality to web applications. In Chapter 8, you will become familiar with the Express environment, and in Chapter 9 you will find more complex issues related to using this development environment.

    Along with the basics of web application development, Part II covers related topics. Chapter 10 discusses various application issues for Node test environments. Chapter 11 discusses templating issues when developing web applications in Node, which allows you to separate the presentation of data from program logic.

    Part III discusses the tasks that the Node platform can also solve (in addition to developing web applications). Chapter 12 talks about deploying Node applications on production servers, supporting uptime and maximizing performance. Chapter 13 explains how non-HTTP applications can be created, how to use Socket.io to create real-time applications, and how to use the numerous application programming interfaces built into Node. The final chapter 14 discusses the functioning of the Node community and the publication of Node applications using the Node Package Manager.

    Rules for designing and downloading code samples


    The code examples provided in the book are executed in accordance with the standard agreement on the design of JavaScript code. To create indents in the code, spaces are used instead of tabs. There is a code line length limit of 80 characters. The code in the listings is accompanied by comments that illustrate key concepts.

    Each instruction takes a separate line and ends with a semicolon. Blocks of code that contain multiple instructions are enclosed in braces. The left curly bracket is in the first (opening) line of the block. The right curly bracket closes the code block and is at the same level as the opening bracket. Sample code used in the book can be downloaded from manning.com/Node.jsinAction

    Table of Contents
    Excerpt

    Bookavailable in paper and electronic form. For habrozhiteli 12% discount on the coupon - e589e0517472d391

    Also popular now: