search
Homephp教程php手册PHP框架之Kohana

简介

  Kohana基于MVC模式开发,是一款纯PHP5的面向对象开发框架,这款框架虽然年轻,但可以说它的发展潜力还是很大的。因为Kohana是论坛管理,与CI的公司管理不同,它的开发者都来自各地,各有各的优势,因此,它可以快速回复用户提出的建议并及时修复出现的问题,提高开发效率。它的代码属于轻量级,框架灵活,容易使用。Kohana 在不对全局数据做读取限制的基础上进行数据过滤和XSS防护,保证了系统的安全性。由于它限制了OOP的能力,因此它更适用于开发小型的Web应用。

  编者在这里要提醒各位读者,Kohana3在MVC模式的基础上有所改进,借鉴了zend framework的一些功能,类命名方式改进了不少。它将MVC的结构模式改为了HMVC,这样做方便了不同Control接口的调用,但比较复杂,因此需要开发者花更多的时间去学习在Kohana中接口调用方面的相关知识。

  优点

  1.高效、灵活、易用,有较强的扩展性,框架逻辑清晰,目录及文件结构较为合理;

  2.Kohana的可见性保护是一个特色,这类功能在提高数据读取率的基础上保证了全局数据的安全性;

  3.框架中的类均添加了后缀,这样能够避免用户的控制器和数据模型等发生命名冲突的问题;

  4.用户能在Kohana的执行过程中对事件进行动态的更改,不会影响原有的系统代码。

  缺点

  1.文档缺失,对于初学者上手比较吃力;

  2.功能较少,还有待完善;

  3.框架API的变化较大,不太稳定,不同版本之间的区别较为明显,例如Kohana2和Kohana3看起来像两个框架。

  Kohana v3.0.8免费下载地址:   http://down.ddvip.com/view/128893736736005.html

  Kohana官网地址:   http://kohanaframework.org/



Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor