Node.js applications are designed to maximize throughput and efficiency, using non-blocking I/O and asynchronous events. Node.js applications run single-threaded, although Node.js uses multiple threads for file and network events.
In this course, you will get introduced to Node.js. You will learn how to install, configure and run the server and how to load various modules.
Additionally, you will build a sample application from scratch and also get your hands dirty with Node.js command line programming.
About the Author
Piyas is a Sun Microsystems Certified Enterprise Architect with more than 10 long years of professional IT experience in various areas such as Architecture Definition, Enterprise Application, Client-server/ e-business solutions. He possesses hands on experience to handle a wide range of databases ranging from PostGreSQL, SQL Server7.0/2000, Oracle 8i, 10g to Sybase, MySQL and NoSQL databases like MongoDB.
He learns and writes about different aspects of open source technologies like Angular.js, Node.js, MongoDB, Google DART, Apache Lucene, Text Analysis with GATE and related Big Data technologies in his blog (www.phloxblog.in).
In the first lesson of the course, you will get your hands dirty with installing Node.js on a variety of platforms (Windows/Linux) and in a variety of ways (building from source / installing binaries). Moreover, you will see how to leverage Node.js and how to quickly build a simple Web server that can handle and process HTTP requests, all with a few lines of code.
In this lesson, you will get to understand how Node.js really works. You will get acquainted with the underlying Event Driven Programming model and the non blocking I/O functionality. Next, you will learn about the Read-Eval-Print-Loop (REPL), which is an interactive console that lets you execute various commands. You will also read about the Node Package Manager (NPM) which is responsible for managing the libraries repository. Finally, the Event Driven Programming which Node.js uses is introduced and the concepts of asynchronous execution are explained.
In this lesson, we will focus on some of its core components, namely Modules and Buffers. Node.js is modular and we can plug-in various third party libraries as modules. With buffers, we can handle binary data in an effective and efficient manner. Finally, we will also have a first look in the Node.js event based architecture.
In this lesson, we will use Express.js, a powerful web development framework for the Node.js (Node) platform. Express.js comes with the rest of the Node.js middleware modules and it can be used in order to develop any kind of web application, from simple to complex ones. We will explore the various Express.js objects, the underlying concepts and we will also built a sample web application with NeDB as the backend.
In this lesson, we will discuss about node.js command line programming. We will create a sample program which processes any file and interacts with users.
Make sure to retweet this, let your social followers know!
— Java Code Geeks (@javacodegeeks) October 16, 2015