攻克CakePHP系列二 表单数据显示
首先建立数据库cake_ext,并执行如下sql文:CREATE TABLE `companies` (`id` int(11) NOT NULL auto_increment,`company` varchar(50) NOT NULL,`price` decimal(8,2) NOT NULL,
首先建立数据库cake_ext,并执行如下sql文:CREATE TABLE `companies` (`id` int(11) NOT NULL auto_increment,`company` varchar(50) NOT NULL,`price` decimal(8,2) NOT NULL,
一、当前框架存在什么问题目前主流的框架Zend Framework、Cakephp等都采用了MVC模式,同时实现了URL的路由分配。比如说http://www.xxx.com/user/login就会映射到userController对象中的loginAction方法,http://www.xxx.