Monday, March 17, 2008

A Practical Use Of Open Source Code Softwares

When we began the project of our web site, we knew that proprietary software costs would be too high for our financial resources. Our only option then was to use software open source.

However, in the framework of the Open Source Code many software to choose from, and it is up to the systems analyst and programmer to choose the ones that best meet the objectives of the project.

In our case, we have chosen Linux as the operating system. But we face a big question: What Linux distribution? There are dozens of Linux distributions, each with specific advantages, sometimes, with or without payment service.

We elected Slackware Linux because we thought to be better adapted to our needs, in terms of stability and reliability. Slackware distribution is a conservative, in that it is only available in its package distribution versions of the kernel and libraries from third parties, once it has proven to be stable and reliable. As a result, Slackware is one of the most stable operating system Linux on the market. If the user wants the latest Linux kernel and libraries, it is recommended to the search for a different distribution.

Another reason for us to collect slackware was due to its interface text, which initially can be a little difficult, in the long run, however, offers a better understanding of the Linux environment. Thus most of the text Slackware configurations are done through scripts.

Once the establishment of the operating system, Apache as reflected our web server. Apache is one of the most popular web server on the Internet. For server programming language, we chose PHP. Also, a very popular programming language. Our experience with Apache / PHP demonstrates that this facility is very reliable, working very well in our production environment. For programming language work, we chose javascript, which in addition to having a simple syntax, which provides a large amount of resources.

Apache web server is really a complete web server. In addition, it can become very complex with many configurations configuration.

For our database collected Postgresql. This database has been made available to the public for more than 15 years, and in addition to being well debugged, which offers many resources that has become one of the best choices of database software open source . Extremely reliable, Postgresql has reported cases have occurred in the production of databases with more than 4 terabytes. In addition to all that, Postresql is not the most popular database of open source. One issue marketing? Probably.

As for PHP programming language, we had to use a structure for implementing object-oriented. There are many structures PHP application that are offered to license source code open. Application object oriented is very important because it makes it easy programming and scalable to the point where the system can grow without many problems. It also helps to maintain separate PHP code HTML, with the help of some libraries, like Smarty. We made use of the library Smarty and we believe it is a very important resource that can make Web pages faster through the use of the cache of its functions.

Also a very important set of libraries worth mentioning PHP systems is the PEAR libraries. In PEAR website, among the many libraries that are offered are the database and interface MAIL QUEUE DB, which sends e-mail messages through the use of the database.

As we have reached the end of our project, we had to use some kind of database replication in real time. For that chose the DRBD Heartbeat and libraries. The use of database replication is very important and should not be postponed. Only after 3 months of our system went into production, our server hard drive became bad. Through the use of DRBD / Heartbeat we were able to put it back into the production system in a matter of seconds, without losing any data. DRBD / Heartbeat replication is done through the use of a network lan between the server and slave nodes.

Our project also uses ImageMagick (zoom in and out images), Iptables (firewall), Tsearch2 (text search in portgresql) and Mon (linux monitoring).

Also a very important library worth mentioning is the pseudo APC compiler for PHP. Speed is always a critical factor for Internet sites.

Our website is already in production and based on our experience we can say that the software Open Source Code We chose, proved to be extremely reliable and stable. Open source code software can be an excellent option for the development of websites.

This article is licensed under the GNU FDL and can be distributed without prior permission of the author. However, the author& 39;s name and all URLs & 39; s (links) mentioned in the biography section and should be retained. carlene ardella



Bookmark it: del.icio.usdigg.comreddit.comnetvouz.comgoogle.comyahoo.comtechnorati.comfurl.netbloglines.comsocialdust.comma.gnolia.comnewsvine.comslashdot.orgsimpy.com

No comments: