• Embed Doc
  • Readcast
  • Collections
  • 1
    CommentGo Back
Download
 
What is Kohana?
Kohana is a PHP5 framework that uses the Model View Controller architectural pattern. It aims tobe secure, lightweight, and easy to use.
Features
1.
Strict PHP5 OOP.
Offers many benefits: visibility protection, automatic class loading,overloading, interfaces, abstracts, singletons, etc.2.
Community, not company, driven.
Kohana is driven by community discussion, ideas, andcode. Kohana developers are from all around the world, each with their own talents. Thisallows a rapid and flexible development cycle that can respond to new bugs and requestswithin hours.3.
GET, POST, COOKIE, and SESSION arrays all work as expected.
Kohana does notlimit your access to global data, but provides XSS filtering and sanity checking of all globaldata.4.
Cascading resources, modules, and inheritance.
Controllers, models, libraries, helpers,and views can be loaded from any location within your system, application, or module paths.Configuration options are inherited and can by dynamically overwritten by each application.5.
No namespace conflicts.
Class suffixes and prefixes are used to prevent namespaceconflicts.6.
Auto-loading of classes.
All classes in Kohana are automatically loaded by the framework,and never have to be manually included.7.
API consistency.
Classes that require access to different protocols use “drivers” to keep thethe visible API completely consistent, even when the back-end changes.8.
Powerful event handler.
Kohana events can transparently be: added, replaced, or evenremoved completely.
Goals
To be secure
means to use best practices regarding security, at all times:
Kohana comes with built-in XSS protection, and can also useHTMLPurfieras an XSS filter.
All data inserted into the database is escaped using database-specific functions, likemysql_real_escape_string, to protect againstSQL injectionattacks.magic quotes are disabled by Kohana.
All POST, GET, and COOKIE data is sanitized to prevent malicious behavior.
To be lightweight
means to provide the highest amount of flexibility in the most efficient manner:
Kohana usesconvention over configurationas much as possible.
Sane defaults and highly optimized environment detection routines allow Kohana to run inalmost any PHP5 environment.
Loose couplingis used to always load the minimum number of files, reducing resourceusage.
A clean API and using native functions whenever possible makes Kohana one of the fastestPHP5 frameworks available.
To be easy to use
means to provide understandable API and usage documentation, based on
 
community feedback.
MVC
Kohana uses theModel View Controllerarchitectural pattern. This keeps application logic separatefrom the presentation and allows for cleaner and easier to work with code.In Kohana this means:
A
Model
represents a data structure, usually this is a table in a database.
A
View
contains presentation code such as HTML, CSS and JavaScript.
A
Controller
contains the page logic to tie everything together and generate the page theuser sees.
Features
Highly secure
Extremely lightweight
Short learning curve
Uses the MVC pattern
100% UTF-8 compatible
Loosely coupled architecture
Extremely easy to extend
Technology
Strict PHP5 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
Credits
Most of the Kohana source code is written by the Kohana Team. There are a few notable credits,however.
CodeIgniter
Kohana was originally a fork of  CodeIgniter(CI), which is an open-source product of EllisLab. There are still many similarities between CI and Kohana, particularly in naming conventions andfilesystem design, but all of the code is either new or completely rewritten.CodeIgniteris
©
2006 EllisLab, Inc.
phputf8
All of the Kohana UTF-8 functions are ported from thephputf8project.
 
©
2005 Harry Fuecks.
Popoon
The default XSS filter used by Kohana was originally created by Christian Stockerfor thepopoon  framework. The original file is called externalinput.php. popoonis
©
2001-2006 Bitflux GmbH
HTML Purifier
The alternative XSS filter used by Kohana isHTML Purifier. This is an optional download.HTML Purifieris
©
2006-2007 Edward Z. Yang
SwiftMailer
The recommended way to send emails in Kohana is using SwiftMailer. This is an optional download.SwiftMaileris
©
Chris Corbyn
PHP Markdown
Markdownis a simple text-to-HTML formatting tool. Kohana includesPHP Markdownas an optional download.PHP Markdownis
©
2006 Michel Fortin
Those who cannot remember the past are condemned to repeat it.
History
The history of Kohana is told backwards, because we are looking forward.
Kohana 2.1.x
February 7, 2008 - Release of Kohana 2.1.1
February 5, 2008 - Release of Kohana 2.1
Kohana 2.0
November 2007Kohana version 2.0 is released. PHP5 based. New fully OOP framework, no legacy code, includesmodules, built on the cascading resources concept.
The Good Old Days
September - October 2007
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
03 / 16 / 2010This doucment made it onto the Rising List!
You must be to leave a comment.
Submit
Characters: ...