A practical use of Open Source Code Softwares

This article describes a real life experience in pickingOpen Source Code softwares. Extremely reliable,
and using the linux operating system, as well asPostgresql has reported cases where there have
libraries with Open Source Code licenses, during thebeen databases in production with over 4 terabytes.
development of a brazilian auction web site. It is trulyBesides all of that, Postresql is not the most popular
a testimony of successful use of Open Source CodeOpen Source Code database. A matter of marketing
softwares.? Probably.
As we started the project of our web site, weAs for the programming language PHP, we had to
knew that the proprietary software costs would beuse an object oriented application structure. There
too high for our financial resources. Our only optionare many PHP application structures being offered
then was to make use of Open Source Codewith Open Source Code license. Object oriented
softwares.application is very important, because it makes
However, within the Open Source Code there areprogramming very easy and scalable up to the point
lots of softwares to choose from, and it´s upwhere the system may grow without many
to the system analyst/programmer to pick the onesproblems. Also, it helps to keep PHP code separated
that best suit the project goals.from HTML, with the help of some specific libraries,
In our case, we picked Linux as our operatingsuch as Smarty. We make use of Smarty library and
system. However we faced a big question: Whichwe believe that it is a very important resource, which
Linux distribution ? There are dozens of linuxcan even make web pages faster thru the use of its
distributions, each one with specific advantages,cache functions.
sometimes with or without paid services.Also a very important set of libraries worth
We chose linux Slackware because we thought thatmentioning for PHP systems, is the PEAR libraries. In
it would suit better our needs, in terms of stabilityPEAR web site, among the many libraries being
and reliability. Slackware is a conservative distribution,offered, there are the database interface DB and the
meaning that it only offers in its distribution packageMAIL_QUEUE, which sends emails thru the use of
kernel versions and third party libraries, once it´sdatabase.
been proved to be stable and reliable. As a result,As we came to the end of our project, we had to
Slackware is one the most stable Linux operatinguse some sort of real time database replication. For
system on the market. If the user wishes the mostthat we chose the DRBD and Heartbeat libraries. The
recent Linux kernel and libraries, we recommend touse of database replication is very important and
look for a different distribution.should not be postponed. Just after 3 months our
Another reason for us picking Slackware, wassystem got into production, our server hard disk
because of its text interface, which at the beginningbecame bad. Thru the use of DRBD/Heartbeat we
may become a bit difficult, in the long run however itwere able to put the system back into production
offers a better understanding of the Linuxwithin seconds, without loosing any data. DRBD
environment. This way most of SlackwareHeartbeat replication is done thru the use of a lan
configurations are done thru text scripts.network between the server and slave nodes.
Once it was set the operating system, we pickedOur project also makes use of ImageMagick (enlarge
Apache as our web server. Apache is one of theand reduce images), Iptables (firewall), Tsearch2(text
most popular web server in the internet. For serversearch in portgresql) and Mon (linux monitoring tasks).
programming language, we chose PHP. Also, a veryAlso a very important library worth mentioning is the
popular programming language. Our experience withpseudo APC compiler for PHP. Speed is always a
Apache/PHP proves that this setup is very reliable,critical factor for internet sites.
working extremely well in our productionOur web site is already in production and based upon
environment. For workstation programming language,our experience we can say that the Open Source
we chose javascript, which besides of having aCode softwares we picked, proved to be extremely
simple syntax, it offers lots of resources.reliable and stable. Open Source Code softwares can
Apache web server is really a complete web server.certainly be an excellent option for developing web
Also, it can become very complex with manysites.
configuration setups.Roberto SedyciasIT Consultant
For our database, we picked Postgresql. ThisThis article is under GNU FDL license and can be
database has been made available to the public fordistributed without any previous authorization from
more than 15 years, and besides of being wellthe author. However the author´s name and all
debugged, it offers so many resources that it hasthe URL´s (links) mentioned in the article and
become one of the best database options frombiography must be kept.