Kohana is a PHP 5 framework that uses the Model View Controller architectural pattern. It aims to be secure, lightweight, and easy to use.
- Highly secure
- Extremely lightweight
- Short learning curve
- Uses the MVC pattern
- 100% UTF-8 compatible
- Loosely coupled architecture
- Extremely easy to extend
- Strict PHP 5 OOP
- Simple database abstraction using SQL helpers
- Multiple session drivers (native, database, and cookie)
- Powerful event handler allows small modifications dynamically
- Originally based on CodeIgniter
How is Kohana Different?
Although Kohana reuses many common design patterns and concepts, there are some things that make Kohana stand out:
- Community, not company, driven. Kohana development is driven by a team of dedicated people that need a framework for fast, powerful solutions.
- Strict PHP 5 OOP. Offers many benefits: visibility protection, automatic class loading, overloading, interfaces, abstracts, and singletons.
- Extremely lightweight. Kohana has no dependencies on PECL extensions or PEAR libraries. Large, monolithic libraries are avoided in favor of optimized solutions.
- GET, POST, COOKIE, and SESSION arrays all work as expected. Kohana does not limit your access to global data, but offers filtering and XSS protection.
- True auto-loading of classes. True on-demand loading of classes, as they are requested in your application.
- No namespace conflicts. All classes are suffixed to allow similar names between components, for a more coherent API.
- Cascading resources offer unparalleled extensibility. Almost every part of Kohana can be overloaded or extended without editing core system files. Modules allow multi-file plugins to be added to your application, transparently.
- Library drivers and API consistency. Libraries can use different "drivers" to handle different external APIs transparently. For example, multiple session storage options are available (database, cookie, and native), but the same interface is used for all of them. This allows new drivers to be developed for existing libraries, which keeps the API consistent and transparent.
- Powerful event handler. Observer-style event handlers allow for extreme levels of customization potential.
- Rapid development cycle. Rapid development results in faster response to user bugs and requests.
Kohana - Reviews
- Weak ORM. It will execute a SHOW COLUMNS query for every single instantiate. It also uses SELECT column1, column2, ... column instead of SELECT *
- No RESTful support. You cannot build powerful APIs
- No built-in CSRF check (yes it can generate token, but you have to do the check manually)
- No built-in share errors from session to views
- No built-in Authorization
- Weak Authentication out-of-box
- No command line tools
- Don't have any generator (I mean generate a model, or a controller, or CRUD)
- No built-in service container (or any DI solution)
- It has a unittest module, but it does not contain any extra functionality (like Laravel for example)
- No middlewares
- Extremely deficient documentation, no real community
- No PHP7 support
- Old PSR support
- No namespace support (maybe 3.3 has I don't know exactly)
- No built-in tools for front-end stuffs (sass, less, gulp)), no asset management (there are some external modules)
- No built-in migrations (there is an external module called flexiblemigration, which is awful. Everything, but not flexible)
- Does not give you any architectural solution (like observer, event, contracts or anything like that)
- Poor array-based ORM config
- And so on...
Kohana is an old, not-so-modern, poor framework. There are a TONS of general stuff you have to do manually.
But it is very easy to learn, that's true. I recommend it to absolute beginner developers, who want to try an MVC framework.
And the build hMVC is also great.
Written by Guest, 23rd December, 2016
Written by Guest, 11th May, 2016
The documentation is a little bit to small - not enough informations for me.
I'm sad that nobody develop Kohana anymore.
Written by Guest, 4th April, 2016
- It's not only MVC, but HMVC, which is an amazing feature (see the main website for explanation)), I don't understand why the other frameworks do not adopt this concept
- Documentation is a little poor, that's why I give it only 4 stars. But right now the framework development is bein completely passed to the community, and it is one of the most expected feature to be enhanced.
- Version 3.3 respects the PSR-0 standard, so basically you can easily use components from other frameworks such as Zend, Symphony, Yii, etc...
Written by Guest, 17th July, 2014
- Poor Documentation
- Developers are not willing to work anymore
- No Clear Tutorials
From me 0 Stars!
Written by Guest, 10th January, 2014
Written by Guest, 14th September, 2013
Written by Guest, 30th April, 2013
Written by Guest, 31st October, 2012
Written by Guest, 25th October, 2012
Written by Guest, 18th April, 2012
Written by Guest, 20th July, 2010