NET Programming Notes – Units 1 to 3 (MongoDB, React.
js, Angular)
■ Unit 1: Concepts of NoSQL – MongoDB
1.1 Concepts of NoSQL: Advantages and Features
1. Meaning: NoSQL stands for “Not Only SQL.” It is a modern database system used to store unstructured or
semi-structured data, like documents, JSON files, etc. Unlike SQL, it doesn’t require fixed tables or schemas.
2. Advantages: It handles large volumes of data, provides high speed, horizontal scalability, and supports
real-time analytics — perfect for big applications like Facebook or Netflix.
3. Example:
{ name: "Amit", age: 22, course: "BCA" }
1.1.1 MongoDB Datatypes
String: Used to store any sequence of characters such as words, sentences, or text values.
Example: { "name": "Amit Choudhary" }
Integer: Represents whole numbers without decimals.
Example: { "age": 21 }
Boolean: Stores either true or false.
Example: { "isActive": true }
Double: Stores floating-point numbers.
Example: { "price": 499.99 }
Array: Holds multiple values in one field.
Example: { "skills": ["JavaScript", "React", "[Link]"] }
Object: Nested documents.
Example: { "address": { "city": "Delhi", "pincode": 110001 } }
© 2025 | Prepared by Amit Choudhary | For Educational Use Only
NET Programming Notes – Units 1 to 3 (MongoDB, [Link], Angular)
■ Unit 2: Fundamentals of [Link]
2.1 Overview of React
[Link] is a JavaScript library created by Facebook to build fast and dynamic UIs. It uses components—small,
reusable blocks forming a full webpage.
Example: Navbar, Sidebar, or Footer can each be separate React components.
2.1.1 Concepts of React
React works on Virtual DOM, updating only the changed part of the page. UI is divided into components.
Example:
function Hello() { return <h1>Hello React!</h1>; }
2.1.2 Using React with HTML
React uses JSX (JavaScript XML), allowing HTML and JS together.
Example:
const element = <h2>Welcome to React</h2>;
© 2025 | Prepared by Amit Choudhary | For Educational Use Only
NET Programming Notes – Units 1 to 3 (MongoDB, [Link], Angular)
■ Unit 3: Fundamentals of Angular
3.1 Concepts and Characteristics
Angular is a framework developed by Google for building dynamic web apps. It’s component-based and uses
TypeScript.
3.1.1 TypeScript Overview
TypeScript is a superset of JS adding type safety.
Example:
let age: number = 21;
3.3 Angular Core Features
Angular apps are made of components defining HTML templates and logic.
Example:
@Component({ selector: 'app-hero', templateUrl: './[Link]' })
© 2025 | Prepared by Amit Choudhary | For Educational Use Only