Php framework Phpbean description. Phpbean has few core files, which is very relevant to phpbean design ideas (focusing on performance and cooperative development by division of labor. The core of Phpbean is only to implement the basic MVC framework, and few Phpbean core files are not provided. this is very relevant to phpbean design philosophy (focusing on performance and division of labor. The core of Phpbean is only to implement the basic MVC framework. it does not provide any redundant code and is very transparent to programmers.
The core file of Phpbean is described as follows (note that most of the core files can be used separately ):
1. base class of action. php action. Any other action must be its subclass. It implements a function: processing URL data.
2. Exception. php is an Exception handling class that directly inherits from Exception
3. Register Registry. php phpbean. For more information about registrars, see my translated article using the global variable http://www.phpobject.net/blog/read.php/77.htm in PHP
4. route processing by Router. php.
5. View. php tries to render the class.
6. DB/model. php and Db/mysql. php are mainly model layers. Currently, only MYSQL encapsulation is provided. The basic CURD is implemented in the model. it is not implemented for multi-table join query and other orm (mainly considering performance .) If complicated orm implementation is required for database layer encapsulation, zf db is recommended.
Currently, PHPBEAN provides the following optional library classes:
1. FILE library class. Provides file upload and download encapsulation classes.
2. Page paging class. JS and PHP paging classes.
3. IMG Image processing class. Currently, only verification code programs are provided.
4. Validate verification class. It can be used with the zend Framework verification class. For details, refer to how to extend ZF -- Validate extension http://www.phpobject.net/blog/read.php/110.htm
5. Lucene full-text search (coming soon ). The secondary development interface is provided based on zend lucene. May refer to the design of weblucene and nutch. For Chinese word segmentation, refer to full-text search using lucene of zend Framework-Chinese word segmentation
Http://www.phpobject.net/blog/read.php/113.htm
Phpbean strives to provide a highly flexible and transparent framework for programmers.
Pipeline (focusing on performance and division of labor for cooperative development) is very relevant. The core of Phpbean is only to implement the basic MVC framework, not to provide...