LAMP Stack Developer -PSK Technologies Pvt.ltd

Page 1

HOW TO MAKE YOUR CAREER IN

LAMP STACK DEVELOPER pskitservices.com Contact No:9422123343


LAMP STANDS FOR  L:Linux  A:Apache  M:My-SQL  P:PHP

pskitservices.com Contact No:9422123343


What is LAMP LAMP is an open-source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP/Perl/Python as the object-oriented scripting language.

pskitservices.com Contact No:9422123343 3


LAMP STACK Components × Linux based web servers consist of four software components. These components are arranged in layers supporting one another and make up the software stack. Websites and Web Applications run on top of this underlying stack. The common software components are as follows: × Linux: Linux started in 1991. It sets the foundation for the stack model. All other layers are run on top of this layer. . pskitservices.com Contact No:9422123343

4


Apache: The web server. The Apache web server processes requests and serves up web assets via HTTP so that the application is accessible to anyone in the public domain over a simple web URL. Developed and maintained by an open community, Apache is a mature, feature-rich server that runs a large share of the websites currently on the internet. MySQL: The database. MySQL is an open source relational database management system for storing application data. With My SQL, you can store all your information in a format that is easily queried with the SQL language. SQL is a great choice if you are dealing with a business domain that is well structured, and you want to translate that structure into the backend.

pskitservices.com Contact No:9422123343

5


PHP: The programming language. The PHP open source scripting language works with Apache to help you create dynamic web pages. You cannot use HTML to perform dynamic processes such as pulling data out of a database. To provide this type of functionality, you simply drop PHP code into the parts of a page that you want to be dynamic. PHP is designed for efficiency. It makes programming easier—and a bit more fun—by allowing you to write new code, hit refresh, and immediately see the resulting changes without the need for compiling. If you prefer, you can swap out PHP in favor of Perl or the increasingly popular Python language.

× pskitservices.com Contact No:9422123343

6


×Where we use LAMP

Bring the attention of your audience over a key concept using icons LAMP stack is used for building and delivering

web-based applications. Its flexibility and efficiency allow smaller developers to compete with commercial software development solutions. The four components of LAMP were picked as optimal solutions for developers who wish to host, serve and manage web-based content.or illustrations

pskitservices.com Contact No:9422123343 7


pskitservices.com Contact No:9422123343 8


Layers of LAMP STACK All the layers of the stack are dependent on each other. They work together to provide a perfect structure for any web application. Let’s take a detailed look at all four layers.

The Operating System Linux: The OS (Operating System) makes up the first layer. The stack paradigm base is set by Linux, that serves as the host for web applications. Operating System is the stack’s lowest layer, and all other layers operate on top of this layer. Making it the backbone of the pskitservices.com LAMP stack. Contact No:9422123343

9


× Linux is preferred because of its customizability and easy-to-use technology. However, the OS layer is not strictly restricted to Linux. We may use other alternatives such as Windows, Mac OS, Unix-like. The stack name changes based on the OS used - WAMP ( Microsoft Windows), MAMP (Mac OS), SAMP (Solaris), XAMPP ( cross-platform) to name a few. ×

Bring the attention of your audience over a key concept using s

Web layer (or HTTP Server)

× Apache: The web server is the second layer of the stack. A web server is a server software that fulfills client demands on the World Wide Web. The correspondence between client and server is then achieved using the HTTP (HyperText Transfer Protocol).

pskitservices.com Contact No:9422123343

10


Database Layer MySQL: The third layer is the database layer. This layer contains Database Management System (DBMS) software. This layer facilitates data storage, and for the LAMP framework, it’s provided by MySQL. A query is a search for information or data stored in the database. Here, MySQL acts as a container and stores everything that can be queried by the user. This layer can collectively include user accounts, user details, product names with descriptions, and even website statistics. Web administrators may need to regularly change their website content, and users may need to modify their content. Database layer’s inclusion can do this. pskitservices.com Contact No:9422123343

11


Scripting Layer PHP: The fourth and final layer is the scripting layer, which uses a scripting programming language that implements computerized tasks. PHP is one of the default web programming languages used in the LAMP stack. The scripting layer unites all the other components to make a web application work perfectly. × Whoa! ThaThe codes written in scripting 6,124 languages are dynamic and embedded in HTML. It also helps extract the data from the third layer, i.e., the database layer. × . t’s a big number, aren’t you proud? pskitservices.com Contact No:9422123343

12


185,244 STACK usersoperation Layer-by-Layer

And a lot of users

89,526,124 $ 100% Total success! That’s a lot of money

13

pskitservices.com Contact No:9422123343


A thorough look at the LAMP arrangement tells us how the components work together. Let’s assume we search “Sports news” in the browser. It all begins when the user requests web pages (about sports news) from their browser (Chrome, Firefox, Safari, to name a few). These requests are received by the web server (Apache in this case). The request is transferred to PHP by Apache. As discussed above, PHP, which is embedded into the HTML code, manages dynamic pages, tracks user statistics, and analyzes their data. The code written in the PHP file is executed, and the data from the database is sent back together as HTML pages. pskitservices.com Contact No:9422123343

14


Usage of LAMP STACK •

• •

Stack variants are based on the different types of components used, but the LAMP arrangement is most suitable for building web architecture because of its scalability and flexibility. LAMP stack provides web frameworks for some popular websites such as Joomla and Drupal. The Wikimedia Foundation uses customized LAMP stack to host its pskitservices.com services and to improve its site Contact No:9422123343 infrastructure.

15


• •

Due to its huge community and availability to a vast amount of source codes, it can provide a secure framework. Adding other FOSS can upgrade the LAMP Stack. This helps improve site performance and enhance its security.

For example: • • • •

Varnish Cache, a web accelerator. OpenSSL to secure communication networks. Mod Security (or Modes), a web-based firewall application. OAuth, a protocol used to invoke authorization pskitservices.com from the user. Contact No:9422123343

16


Conclusion Web applications such as Wikipedia and WordPress are built using the LAMP framework. However, Wikipedia uses a personalized structure of LAMP, which includes an add-on the LVS (Linux Virtual Server). LVS handles the network traffic distribution systematically by diverting the incoming HTTP request to the available server. This helps with the smooth transmission of data and reduces network latency. All four components of the LAMP stack are FOSS (Free and Open Source Software), so money does not need to be spent on proprietary software. The pskitservices.com source code of FOSS can No:9422123343 be shared and reused for Contact additional developmental purposes.


This helps make modifications and enhancements to improve the websites further. The LAMP framework is so stable that even after personalizing and customizing the stack, it still works smoothly. This makes the LAMP stack ideal in web application development.

pskitservices.com Contact No:9422123343


OUR HARDWARE SERVICES

pskitservices.com Contact No:9422123343


pskitservices.com Contact No:9422123343


OUR SERVICE COURSES

pskitservices.com Contact No:9422123343


Thank you! Any questions? You can find me at: pskitservices.com Contact No:9422123343

22


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.