{"id":27170,"date":"2016-07-25T23:01:42","date_gmt":"2016-07-25T15:01:42","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=27170"},"modified":"2019-08-26T22:54:35","modified_gmt":"2019-08-26T14:54:35","slug":"mean-vs-lamp-stacks","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/","title":{"rendered":"MEAN vs. LAMP Stack: Pros and Cons"},"content":{"rendered":"<p><strong>Web stacks<\/strong> have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are <a href=\"https:\/\/en.wikipedia.org\/wiki\/LAMP_(software_bundle)\" target=\"_blank\">LAMP<\/a> and <a href=\"https:\/\/meanjs.org\/\" target=\"_blank\">MEAN<\/a>. They rely on two different technologies for backend languages, databases, and server environments. The \"stack\" term refers to <strong>technologies that stack on top of each other in order to create a web server environment<\/strong>.<\/p>\n<p>In this article, I\u2019d like to clarify these two web stacks by looking at their technology choices, both pros and cons. Where does each stack excel? And what types of projects would benefit the most from either option? If you\u2019re new to web technologies or just want to learn about these two stacks, then this guide has everything you\u2019ll need.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/fullstack-web-development\/\">Getting Started with Full-Stack Web Development<\/a>\n\t\t\t\t<\/p>\n<h2>Traditional LAMP Development<\/h2>\n<p>Most developers should know about the traditional LAMP stack because it\u2019s been around since the early web. <strong>LAMP<\/strong> stands for <strong>Linux, Apache, MySQL<\/strong> and <strong>PHP<\/strong>. Each of these are individual software packs that are combined to form a versatile server solution.<\/p>\n<p>The biggest reason to stick with LAMP is <strong>security and widespread support<\/strong>. It has been around for decades, and it\u2019s a proven method of hosting websites.<\/p>\n<p>All the backend tech like PHP and MySQL are well known, and <strong>supported by every major hosting provider<\/strong>. If you work on a LAMP stack you can basically host anywhere. Additionally, you get <strong>access to the most popular CMS engines<\/strong>. WordPress, Drupal, and Joomla all run on PHP\/MySQL.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2\" alt=\"Lamp Stack Icon\" width=\"800\" height=\"600\"><\/figure>\n<p>There are <strong>customizable options<\/strong> within the LAMP architecture such as <a href=\"https:\/\/lemp.io\/\" target=\"_blank\" rel=\"nofollow\">LEMP<\/a> replacing Apache with <a href=\"https:\/\/www.nginx.com\/\" target=\"_blank\">nginx<\/a>. You could also run a variant on a Windows server as a <a href=\"https:\/\/www.infoworld.com\/article\/2616867\/review--wamp-stacks-for-web-developers.html\" target=\"_blank\">WAMP<\/a> stack.<\/p>\n<p>However all the core software \u2013 including Apache, MySQL, and PHP \u2013 <strong>were open-sourced<\/strong>, and made primarily for Linux. This is why Linux makes the most sense for a server environment, and that\u2019s why LAMP has stood the test of time for modern web development.<\/p>\n<p>Most developers go this route because it\u2019s <strong>the simplest way of getting a website online<\/strong>. You\u2019ll find lots of support on forums that cover everything you need to configure and troubleshoot a LAMP environment. For instance, you can check out <a href=\"http:\/\/serverfault.com\/q\/453617\" target=\"_blank\">this ServerFault question<\/a> for more info.<\/p>\n<h2>JavaScript Backend with MEAN<\/h2>\n<p><a href=\"https:\/\/nodejs.org\/en\/\" target=\"_blank\">Node.js<\/a> is the newest technology for developers determined to run scalable applications built with JavaScript. Node <strong>powers the <a href=\"https:\/\/meanjs.org\/\" target=\"_blank\">MEAN stack<\/a><\/strong>, and offers a primary advantage: everything <strong>runs on a single language<\/strong>.<\/p>\n<p><strong>MEAN<\/strong> stands for <strong><a href=\"https:\/\/www.mongodb.com\/\" target=\"_blank\">MongoDB<\/a>, <a href=\"https:\/\/expressjs.com\/\" target=\"_blank\">Express.js<\/a>, <a href=\"https:\/\/angular.io\/\" target=\"_blank\">Angular<\/a><\/strong>, and of course <strong>Node.js<\/strong>. This acronym places no requirement for a server operating system or server software. A MEAN stack <strong>can run on any OS<\/strong>, and Node even comes with <a href=\"https:\/\/docs.npmjs.com\/enterprise\/installation\" target=\"_blank\" rel=\"nofollow\">its own server<\/a> to handle JS on the backend.<\/p>\n<figure><a href=\"https:\/\/meanjs.org\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/02-mean-io-homepage-website.jpg?v2\" alt=\"Mean.io\" width=\"800\" height=\"600\"><\/a><\/figure>\n<p>You\u2019ll find lots of documentation and support on the <a href=\"https:\/\/meanjs.org\" target=\"_blank\">MeanJS website<\/a>.<\/p>\n<p>Although this stack has gained lots of attention, it still has nowhere near the amount of stable support as a traditional LAMP stack.<\/p>\n<p>So why would anyone go with MEAN? Because it\u2019s <strong>ultimately faster<\/strong> and <strong>easier to scale<\/strong>. <a href=\"https:\/\/www.hongkiat.com\/blog\/webdev-with-mongodb-part1\/\">MongoDB<\/a> is a <strong>NoSQL database<\/strong> which optimizes queries. The use of fullstack JavaScript also improves development because one language applies for all frontend and backend work.<\/p>\n<p>Plus many other JS frameworks are hitting the market as stable solutions. For example, MEAN can be switched over to a <strong>MEEN stack<\/strong> replacing Angular with <a href=\"https:\/\/emberjs.com\/\" target=\"_blank\">Ember<\/a>.<\/p>\n<figure><a href=\"https:\/\/emberjs.com\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/03-emberjs-homepage.jpg?v2\" alt=\"Ember.js\" width=\"800\" height=\"600\"><\/a><\/figure>\n<p>Programmers will love the MEAN stack because it <strong>separates code for maintainability and growth<\/strong>. This makes it <strong>easier to organize your JavaScript web apps so they run in a natural environment<\/strong>.<\/p>\n<p>There\u2019s a lot to learn on this subject, and that\u2019s probably the biggest barrier to entry for new developers. Learning all the technologies required to manage a MEAN app can take months. But if you love Node, and want to run everything on JavaScript this is well worth the effort.<\/p>\n<p>Here are some beginners\u2019 tutorials to get you started.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/node-js-server-side-javascript\/\" target=\"_blank\">An Absolute Beginner\u2019s Guide to Node.js<\/a><\/li>\n<li><a href=\"https:\/\/code.tutsplus.com\/tutorials\/introduction-to-express--net-33367\" target=\"_blank\">Introduction to Express.js<\/a><\/li>\n<li><a href=\"https:\/\/thinkster.io\/mean-stack-tutorial\" target=\"_blank\" rel=\"nofollow\">Learn to Build Modern Web Apps with MEAN<\/a><\/li>\n<li><a href=\"https:\/\/cwbuecheler.com\/web\/tutorials\/2013\/node-express-mongo\/\" target=\"_blank\">Getting Started With Node.js, Express, and MongoDB<\/a><\/li>\n<\/ul>\n<h2>PHP vs. Node<\/h2>\n<p>PHP has been around since the mid-90s, and is truly the most popular backend language. Many web developers start with (or eventually learn) PHP because it\u2019s so predominant across web platforms and hosting providers.<\/p>\n<p>Node.js is now everywhere. Many of the web applications you use today may be powered with Node.js with <a href=\"https:\/\/www.npmjs.com\/\" target=\"_blank\" rel=\"nofollow\">NPM<\/a> as a defacto package manager which includes a powerful frontend frameworks such as <a href=\"https:\/\/juristr.com\/blog\/2016\/06\/ng2-getting-started-for-beginners\/\" target=\"_blank\">Angular<\/a>.<\/p>\n<figure><a href=\"https:\/\/angular.io\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/04-angularjs-homepage-angular2.jpg?v2\" alt=\"Angular2\" width=\"800\" height=\"600\"><\/a><\/figure>\n<p>The other benefit of Node is that it <strong>comes with its own web server<\/strong>. JavaScript is at the root of everything on a MEAN stack, so if you love JS then you\u2019ll really love building MEAN web apps.<\/p>\n<p>Many developers feel that PHP is <a href=\"https:\/\/www.quora.com\/Is-PHP-a-badly-designed-programming-language\" target=\"_blank\" rel=\"nofollow\">a poorly-designed language<\/a> because the creator, <strong>Rasmus Lerdorf didn\u2019t actually design it as a language.<\/strong> PHP started as a <strong>generic solution for websites<\/strong>, and quickly grew into a big library of unrelated functions.<\/p>\n<p>But with PHP 7 attempting to fix many errors of the language, and with <abbr title=\"Object-Oriented Programming\">OOP<\/abbr> frameworks, such as <a href=\"https:\/\/laravel.com\" target=\"_blank\">Laravel<\/a>, PHP is a much better language now than it\u2019s ever been.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/05-laravel-php-code-example.jpg?v2\" alt=\"Lavarel Code in Code Editor\" width=\"700\" height=\"450\"><figcaption><a href=\"https:\/\/stackoverflow.com\/\/questions\/33319115\/laravel-error-creating-default-object-from-empty-value\" target=\"_blank\" rel=\"nofollow\">IMAGE: Stackoverflow<\/a><\/figcaption><\/figure>\n<p>So the language debate comes down to <strong>your personal choice<\/strong>. Do you really love writing JavaScript? Then Node with a MEAN stack might be worth considering.<\/p>\n<p>If you already know PHP, and want to stick with what you know, LAMP is a viable route as well.<\/p>\n<h3>Overall Pros & Cons:<\/h3>\n<p>There are <strong>multiple layers<\/strong> of each web stack to compare, including operating system, server software, database, and backend language.<\/p>\n<ol>\n<li>The <strong>MEAN stack <\/strong>also<strong> includes Angular<\/strong> which is a frontend framework. There isn\u2019t any required framework in a LAMP stack, but you can always add your own to any app you build. <\/li>\n<li>With regards to OS, the LAMP stack looks for a derivative of Linux. <strong>Linux is typically the best choice<\/strong> for a server environment regardless of stack, and it\u2019s true of MEAN as well. <\/li>\n<li>Now the server\u2019s OS is just the computer software, but it\u2019s not the <strong>web server software<\/strong>. To get this you need a program like Apache or nginx. LAMP uses Apache because it\u2019s one of the most stable choices available. <\/li>\n<figure><a href=\"https:\/\/www.nginx.com\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/06-nginx-server-homepage.jpg?v2\" alt=\"Nginx\" width=\"800\" height=\"600\"><\/a><\/figure>\n<li>MEAN uses the <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04\" target=\"_blank\">Node.js server<\/a> which is <strong>part of the Node package<\/strong>. It\u2019s still fairly new, and while there is plenty of support out there, Node has nowhere near the same size community as Apache. <\/li>\n<li>Also a Node server requires <strong>a backend of JavaScript<\/strong> (without extensions). Apache <strong>allows most backend languages<\/strong>, and there are many free extensions for greater support. But as of right now Apache has nothing for Node support. <\/li>\n<li><strong>Database management<\/strong> is where you\u2019ll find <strong>the largest difference<\/strong>. LAMP uses MySQL for relational data storage, while MEAN uses MongoDB which is a <a href=\"https:\/\/www.mongodb.com\/scale\/relational-vs-non-relational-database\" target=\"_blank\">non-relational database<\/a>. Non-relational DBs are <strong>much faster<\/strong>, and provide an easier method of scaling with higher traffic. <\/li>\n<figure><a href=\"https:\/\/www.mongodb.com\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/07-mongodb-logo-dark.jpg?v2\" alt=\"MongoDB Logo\" width=\"800\" height=\"600\"><\/a><\/figure>\n<li>Keep in mind that <strong>PHP isn\u2019t limited solely to MySQL<\/strong>. It can use MongoDB and other alternatives like PostgreSQL or SQLite. It\u2019s just that most PHP developers know MySQL, so it\u2019s the main contender for a typical LAMP stack. <\/li>\n<li>MEAN stacks typically <strong>run faster<\/strong> and <strong>scale larger<\/strong>, but require a lot more time and server knowledge to learn the system. LAMP stacks are <strong>tried-and-true<\/strong>, and they come <strong>out-of-the-box<\/strong> with the most secure infrastructure and the widest support imaginable. <\/li>\n<li>Programming languages make a major difference between the two stacks. LAMP primarily works on PHP which includes WordPress and the Laravel framework. MEAN works on ExpressJS\/NodeJS for the backend with AngularJS on the frontend. <\/li>\n<li>MEAN is <strong>full-stack JavaScript<\/strong>, and there\u2019s a lot you\u2019ll need to learn to get that running. It\u2019s a <strong>frequent choice of new startups<\/strong> willing to push the boundaries in web app development. LAMP is more traditional with <strong>JS on the frontend, PHP on the backend<\/strong>. It\u2019s made for people who just want to <strong>get websites online without too much worries<\/strong>. <\/li>\n<\/ol>\n<h2>Wrapping Up<\/h2>\n<p>I\u2019d say most websites lean towards the LAMP stack because it\u2019s tested, and has lots of helpful Q&A threads indexed in Google. MEAN is still growing and also has plenty of support, but may be more technical than most people want to deal with.<\/p>\n<p>Feel free to try both, and see them for yourself. It\u2019s possible to <strong>install both setups locally<\/strong> on your computer, and build on them without a remote server.<\/p>\n<p>And if you\u2019re looking for more info on either stack, I\u2019ve collected a set of handy links below.<\/p>\n<ul>\n<li><a href=\"https:\/\/thinkster.io\/mean-stack-tutorial\" target=\"_blank\" rel=\"nofollow\">Learn to Build Modern Web Apps with MEAN<\/a> <em>(thinkster.io)<\/em><\/li>\n<li><a href=\"http:\/\/jessesnet.com\/development-notes\/2015\/docker-lamp-stack\/\" target=\"_blank\" rel=\"nofollow\">Docker LAMP Stack Admin<\/a> <em>(jessesnet.com)<\/em><\/li>\n<li><a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-linux-apache-mysql-php-lamp-stack-on-debian-8\" target=\"_blank\">How To Install Linux, Apache, MySQL, PHP (LAMP) Stack on Debian 8<\/a> <em>(digitalocean.com)<\/em><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and MEAN. They rely on two different technologies for backend languages, databases, and server environments. The &#8220;stack&#8221; term refers to technologies that stack on top of each other in order to create&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[3313,2315,254,1319],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>MEAN vs. LAMP Stack: Pros and Cons - Hongkiat<\/title>\n<meta name=\"description\" content=\"Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MEAN vs. LAMP Stack: Pros and Cons\" \/>\n<meta property=\"og:description\" content=\"Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-25T15:01:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-26T14:54:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"MEAN vs. LAMP Stack: Pros and Cons\",\"datePublished\":\"2016-07-25T15:01:42+00:00\",\"dateModified\":\"2019-08-26T14:54:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/\"},\"wordCount\":1436,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/mean-vs-lamp-stacks\\\/01-lamp-stack-tech-clouds.jpg?v2\",\"keywords\":[\"AngularJS\",\"MongoDB\",\"MySQL\",\"PHP\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/\",\"name\":\"MEAN vs. LAMP Stack: Pros and Cons - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/mean-vs-lamp-stacks\\\/01-lamp-stack-tech-clouds.jpg?v2\",\"datePublished\":\"2016-07-25T15:01:42+00:00\",\"dateModified\":\"2019-08-26T14:54:35+00:00\",\"description\":\"Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/mean-vs-lamp-stacks\\\/01-lamp-stack-tech-clouds.jpg?v2\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/mean-vs-lamp-stacks\\\/01-lamp-stack-tech-clouds.jpg?v2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/mean-vs-lamp-stacks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MEAN vs. LAMP Stack: Pros and Cons\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MEAN vs. LAMP Stack: Pros and Cons - Hongkiat","description":"Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/","og_locale":"en_US","og_type":"article","og_title":"MEAN vs. LAMP Stack: Pros and Cons","og_description":"Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and","og_url":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2016-07-25T15:01:42+00:00","article_modified_time":"2019-08-26T14:54:35+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"MEAN vs. LAMP Stack: Pros and Cons","datePublished":"2016-07-25T15:01:42+00:00","dateModified":"2019-08-26T14:54:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/"},"wordCount":1436,"commentCount":7,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2","keywords":["AngularJS","MongoDB","MySQL","PHP"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/","url":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/","name":"MEAN vs. LAMP Stack: Pros and Cons - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2","datePublished":"2016-07-25T15:01:42+00:00","dateModified":"2019-08-26T14:54:35+00:00","description":"Web stacks have evolved over decades with advancements in technology and backend languages. Two of the most popular web stacks currently are LAMP and","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/mean-vs-lamp-stacks\/01-lamp-stack-tech-clouds.jpg?v2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/mean-vs-lamp-stacks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"MEAN vs. LAMP Stack: Pros and Cons"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-74e","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=27170"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27170\/revisions"}],"predecessor-version":[{"id":48576,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27170\/revisions\/48576"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=27170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=27170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=27170"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=27170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}