每一种技术都有其诱人之处。
发布时间:2014-05-21 13:59:34
1. 下载debugkit https://github.com/cakephp/debug_kit/archive/master.zip2. 解压到cake/app/plugin 并重命名为DebugKit3. app/Config/bootstrap.php 开放加载DebugKit 插件。 CakePlugin::LoadAll(); CakePlugin::load('DebugKit');4. AppController 中添加DebugKit Component.........【阅读全文】
发布时间:2014-05-16 15:51:35
应用:在user 模块中loginAction 登录成功后,把用户信息保存到$_SESSION之中,然后调整到其它模块。点击(此处)折叠或打开$session = new Container('user');$session->offsetSet('uname','visitor');///此时$_SESSION['user']['uname'] === 'visitor';.........【阅读全文】
发布时间:2014-05-15 10:56:24
1.$(css 选择器,[jQuery 对象,默认是document对象]):param1的子元素中匹配param0选择器 的所有元素。2.$(element/document) :返回改元素对应的jQuery 对象,ex:$(document)、$(this)3.$(html 文本,[属性列表]): ex : $("<div>",{css:{width:100},}4.$(function(指向jQuery 本身){}) : 当DOM 加载完毕后执行传入的匿.........【阅读全文】