Total Pageviews

Sunday 1 June 2014

php的一个框架-CodeFrame

CodeFrame is a framework for PHP that uses Model-View-Controller (MVC) design patterns.
In modern web applications that present a large amount of data to the user, a developer often wishes to separate data (model) and user interface (view) concerns, so that changes to the user interface will not affect data handling, and that the data can be reorganized without changing the user interface. The CodeFrame solves this problem by decoupling data access and business logic from data presentation and user interaction, by introducing an intermediate component: the controller.
CodeFrame is simple, light, fast and efficient framework that does not require any installation or extra add-ons. All you need is a server running PHP and copy files in provided package into your server directory for your project.
There are multiple frameworks available out there and CodeFrame is just one among them. So how does CodeFrame differ from the rest of the frameworks?
1. Small and fast
2. Easy to understand and to start developing new web applications
3. Contains SQL-driven flat-file database module, really neat feature for those who cannot access MySQL, PostgreSQL or other third party database on their web-hotels or servers. Create SQL queries just like any SQL database with a flat-file database.
4. Easy static HTML implementation: if the controller requested is not found, CodeFrame loads a static HTML file of the same name. Perfect integration of dynamic and static content under one package.
5. Functions to load content from a file and place them on the output page.
6. Many easy to use classes included in the package, like logging, validating, and many more coming and already available.
7. Perfect framework for small homepages as well as large applications.
If you want to see this framework in action, look no further. This site you are on is created fully with current version of CodeFrame PHP Framework!

from http://code.google.com/p/codeframe/