Fuel PHP框架引见
Fuel PHP框架介绍
Fuel PHP是一个基于PHP5.3的轻量级WEB开发框架,官网是http://fuelphp.com/,截至到今天,我看到的版本的1.0.1。
花了一晚上浏览了一下这个框架的介绍,基本上和其他主流PHP框架大同小异、包括MVC、可配置的路由(Route)、支持多模块(Modules)、支持命令行任务(Task)、数据库迁移(Migrations)等。
下面是Fuel的核心类:
Agent | 浏览器 |
Arr | 数组工具类 |
Asset | 静态资源工具类 |
Autoloader | 自动加载 |
Cache | |
Cli | |
Config | |
Cookie | |
Crypt | 加密 |
Database | |
Date | |
Debug | |
Event | 事件,有点类似js里面的event,但是feul里面的event是手动触发的 |
Fieldset | |
File | |
Form | |
Format | |
Ftp | |
Fuel | fuel框架自身的信息 |
Html | |
Image | |
Inflector | 命名转换(把hello world变成HelloWorld之类的) |
Input | |
Lang | |
Log | |
Migrate | 见上面Migrations |
Mongo_Db | |
Pagination | 分页 |
Redis | |
Request | |
Response | |
Security | 安全,主要是对CSRF的处理 |
Session | 不完全是php自带的session,feul里可以自行封装session |
Str | 字符串工具类 |
Upload | 上传 |
Uri | 创建url |
Validation | 校验 |
View |
Feul还包括几个包(package)
oil | feul自身的命令行工具,可以用于自动化生产代码、帮助测试和运行task |
auth | 认证 |
orm |

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Validator can be created by adding the following two lines in the controller.

Logging in CakePHP is a very easy task. You just have to use one function. You can log errors, exceptions, user activities, action taken by users, for any background process like cronjob. Logging data in CakePHP is easy. The log() function is provide
