Ever used Kohana?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Ever used Kohana?

Post by Kieran Huggins »

Anyone ever used Kohana? It's an OOP fork of CodeIgniter.

Seems interesting, and as a DevNet++ it includes both Swift Mailer & HTMLPurifier... so it can't be all bad!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I looked at it, but the codebase is a little odd to me. It is clean, but seems a little disorganized. Not like a Swift or Solar.
User avatar
GeertDD
Forum Contributor
Posts: 274
Joined: Sun Oct 22, 2006 1:47 am
Location: Belgium

Re: Ever used Kohana?

Post by GeertDD »

Kieran Huggins wrote:Anyone ever used Kohana? It's an OOP fork of CodeIgniter.
It is not like CodeIgniter does not use OOP. You are right, though, if you mean Kohana uses more OOP, including PHP5 functionality. For example, helpers are autoloaded in Kohana, meaning you can call e.g. text::limit_words() directly without having to $this->load->helper('text') first.

Also, I would like to point out that Kohana started out as a fork of CodeIgniter (under the name BlueFlame). However, the complete Kohana source has been rewritten and does not contain CI code anymore. Go ahead and compare, please. It is a whole new framework. You would be amazed about the differences.

Everah wrote:I looked at it, but the codebase is a little odd to me. It is clean, but seems a little disorganized. Not like a Swift or Solar.
Could you specify what exactly you find a bit odd in the structure? I like it. The system and application folder are completely separated and can be put anywhere you want. Functionality for running multiple sites on one Kohana system is available out of the box. Just change one line in index.php to point to the right location. Then there is the MVC structure. However, Kohana is very flexible. If you don't want to use models or views, no problem.

Kohana also uses a modular structure. This image should explain it all: http://en.wikipedia.org/wiki/Image:Kohana-modules.png
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: Ever used Kohana?

Post by RobertGonzalez »

Where is the SVN repo URL? I will go get it again and look it over. I just won't do it if I can't get it out of SVN.
User avatar
GeertDD
Forum Contributor
Posts: 274
Joined: Sun Oct 22, 2006 1:47 am
Location: Belgium

Re: Ever used Kohana?

Post by GeertDD »

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: Ever used Kohana?

Post by RobertGonzalez »

Ok, will be looking at it today. Thanks for the link.
Post Reply