MVC Framework fuel PHP

Source: Internet
Author: User
Tags zend framework

Today, the MVC pattern basically occupies all of the professional website designs for customers. Although a single file script is still suitable for personal sites, such as ASP. form building technologies such as net web form can provide rapid development capabilities. For those who need to work in large teams and still need to have precise control over the generated HTML, it seems that MVC has found the correct balance point. The fuel PHP framework is expected to learn from early MVC frameworks such as codeigniter, Zend framework, symphony, and Ruby on Rails.

Like most MVC frameworks, the file organization structure has its own meaning. Resources, views, controllers, and models all correspond to specific folders. In addition, common applications can be stored.CodeAnd framework package. Route can be configured, but by default there is a URL mapped to the Controller class name and action method.

To do anything, you must write additional code. This is a common objection to the MVC framework. With a single file script, people can process everything in a simple and linear way, from request processing to HTML generation. In comparison, MVC requires at least one controller and an attempt. In many cases, the model also needs to transmit data between each other. As a result, the Code Generation Method of scaffolding (scaffolding) has become very common. For this purpose, the application in fuel PHP is called "Oil )".

On the nettuts + website, Philip sturgeon's overview also covers form generation and data verification. Similarly, all of these are standard technologies, and MVC developers on other platforms are familiar with them. Fuel comes with a basic database abstraction layer and an optional ORM package for users who like this data access method. Orm is mainly based on activerecord, but it is also affected by other ORM methods.

Fuel is released using the MIT protocol. It is currently in the first candidate version, and at least one version is planned in the future.

View Original English text:Infoq: Fuel PHP: An MVC Framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.