I recently came across a question where someone asked what architecture we use in the pany and someone else replied LAMP.
I am not sure why we do not include javascript as a part of the architecture. Is it implied? Or is there something I am missing? What if someone is using say ECMA script or VB script instead of javascript?
I recently came across a question where someone asked what architecture we use in the pany and someone else replied LAMP.
I am not sure why we do not include javascript as a part of the architecture. Is it implied? Or is there something I am missing? What if someone is using say ECMA script or VB script instead of javascript?
Share Improve this question edited Dec 14, 2010 at 6:20 pinaki asked Dec 14, 2010 at 6:01 pinakipinaki 5,4832 gold badges27 silver badges32 bronze badges 3- 6 My guess is that adding a J to LAMP would not sound cool no matter where it's placed. – GWW Commented Dec 14, 2010 at 6:06
- That someone in the pany just happened to include only server side in the "architecture". A matter of choice really imo. Also your question is not right - "Why is javascript not part of LAMP? Because LAMP is linux-apache-mysql-php." Maybe the question should be "Why is javascript not part of the project architecture?". – JP19 Commented Dec 14, 2010 at 6:14
- @JP19 - you are correct .. done.. – pinaki Commented Dec 14, 2010 at 6:18
5 Answers
Reset to default 12Because "LAMP" only addresses the technologies that run on the server-side, not what runs on the client-side, like the browser, or JavaScript within the browser. (And at the time "LAMP" was coined, JavaScript saw much less usage than it does today.)
JavaScript is a client-side technology, while Linux, Apache, MySQL and Perl/Python/PHP all have to do with the server.
There are server-side JavaScript implementations like Aptana Jaxer and node.js, but JavaScript is most monly-used for browser behavior, and thus doesn't have much to do with the server other than through Ajax requests.
LAMP refers to the major technologies used on the server side: Linux, Apache, MySQL, and PHP. There are many other pieces to a LAMP installation, but they are either of minor importance (such as the bash shell) or are client-side: HTML, JavaScript, CSS, and so forth.
LAMP is the server architecture.
On the web, it's very much assumed that HTML, JavaScript and CSS prise the client architecture.
Also, JavaScript is a dialect of ECMAScript with web-browser specific modifications.
Javascript is a web based client side technology. It can be enabled or disabled by the user.