http://phrame.sourceforge.net/ Phrame encourages application architectures based on the "Model2" approach, a variation of the classic Model-View-Controller (MVC) design paradigm. Phrame provides its own Controller component and integrates with other technologies to provide the Model and the View. For the Model, Phrame can interact with any standard data access technology, including Pear DB/DataObjects, and ADODB. For the View, Phrame works well with PHP, Smarty Templates, XSLT, Flash MX, and other presentation systems.Phrame provides an extensible development environment for your application, based on published standards and proven design patterns. Phrame is sponsored by the Software Development department of Texas Tech University and is released under the LGPL 可以下来看一下.
提供点资料如何
用 SMARTY和ADODB开发最好修改里面的一些CLASS
这样更方便一些
例如truncate 的中文字符截取问题
Phrame encourages application architectures based on the "Model2" approach, a variation of the classic Model-View-Controller (MVC) design paradigm. Phrame provides its own Controller component and integrates with other technologies to provide the Model and the View. For the Model, Phrame can interact with any standard data access technology, including Pear DB/DataObjects, and ADODB. For the View, Phrame works well with PHP, Smarty Templates, XSLT, Flash MX, and other presentation systems.Phrame provides an extensible development environment for your application, based on published standards and proven design patterns. Phrame is sponsored by the Software Development department of Texas Tech University and is released under the LGPL
可以下来看一下.
的几个牛人自己写的MVC php的框架,大概都差不多(我没有细看).
不过phrame 是依照java的structs来设计的,所以会更典型吧,希望大家能讨论下.
php出了5.0,面向对象支持更好了,用了phrame的模式,会更像java的,这样会不会脱
离使用php的初衷?? 有时也觉得那不如直接用java算了(因为我算是从java过来的,因
为公司要求才转学php). 希望大家能给点意见吧,谢谢了
在这儿倒是有专门的介绍,http://phrame.sourceforge.net/
你可以搜索
比起PHPMVC的庞大架构,他显的精巧了许多,比较喜欢
不过对PHP的MVC方式总感觉用的不爽(个人习惯而已)
好久没用这东东了,有点想不起来了,见谅!大家补充
结果集是放在session中的,难道必须这样么?