CST 8326

Express

ASYNC + NODE 

Express DB

USER Authentication

Express:

Node.js web framework provides (top to bottom)

  • routing system

  • middleware pipeline

  • response utilities

  • template integration (Pug, etc.)

Request → Middleware → Route → Response


Middleware

Functions that run before the final response

Signature:

(req, res, next)

  • modify req/res

  • stop request (res.send)

  • pass control (next())

  • No next() AND no res.send() → request hangs

  • next() → continues flow

  • res.

...

See on Student Notes »

data warehousing

Difference Between Data Warehouse and Data Mart

Basis Data Warehouse Data Mart
Scope Entire organization Specific department
Size Large Small
Data All business data Subject-specific data
Users Whole organization Department users
Cost High Low
Time More implementation time Less implementation time
Complexity Complex Simple

Conclusion:

  • Data Warehouse stores organization-wide data.

  • Data Mart stores department-specific data.

👉 Warehouse = Whole company
👉 Mart = One department

...

See on Student Notes »

Anatomia

Parte 1: Introdução e Terminologia Básica

Esta parte é o "dicionário" da anatomia. É fundamental entender esses conceitos para conseguir descrever onde qualquer estrutura está no corpo humano.

1. Posição Anatômica de Referência

Sempre que descrevemos o corpo, imaginamos ele nesta posição padrão:

  • Postura: Indivíduo de pé (bípede/ereto).

  • Rosto e Olhar: Direcionados para frente (horizonte).

  • Membros Superiores: Estendidos ao longo do tronco, com as palmas das mãos voltadas

...

See on Wikiteka »

English

⭐ 1. Ohm’s Law + Series & Parallel (VERY IMPORTANT)

Q: State Ohm’s Law and derive formulas for series and parallel combination of resistors.

Answer:

Ohm’s Law:
Ohm’s Law states that current through a conductor is directly proportional to the potential difference across its ends provided temperature remains constant.

Formula:
V = IR


Series Combination:

In series circuit, resistors are connected end to end.

  • Same current flows through all resistors
  • Total voltage is sum of individual voltages
...

See on Student Notes »

BBM 3rd year

In the modern world, business activities are no longer limited within the boundaries of one country. With globalization, transportation, communication, and technology, companies can buy, sell, invest, and operate across nations. This type of business is known as international business. It plays a major role in economic development, employment generation, technology transfer, and global cooperation.

International business refers to all commercial activities such as trade, investment, production,

...

See on Student Notes »

Order

Dear Mr Smith,                                      DATUM!!

Order for tyres

Thank you for your offer of 4 April. We were very pleased with the samples you sent us and the excellent quality of the tyres.

We would now like to place an order for [number] tyres. Details regarding sizes and article numbers can be found in the enclosed order form.

Delivery has to be effected by [date] due to existing orders. Please notify us immediately in case of any delay. We expect careful packaging

...

See on Student Notes »

Huloyu

Packet Filtering Firewall: Filters packets using IP, port, and protocol rules at network layer, providing fast but basic stateless security. Circuit-Level Gateway: Verifies session establishment like TCP handshake at session layer without checking actual data content. Stateful Inspection Firewall: Tracks active connections and uses context-based decisions, offering better security than packet filtering. Application-Level Gateway: Works as a proxy and inspects application data at Layer 7, ensuring

...

See on Student Notes »

biology

1A, 2C, 3B, 4C, 5A, 6C, 7C, 8B ,9A , 10D, 11D, 12A, 13B, 14C, 15C, 16D, 17B

1a. Net Ionic
Pb2+ + 2Cl- → PbCl2(s)

1b.

moles Pb2+ = (0.0150)(0.0500) = 0.00075
moles Cl- = (0.0350)(0.0850) = 0.002975
total volume = 0.0500 L

[Pb2+] = 0.00075 / 0.0500 = 0.0150 M
[Cl-] = 0.002975 / 0.0500 = 0.0595 M

Q = [Pb2+][Cl-]^2   = (0.0150)(0.0595)^2  

= 5.3×10^-5        Ksp = 1.6×10^-5         a indeed precipitate forms

2a. Ksp of Ag2SO4        moles = mass / molar mass
= (7.2×10^-4) / 311.8   

...

See on Wikiteka »

Cheat

RERA or Real Estate (Regulation and Development) Act, 2016 was a significant step in the direction of regulation of the unorganised real estate sector of India. TheRERA Actworks as a guardian of the homebuyer’s rights who have been victimised by fraudulent builders and misleading claims. 

RERA's full form is Real Estate Regulatory Authority. Barring a few, almost all states of India have established State Real Estate Regulatory Authorities (State RERAs) to regulate the real estate sector in

...

See on Wikiteka »