Chapter 12: Technology Stacks — LAMP, LEMP, MEAN, MERN
12.1 What is a "stack" and why does it matter?
In short: A stack is a standard combination of technologies that work well together to build and run a web application: an operating system, a web server, a database and a programming language/framework.
Friends, you will see words like LAMP and MERN in almost every job posting. Whether Mauli Dairy's website runs on PHP or JavaScript – once the stack is chosen, the other tools follow automatically. Let's first understand what a stack really means.
मित्रांनो, जवळजवळ प्रत्येक जॉब पोस्टिंगमध्ये तुम्हाला LAMP आणि MERN सारखे शब्द दिसतील. Mauli Dairy ची वेबसाइट PHP वर असो की JavaScript वर – स्टॅक निवडला की बाकी टूल्स आपोआप ठरतात. आधी स्टॅक म्हणजे नक्की काय ते समजून घेऊया.
दोस्तों, लगभग हर जॉब पोस्टिंग में आपको LAMP और MERN जैसे शब्द दिखेंगे. Mauli Dairy की वेबसाइट PHP पर हो या JavaScript पर – स्टैक चुन लिया तो बाकी टूल्स अपने आप तय हो जाते हैं. पहले समझते हैं कि स्टैक असल में क्या होता है.
A stack is a standard combination of technologies that work well together to build and run a web application: an operating system, a web server, a database and a programming language/framework. Companies advertise jobs as "MERN developer" or "LAMP administrator", so knowing these stacks end-to-end is valuable.
| Stack | Components | Language | Database type | Typical use |
|---|---|---|---|---|
| LAMP | Linux, Apache, MySQL/MariaDB, PHP | PHP | Relational (SQL) | WordPress, Moodle, classic web apps |
| LEMP | Linux, Nginx (Engine-x), MySQL/MariaDB, PHP | PHP | Relational (SQL) | High-traffic PHP sites, Laravel |
| MEAN | MongoDB, Express, Angular, Node.js | JavaScript / TypeScript | Document (NoSQL) | Enterprise SPAs, dashboards |
| MERN | MongoDB, Express, React, Node.js | JavaScript | Document (NoSQL) | Startups, SPAs, social apps |
Ravindra Bagale's Tip
Many students think a stack is just an acronym. Recognise four slots in every stack: OS, web server, database and language. Then in LAMP vs LEMP only the web server changes, and in MEAN vs MERN only the frontend – keep this in mind and you won't need to memorise the table.
Ravindra Bagale's Tip – मराठी
खूप students ना stack म्हणजे फक्त acronym वाटतो. प्रत्येक stack मध्ये चार जागा लक्षात घ्या: OS, web server, database आणि language. मग LAMP आणि LEMP मध्ये फक्त web server बदलतो, आणि MEAN आणि MERN मध्ये फक्त frontend – हे लक्षात ठेवलं की table पाठ करावा लागत नाही.
Ravindra Bagale's Tip – हिंदी
बहुत students को stack मतलब सिर्फ़ acronym लगता है. हर stack में चार जगहें समझो: OS, web server, database और language. फिर LAMP और LEMP में सिर्फ़ web server बदलता है, और MEAN और MERN में सिर्फ़ frontend – ये याद रखा तो table रटना नहीं पड़ेगा.
Lab
Chala, varchya table madhun Mauli Dairy sathi don stacks nivda – ek PHP cha aani ek JavaScript cha. Pratyekasathi web server, database aani language liha, aani tumhi konta nivdal te ek vakyat karan deun liha.
Quick revision cards
Revise this lesson in two minutes. Save the cards on your phone or download them as PNG files. The QR code on each card opens its lesson.

More cards: Ravi Sir's Cards.