Thursday 25 August 2011

Kohana - PHP Framework

In recent months, I worked in and out of several projects based on the relatively new Kohana PHP framework.

While this framework is relatively new, it is based on a PHP framework CodeIgniter established, widely used and which I highly recommend it.

Kohana, which bills itself as "a framework for PHP 5 using the model of the Model View Controller architecture. It aims to be secure, lightweight and easy to use." The answers to these requests, in my opinion.

The MVC (Model View Controller) is, in my opinion the best solution is for the development of most web applications, allowing developers to write "nice" clean code, allows the separation of Code to allow different parts, for example, changing themes (views) without modification of the layer that interacts with the database (model), and allows great flexibility according to different styles of different programming developers have.

It also allows easy use of tag libraries the most popular.

For example, I use Smarty Templates and habitually Library CodeIgniter and Kohana projects as well as many other libraries for authentication, data manipulation, email management, and many other tasks.

Kohana makes it easy to use libraries that also works well with other PHP frameworks like Zend Framework or CakePHP major.

Because its popular CodeIgniter future framework is based on the well-developed code that has stood the test of multiple projects. CodeIgniter, in the interest of maintaining support for previous versions, simply that you can make a clean break with the old technologies and programming styles.

Kohana, a form of spin-off, had the opportunity to take these characteristics that may inhibit the development of this framework in the future and build a solid foundation based on solid infrastructure that had evolved through years CodeIgniter.
               


A key difference is that Kohana is built from scratch with a design chain OOP PHP 5, providing "visibility protection, automatic class loading, overloading, interfaces, abstracts, and singletons," among other benefits .

PHP 5 has been around for many years, but due to the support needs of new, many machines, PHP frameworks, and developers continue to support PHP 4 and the use of depth.

While PHP version 4 is a good language use, the development of PHP 6 on the track, seems a good place to start removing support for PHP 4, to enjoy the many features and benefits that newer versions of PHP has to offer.

Kohana is also proud to be a very light chassis solution. This is actually one of the original reasons why I was attracted to CodeIgniter as soon as they are both easier, faster frames compared to other similar frameworks currently on the scene.







 Although they can certainly be put in place to support major large libraries, if any, the default installation Kohana is relatively easy, flexible and very easy to work.

Whether it is a relatively new library also means that the user base as well as support for the picture is not quite up to the level of CodeIgniter, or other major framework.

But for those of us who enjoy working with "new" technology, and do not mind spending a little more time debugging is a framework to keep in mind for future projects.

1 comment:

  1. this is such a nice and useful information for us...i appreciate urs word..........

    article marketing services

    ReplyDelete