← /notes
Back-End Servers & Stacks
Definition
The hardware and operating system that host the application logic, web server, and database. It represents the Data Access Layer in the three-tier architecture.
Software Components
A server typically hosts:
- Web Server (Apache, Nginx)
- Database (MySQL, SQL Server)
- Development Framework (PHP, .NET, Django)
- Extra Layers: Hypervisors, Containers (Docker), and WAFs.
Popular Solution Stacks
- LAMP: Linux, Apache, MySQL, PHP.
- WAMP: Windows, Apache, MySQL, PHP.
- WINS: Windows, IIS, .NET, SQL Server.
- XAMPP: Cross-Platform, Apache, MySQL, PHP/Perl.
Hosting & Scalability
- On-Premise: Running on a single physical server.
- Cloud/Virtualization: Using services like AWS/GCP or Containers (Docker) to distribute load and isolate components.