In this lesson, you will learn about LAMP and its components.
LAMP is a software stack used for web development.
A software stack includes everything needed to support an application. A web
development stack must include:
✶ Operating System
✶ Programming Language
Linux is an operating system. An operating system manages the interaction between a device's hardware and software. Windows and OS X are two commonly used operating systems. Linux is a Unix family operating system.
Unix is a multitasking operating system that is designed to be used by multiple users. Businessess often need several users, with different permissions, working on the same operating system. A lot of programming is done on Unix family operating systems. Linux is the most popular.
Linux is also open source. That means the source code is avilable to you. This makes Linux free and customizable. There are many versions of Linux. In this tutorial, we will use Ubuntu Server.
Learning Linux will make you a more marketable programmer.
Apache is the most popular web server software. It is also open source.
A web server uses HTTP (Hypertext Transfer Protocol) to transfer data around the web. HTTP are the rules to do so.
Basically this is how it works. Information for a web site is stored on the server. When a user types a web address it sends a request to the server. The server will process that request and get the page's stored information. Then it serves the page to the user.
MySQL is a database. A database stores information. For example, someone writing web development tutorials might store paragraphs, like you are reading right now, in a database. Databases also store user input. For example, if you fill out an online job application, the information you submit is probably stored in a database.
MySQL is an open source relational database management system that uses SQL (Structured Query Language).
You can think of a MySQL database as being simular to an Excel spread sheet. There are columns and rows which make up indivual data entries (like cells in a spreadsheet).
PHP is a programming lanuage. It is a scripting language, so it does not have to be compiled.
PHP is also a server side language. That means the code executes on the server and not on the user's computer. It can be used to talk to the database and to write your application's logic. Logic is the code that actually makes your application work.
Watch the video below: