Professional Documents
Culture Documents
Day 1
Day 1
Day 1
A - default web application framework fro Node js (Front End framework SPA -> Single Paged
Applications)
------------------------------------------------------------------------------------------------------------------------
Mongo DB :
Document oriented database that provides high performance , high availability , and easy scalibility
NoSQL means Non - Relational Databases. It stores data in the form of JSON (actually BSON) documents.
BSON is a binary representation of the JSON files , It stores the data in the form of Key- Value Pair.
********************************************************************************
Structure of Mongo DB :
Database is a physical container fro collections . Each database gets it's own set of files on the file system
. A single server can have multiple databases. It is a scheme less database .
Every database comprises of collections (Collection is logical container that organises database
documents)
Collection will have mulitple JSON documents which saves the data in the Key-Value pair .
________________________________________________________________________________
Commands:
show databases
Use database_name
show collections
db.database_name.insertMany([
])
db.database_name.find({})
------------------------------------------------------------------------------------------------------------------------
Node JS
------------------------------------------------------------------------------------------------------------------------
Express JS
It defines a routing table which is used to perform different actions based on HTTP method adn URL
------------------------------------------------------------------------------------------------------------------------
Angular JS:
Angular organise all it's various parts (components , directives , pipes , and services ) into a container .
It has two types of loading i.e. Eager Loading and Lazy Loading . By default eager loading is selected.
Eager loading means loading all the parts of appliaction at the start of the applicaction .
Metadata is data about data i.e. to inform angular about how to treat a class whether to use it as
component,module,pipes or services. These metadata can be also called as Decorators .
Injectable is the decorator for the services .
------------------------------------------------------------------------------------------------------------------------
Typescript
------------------------------------------------------------------------------------------------------------------------
ANGULAR APPLICATIONS :
1) Modules
3) Directives
4) Services
5) Pipes
All the above blocks are to be defined as classes with metadata called as Decorators.
Databinding is a feature not a component . It is of two types one - way and two - way binding .