MEAN Full Stack Developer Day 01

Node.js - It has a build in web server. It is single threaded.
It takes in a request and pass on to the best person who deal with it . For this single threaded approach to work the code should be non blocking.
Simple principle : - You can do more with fewer resources hence more efficient.
This approach is possible in Node.js due to the asynchronous capabilities of java script.

Express is Node.js web framework.It has the ability to use sessions.

MongoDB is a document based database. Less structured. Hence a document will have a wide variety of data.Documents are stored in BSON format. JSON is a javascript way of holding data. 
Secondary indexing is possible in Mongo hence faster.It is not a transactional database.

AngularJS helps to put together the HTML based on the data provided. It immediately updates the HTML when data changes and also updates the data when the HTML changes, which is also called 2 way bindings.

In 2 way binding the template for the view and data are send to browser. The browser compiles the template into a view and data into a model.
This enables loose coupling.

Single page apps are distinguished by their ability to redraw any part of the UI without requiring a server roundtrip to retrieve HTML. This is achieved by separating the data from the presentation of data by having a model layer that handles data and a view layer that reads from the models.

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days