mengdejun 发表于 2010-6-27 05:44:34

ezphp开发框架

闲来无事,自己写了个mvc框架,发给大家共享一下,多提宝贵意见.

mengdejun 发表于 2010-6-27 06:03:51

index.php/controller/action
default index.php/Index/index
IndexAction/index

songah 发表于 2010-6-27 09:02:24

好多报错啊
直接运行index时报错
Warning: include_once(zendAction.php) : failed to open stream: No such file or directory in F:\AppServ\www\test\ezphp\lib\core\ClassSupport.php on line 118
然后我在index.php中加上两个常量,把loader类第八行修改了一下
        set_include_path(get_include_path().PATH_SEPARATOR.$dirname.PATH_SEPARATOR.$dirname.'\\vendors'.PATH_SEPARATOR.$dirname.'\core'.PATH_SEPARATOR.$dirname.'\plugins'.PATH_SEPARATOR.APPPATH.'\controllers'.PATH_SEPARATOR.APPPATH.'\models');

然后可以调用action类了,但是调用zendaction是报错
Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed' in F:\AppServ\www\test\ezphp\lib\vendors\Zend\Db\Adapter\Pdo\Abstract.php on line 104
调用xingaction还是报错
Fatal error: Unsupported operand types in F:\AppServ\www\test\ezphp\lib\vendors\template\XingTemplate\core.xingTemplate_class.php on line 34
学习学习还可以吧

songah 发表于 2010-6-27 09:03:44

是这个需要pecl支持吗?要求太苛刻了吧

mengdejun 发表于 2010-6-27 19:49:37

xingtemplate这个适配器写的比较粗糙

mengdejun 发表于 2010-6-27 19:53:35

zend db没错(smarty模板写错啦) xingtemplate已经拿掉啦

mengdejun 发表于 2010-6-27 19:56:12

修改了部门错误,加了个钩子

snllll 发表于 2010-7-13 01:45:25

加油!继续干下去了

mengdejun 发表于 2010-7-24 16:38:30

:handshake 已更新

hj_545 发表于 2010-7-26 17:06:48

个人认为,创新固然是好,但是再没有理解前面人所作之事,达到和前面人一个差不多的水平上,这种创新还是留给自己吧,分享出来大家看看就好,千万不要再搞出一个新框架了~百花争艳,未必花花香~
建议楼主真的有能力的话,去参与其他优秀框架开发维护中去~
页: [1] 2
查看完整版本: ezphp开发框架