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!
Ever used Kohana?
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Ever used Kohana?
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.Kieran Huggins wrote:Anyone ever used Kohana? It's an OOP fork of CodeIgniter.
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.
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.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.
Kohana also uses a modular structure. This image should explain it all: http://en.wikipedia.org/wiki/Image:Kohana-modules.png
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Ever used Kohana?
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.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Ever used Kohana?
Ok, will be looking at it today. Thanks for the link.