Home  >  Article  >  Backend Development  >  PHP framework: uxf

PHP framework: uxf

WBOY
WBOYOriginal
2016-07-25 09:12:251340browse
uxf is a php framework, running based on discuz! X3.0 or above environment.

Framework development purpose

  • Provides a complete MVC programming paradigm;

Framework design principles

  1. Easy for team collaboration

  2. Make code portable

  3. Promote object-oriented programming thinking

  4. Try not to modify Discuz and keep the original system clean and upgradable

Main features

  • Modular code organization structure

  • Unified route construction and analysis

Usage scenarios

  • A large number of existing community websites run based on discuz. When their functions need to be expanded, they develop functions in a relatively independent manner. Using this framework can obtain relatively complete framework features and higher development efficiency

  • When learning to use Discuz’s large number of components for system development, you can get some inspiration by referring to this system

System deployment

Pseudo-static settings

  1. Apache Server

  2. Nginx server

A large number of domestic websites are using the Discuz program. Of course, most websites only use it as a forum program, and a small number use it as a complete community program. Therefore, regardless of whether it is authorized or not, many people will conduct secondary development based on this program.

Discuz is a multi-application portal and multi-module framework in terms of model, that is, you can define an application portal such as money.php, and then write related modules for it. For details, see the official developer wiki: http://dev. discuz.org/wiki .

But compared to other typical modern PHP frameworks such as Yii, ThinkPHP, WindFramework, etc., Discuz is a bit not high-end and classy enough, although it has rich functions and features in all aspects.

Uxf’s development ideas and routes

1. Implement the complete MVC pattern;

2. Single entrance, unified url routing system;

3. The goal is to integrate important features of various mainstream frameworks. Currently, only the basic MVC development model is provided

4. Do your best to implement framework and application development without modifying the discuz code

Project address

https://gitcafe.com/web3d/uxf



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