Simple, good performance, easy-to-read source code, and relatively mature libraries, such as URL redirection, are required... Simple, good performance, easy-to-read source code, and relatively mature libraries, such as URL redirection, are required...
Reply content:
Simple, good performance, easy-to-read source code, and relatively mature libraries, such as URL redirection, are required...
Symfony, supports plugin and comes with plugin Doctrine Orm. The document is well written. Of course, you 'd better use English.
2.0 in http://symfony.com
1.4 In http://symfony-project.org
Several people upstairs said that the framework is useless or troublesome, isn't it too impetuous? Isn't the purpose of the framework just to promote the clarity of code regulations? This is even a huge role. Can you ensure that everyone in the team members can write clear code?
In addition, database access is not a required function of the framework. The framework has nothing to do with database access. In addition, it is useless to use SQL statements directly. How can you ensure the flexibility and maintainability of SQL statements?
CodeIgniter
If you must use a framework, I have to recommend lotusphp, plug-in type, and you can use the components you need. If you don't need them, take them out. Performance is definitely one of the most important in many frameworks. If there is a problem, contact the author directly.
Http://code.google.com/p/lotusphp/
Zend is okay, official. Recently I heard of a new yaf, which is made in China and is said to be a new generation framework.
I think the framework is still necessary, but it is complicated and requires some mental preparation.
Generally, the framework is not needed to write small things. In addition, I feel very troublesome about the framework.
If you only need to connect to the database, give you a function:
function sql_query($sqlcon){ $con=mysql_connect(DB_HOST, DB_USER,DB_PASSWORD); mysql_select_db(DB_NAME); mysql_query("SET NAMES 'utf8'"); $result = mysql_query($sqlcon); mysql_close($con); return $result;}
You only need to use SQL _query (SQL statement.
If you do not know SQL statements, you are advised to go to w3school to learn one.
Yaf of snow migratory birds is recommended. It is often awesome to use the php framework of extension implementation.
Codeigniter!
Like YiiFramework. Check the source code. By the way, you can learn the design mode.
There are many mature frameworks at present. I would like to introduce you to some of the most popular frameworks.
Zend, yii, symfony, codeigniter
Support for ci. simple and brief
Codeigniter
Pull Laravel