PHP Framework: SPFramework. This is a very concise PHP framework, and its goal is:
Provides the most basic and concise MVC service, minimizes the number of mounting programs without complicated structures, and improves the running efficiency.
Reduces the learning cost for team members (using SMARTY usage for reference) and uses traditional MVC structures and readable folder names.
Allows you to mount/detach basic services, such as View layer components, MySql statement components, Redis operations, MongoDB operations, and MemberCached.
The SPF class library framework has the following advantages:
:
-
1. include files for optimal efficiency
-
2. Automatic loading. only new object () is required ();
-
3. Unified/categorized management of all class libraries
-
4. add namespace to a third-party class library for immediate use.
-
5. Automatic loading also provides a powerful and easy-to-use code encapsulation/modular approach
Two actual projects have been applied, and the project runs well. no other problems have been found.
Currently supported components
1. SQL statement assembly class (Mysql) supports read/write splitting
2. Redis Singleton (Redis)
(Note: The rewrite rules of apache are attached. rewrite the url according to the rewrite rules of apache. The core idea is to hide index. php)
Project homepage:Http://www.open-open.com/lib/view/home/1441786569680