Sage-Code Laboratory

Server Side

Running JavaScript on server side require a virtual machine. The most popular JavaScript engine for server side programming is Node.JS. To make web apps using Node.js we need additional frameworks on top of Node.js.

Page bookmarks:

Learning Node

Node enables you to build a dynamic website using JavaScript. It is an event-driven machine. It has an event loop that is hidden. Node enable creation of many connections that can work concurrently. It uses callback function to handle the connections, but if there is no work to be done, Node.js will sleep.

Node is an asynchronous event-driven JavaScript runtime virtual machine. It is designed to build scalable network applications. This virtual machine is based on V8 JavaScript Engine made by Google.

Learning Express

You can not create a website using just NodeJS. A website needs an application server. Next we describe such an application that is available for you to use with JavaScript and HTML to create and serve faster dynamic websites that scale.

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. Express provides a thin layer of web application features, without obscuring Node.js functionality.

Learning MongoDB

One of most important components for a website is the database. If you chose a relational database there is a problem for developers called impedance mismatch. To avoid this factor there is a new technology available called noSQL database. One of this is MongoDB.

MongoDB is a document database designed for application development using JavaScript. It is created in Go language and is very fast. It enable developers to focus on program first in contrast to database first approach that is default practice in data centric applications.

Read next: Tutorial Index