Kohana (Web Framework)

Kohana (Web Framework)

infobox Software
name = Kohana



caption = Kohana homepage on 2007-11-17.
developer = Kohana Software Foundation [ [http://trac.kohanaphp.com/wiki/Developers Developers - Kohana - Trac ] ]
latest_release_version = [http://kohanaphp.com/download.html 2.2.0]
latest_release_date = release_date|2008|08|08
latest_preview_version =
latest_preview_date =
operating system = Cross-platform
platform =
language =
programming_language = PHP
license = [http://kohanaphp.com/license.html BSD-style open source license]
genre = Web application framework
website = http://kohanaphp.com

"Kohana" is an open source, PHP5, web application framework that uses the Model View Controller architectural pattern. It aims to be secure, lightweight, and easy to use. [ [http://docs.kohanaphp.com/overview overview [Kohana User Guide ] ]

History

"Kohana" was originally created as a project fork of the "CodeIgniter" PHP framework under the name "Blue Flame". The principal reason for the fork was to create a more community-based web application framework as many users were frustrated with "CodeIgniter"'s lack of bug fixes and inclusion of new features requested by the community. In July 2007, "Blue Flame" was renamed to "Kohana" to avoid possible copyright issues [http://docs.kohanaphp.com/overview/history overview:history [Kohana User Guide ] ] . The name Kohana was chosen when the developers began looking through Native American dictionaries to find words that would have little copyright conflict. Kohana is the Sioux word for 'swift.' It is also the Japanese word for 'tiny flower', Ukrainian word for 'beloved' (only of feminine gender) and the name of a famous killer whale (Kohana)--none of which have any relation to the original intended meaning.

While the initial release of Kohana was essentially an improved version of CodeIgniter, by the end of 2007 the Kohana development team had released version 2.0 which was a complete re-write from the ground up. The new version 2.0 was strictly a PHP5 framework and has formed the basis for all other releases since.

Differences between "Kohana" and "CodeIgniter"

* Strict PHP5 OOP. Offers many benefits: visibility protection, automatic class loading, overloading, interfaces, abstracts, and singletons.cite web
url=http://kohanaphp.com/home.html
title=Frequently Asked Questions | Ubuntu
publisher=
accessdate=2007-11-25
last=
first=
]
* "Kohana" has joined the [http://www.gophp5.org/ GoPHP5] initiative. All releases from 2.2 on will conform with this project.
* Continues "CodeIgniter" design patterns. Anyone who has used "CodeIgniter" will quickly understand "Kohana"'s structure and design patterns.
* Community, not company, driven. "Kohana" is driven by community discussion, ideas, and code. "Kohana" developers are from all around the world, each with their own talents. This allows a rapid and flexible development cycle that can respond to bugs and requests within hours, instead of days or months.
* GET, POST, COOKIE, and SESSION arrays all work as expected. "Kohana" does not limit your access to global data, but offers the same filtering and XSS protection that "CodeIgniter" does.
* 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.
* No namespace conflicts. Class suffixes, like _Controller, are used to prevent namespace conflicts. This allows a User's controller and Users model to both be loaded at the same time.
* True auto-loading of classes. This includes libraries, controllers, models, and helpers. This is not pre-loading, but true dynamic loading of classes, as they are instantiated.
* Helpers are static classes, not functions. For example, instead of using form_open(), you would use form::open().
* 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. "Kohana" events can by dynamically added to, replaced, or even removed completely. This allows many changes to "Kohana" execution process, without modification to existing system code.

Features

* Uses the MVC pattern
* UTF-8 compatible
* Loosely-coupled architecture

In addition, Kohana aims to be secure, lightweight, have a short learning curve, and to be easily extended.

Technology

* Strict PHP5 OOP
* Simple database abstraction using SQL drivers
* Multiple library drivers (Session, Database, Payment) for a consistent API
* Powerful event handler allows small modifications dynamically

Third-party vendors

See also

*Comparison of web application frameworks

References

External links

* [http://kohanaphp.com/ Kohana site]
* [http://trac.kohanaphp.com/ Kohana Development (Trac) site / repository]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Kohana (Web Framework) — …   Википедия

  • Kohana — Тип Программный каркас для создания веб приложений Разработчик Kohana Team[1] Написана на PHP Операционная сис …   Википедия

  • Framework — Framework  термин, имеющий размытое значение. Обычно используется в программировании, обозначая «простую концептуальную структуру, используемую для решения сложной, проблемной задачи». Значение этого термина существенно зависит от контекста его… …   Википедия

  • Kohana — (The swift PHP Framework) Desarrollador Kohana Software Foundation [1] Kohanaframework.org Información general …   Wikipedia Español

  • Akelos PHP Framework — Тип Фреймворк для разработки веб приложений Написана на ОС Кроссплатформенное программное обеспечение Версия 0.9 8 февраля 2009 …   Википедия

  • List of web application frameworks — This is a list of notable web application frameworks, used for creating web applications. Client side ActionScript * Cairngorm * PureMVCJavaScript* Backbase * CJAX * Clean AJAX * Dojo Toolkit * Echo * Ext * [http://www.gapjumper.com/ Gapjumper] * …   Wikipedia

  • Lift (framework) — У этого термина существуют и другие значения, см. Lift. Lift Тип Фреймворк для разработки веб приложений Разработчик Lift Team …   Википедия

  • Aranea framework — Тип Веб фреймворк Разработчик Aranea Написана на Java Операционная система Кроссплатформенное ПО Языки интерфейса Java Последняя версия 1.0M1 ( …   Википедия

  • Comparison of web application frameworks — This is a comparison of notable web application frameworks. Contents 1 General 1.1 Perl 1.2 PHP 1.3 Java 1.4 Python …   Wikipedia

  • Spring Framework — У этого термина существуют и другие значения, см. Spring. Spring Framework Тип Application framework Разработчик SpringSource Написана на …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”