Kamis, 06 Juni 2013

Why Do We Use Web Framework?

A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. It is a normal thing to hear that one or another framework is used to make web application nowadays. There are a lot of framework even just for one language. For example, Python has pylon, cherrypy, and Django. PHP has kohana, yii, codeigniter, and cakePHP. All framework has is advantages and drawbacks. But, what is the essential reason to use a web framework?

The first reason that become the most important reason to use a web framework is that by using a framework, it will reduce a huge amount of development time. Yes, by using a framework, CPU and Memory loads will increase, but hardware is cheap compared to developer cost. Yes, we can make good application without framework, but it would definitely harder and cost more.

The second reason is that almost all web frameworks are opensource. This is the reason why we should always use frameworks. It do not cost a single penny except the bandwidth you used to download the framework. Besides reducing development time, it would reduce development cost by using open source software that has production quality.  Imagine a world that framework is a paid license. It would be not fun anymore.

The last reason to use a web framework is that, you will write code on the shoulder of giants. Popular framework like yii or Django, has been "touch" by the hands of professional, experts, and a lot of other developers. Their code will definitely significantly better than only one or two people that write the code. Their code has been tested, reviewed, and gone into production numerous times. 

So, in short, by using web framework, it will reduce development time, development cost, and better software quality. I personally like Django and Rails. For PHP, I want to try yii2 after its BETA release. Thank you.

Tidak ada komentar:

Posting Komentar