Lecture 2
Lecture 2
Load a single HTML page and dynamically update content as the user
interacts with the application.
Dynamic framework that covers the interaction with the user by the
updated data within the existing page without loading totally new
pages from the server.
Examples: Gmail, Google Maps.
Multi-page Applications
Layered Architecture
One-tiered architecture
Two-tier architecture
Three-tiered architecture
N-Tiered architecture
Monolithic architecture
Microservices architecture
Layered Architecture
The entire application, including the user interface, business logic, and
data access code, is bundled into a single software package.
Advantages: Simple deployment, easy to develop for small applications.
Disadvantages: Hard to scale, difficult to maintain as the application
grows.
Use Cases: Small, simple applications or prototypes.
Two-tiered architecture
VS Code (https://code.visualstudio.com/docs/setup/windows)
Node js (https://nodejs.org/en)
node –v (on terminal/command prompt)
Npm