Tuesday, March 08, 2005

a gentle introduction to LAMP

Hi,

Here is a gentle introduction to LAMP
(L:inux A:pache M:ySQL P:HP), P:ython or P:erl.

LAMP provides a web services delivery infrastructure
wherein the developer can build business services that solve
specific problems.

For starters,

L:inux system provides a robust and stable base.
It also has built-in firewall and networking capabilities

A:pache is a pre-forking Web Server that implements the
HTTP/1.0, HTTP/1.1 and CGI specs very closely.

It runs as a service (daemon) httpd whose service lifecycle
can be controlled by '/etc/rc.d/init.d/httpd' script.

The functionality is configured in a conf(iguration) file
referred to as /etc/httpd/conf/httpd.conf

It is shipped with a manual.

Relevant links are:
faq http://httpd.apache.org/docs/misc/FAQ.html
docs http://httpd.apache.org/docs-2.0/
service http://httpd.apache.org/docs-2.0/invoking.html
suexec http://httpd.apache.org/docs-2.0/suexec.html
HTTP/1.1 http://www.w3.org/Protocols/rfc2616/rfc2616.html
CGI http://www.w3.org/CGI/


M:ySQL is high-performance relational database engine that implements
the SQL-92 std and also adds some of its extensions.

It runs as a service (daemon) mysqld whose service lifecycle
can be controlled by '/etc/rc.d/init.d/mysqld' script.

A mysql client (mysql) is installed along with the server which
provides a shell like interface to mysql engine.

The conf(iguration) settings of MySQL are specified in the
'/etc/my.cnf' file.

It is shipped with a manual.

Relevant links are:
manual http://dev.mysql.com/doc/mysql/en/index.html
tutorial http://dev.mysql.com/doc/mysql/en/tutorial.html
books http://dev.mysql.com/books/index.html


P:HP is a C-like server-side scripting language that can be used to
create HTML-embedded dynamic web pages.

PHP is configured as a CGI module for security reasons and its
complete configuration settings can be specifed in the
'/etc/php.ini' file.

It is shipped with a manual.

Relevant links are:
manual http://www.php.net/manual/en/
faq http://in2.php.net/FAQ.php
langref http://in2.php.net/manual/en/langref.php
php-mysql http://www.php.net/manual/en/ref.mysql.php


Since most dynamic websites are data-driven, there is a need for a
well-defined 'data-access' interface that is usable in the server-side script.

'php-mysql' database interface is one such interface that provides PHP language bindings and translation. It modelled very closely around
the MySQL C api.

To read some interesting articles on LAMP, please visit www.onlamp.com
apache http://www.onlamp.com/apache/
mysql http://www.onlamp.com/onlamp/general/mysql.csp
php http://www.onlamp.com/php/


Hope the details above will help the interested folks get interested
in LAMP and also explore the technology.

Should you have any queries, please post them on twincling list.

No comments: