When comparing Flight vs Kohana, the Slant community recommends Flight for most people. In the question“What are the best PHP frameworks?” Flight is ranked 16th while Kohana is ranked 20th. The most important reason people chose Flight is:
Since Flight uses static methods, it does not require for the application class to be instantiated.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Uses static methods
Since Flight uses static methods, it does not require for the application class to be instantiated.
Pro Open source
Flight is open source and is released under the MIT license.
Pro Filters
A unique feature of Flight is something that the author calls filters. Filters are functions which can be executed before and after any other function and can change the parameters and the output of said function.
This feature is used instead of hooks which in other frameworks are used to execute code into different parts of the application's life-cycle.
Pro Lightweight
With no PECL extensions or PEAR libraries to increase it's bloat, Kohana is extremely lightweight and massive libraries are avoided for more consistency and speed.
Pro OOP framework that is extremely DRY
Kohana follows the OOP software paradigm and it strictly enforces the DRY principle, which makes it easier for developers to write clean and maintainable code.
Pro Tools for quick development
Includes tools that help developers to make applications quickly and efficiently. Some of these tools include:
- Translation libraries
- Code profiling
- Form validation
etc...
Pro Open source
Kohana is open source and is released under the BSD license, this means that it can be modified even for commercial purposes.
Pro Low RAM usage
It is as fast as any popular framework, but the RAM usage is really low in comparison.
Cons
Con Cannot use ArrayAccess
The fact that it uses static methods means that it's impossible for Flight to make use of ArrayAccess, which in turns means that it cannot inject dependencies easily.
Con Poorly documented
Kohana has always been criticized for the poor documentation it has. Some things are not explained with details and some other things are not explained at all.