Practical Use of Open Source Code Software



Our only option then was to make use of Open Source Code softwares.

In our case, we picked Linux as our operating system. However we faced a big question: Which Linux distribution ? As a result, Slackware is one the most stable Linux operating system on the market. If the user wishes the most recent Linux kernel and libraries, we recommend to look for a different distribution. This way most of Slackware configurations are done thru text scripts.

Once it was set the operating system, we picked Apache as our web server. For server programming language, we chose PHP. Also, a very popular programming language. Our experience with Apache/PHP proves that this setup is very reliable, working extremely well in our production environment. For workstation programming language, we chose javascript, which besides of having a simple syntax, it offers lots of resources.

Apache web server is really a complete web server. For our database, we picked Postgresql. Extremely reliable, Postgresql has reported cases where there have been databases in production with over 4 terabytes. Besides all of that, Postresql is not the most popular Open Source Code database. As for the programming language PHP, we had to use an object oriented application structure. There are many PHP application structures being offered with Open Source Code license. Also, it helps to keep PHP code separated from HTML, with the help of some specific libraries, such as Smarty. Also a very important set of libraries worth mentioning for PHP systems, is the PEAR libraries. In PEAR web site, among the many libraries being offered, there are the database interface DB and the MAIL_QUEUE, which sends emails thru the use of database.

For that we chose the DRBD and Heartbeat libraries. DRBD/Heartbeat replication is done thru the use of a lan network between the server and slave nodes.

Our project also makes use of ImageMagick (enlarge and reduce images), Iptables (firewall), Tsearch2(text search in portgresql) and Mon (linux monitoring tasks).

Our web site is already in production and based upon our experience we can say that the Open Source Code softwares we picked, proved to be extremely reliable and stable. Open Source Code softwares can certainly be an excellent option for developing web sites.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...