Tuesday, August 21, 2007

Linux Apache MySQL & PHP (LAMP) segment.

I will take some time to go into PHP as much as possible. As we are setting up a PHP server both on our Macs and the PS/3 (Linux Yellowdog).

Our current technologies allow for some very power full tools to be developed. PHP v5.0+ is what we are working on. Yahoo uses PHP so scalability seems like a sure bet.

You can run PHP on what ever platform you have (Windows, Linux and Mac), the Windows version is very easy to install, Linux and Macs are more involved (but for all the right reasons). We are going to run this PHP experiment on our PS/3 on the Yellowdog partition and our personal Macs. One old (but stable) 17" PowerBookG4 and our black 15" Mac Book with the new Intel chipset.

We may do a Video demo for a Linux, Mac and Windows install in the future.

But this is the core of what we are dealing with

Linux, the Operating System
Apache, the Server
MySQL, the Database
PHP, the Browser scripting language

Linux
Yes Linux, don't be intimidated Linux has come a long way and can be hardened quite well. The operating system is quite versatile, but can be overwhelming. Their are various "flavors" of Linux, we are using Yellowdog Linux and Fedora Linux. There may be better "flavors" but for demonstrative purposes we will be working with just those two. Yes, Mac is included based on BSD so officially its UNIX.

Apache
The core web server provides the functionality for many scripting common language interfaces support mod_perl, mod_python, Tcl, and PHP. Popular authentication modules include mod_access, mod_auth, and mod_digest. A sample of security features include SSL and TLS support (mod_ssl), a proxy module, a useful URL rewriter (also known as a rewrite engine, implemented under mod_rewrite), custom log files (mod_log_config), and filtering support (mod_include and mod_ext_filter).

MySQL
The database to store ID_NUMBER, NAME, etc. anything from the price of the widget, the the amount of widgets in stock, the colour of the widget, etc.

PHP
The scripting language

No comments: