上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: 安装nodejshttps://cnodejs.org/topic/53a92af6c3ee0b58203258fe安装 mongodbhttp://www.cnblogs.com/zj1111184556/p/3599828.html安装 redishttp://blog.fens.me/linu... 阅读全文
posted @ 2015-08-05 20:30 linksgo2011 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 如果C++中不使用多线程界面可能被卡住因此我们使用下面代码实现 // 防止界面卡住 MSG msg; if (PeekMessage(&msg, 0, 0, 0, PM_REMOVE)) { TranslateMessage(&msg); DispatchMessage(&msg); } 参... 阅读全文
posted @ 2015-07-29 16:42 linksgo2011 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-11-08 16:36 linksgo2011 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-11-01 13:01 linksgo2011 阅读(135) 评论(0) 推荐(0) 编辑
摘要: cakephp 很老的框架了,尝鲜算是牵强,不过就算很先进的框架例如YII都有这些机制,不过仍然没有理解手册地址: http://book.cakephp.org/2.0/en/core-libraries/events.html使用方式: 1、在需要支持事件的类中(包括、模型、控制器等)使用... 阅读全文
posted @ 2014-10-29 09:57 linksgo2011 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 1、官方文档地址http://qunitjs.com/cookbook/#asserting-resultsIntroduction简介Automated testing of software is an essential tool in development. Unit tests are ... 阅读全文
posted @ 2014-09-29 22:50 linksgo2011 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 参考博客地址http://www.woiweb.net/how-to-test-your-javascript-code-with-qunit.html官方地址http://qunitjs.com/1、创建qunit.html 文件添加由官方提供的cdn 加载测试框架 QUnit Exampl... 阅读全文
posted @ 2014-09-22 13:58 linksgo2011 阅读(257) 评论(0) 推荐(0) 编辑
摘要: .*/",$html,$matchs);if ($matchs[1]) { foreach ($matchs[1] as $key => $one) { $sub_url = $domain.$one; $result = getUrlByPattern($sub_... 阅读全文
posted @ 2014-09-19 12:38 linksgo2011 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 前言 cakephp 的单元测试参考http://book.cakephp.org/2.0/en/development/testing.html以下是CakeTestCase类的断言,也就是cakephp 定义的断言,实际使用中还可以使用CakeTestCase的父类PHPUnit_Framewo... 阅读全文
posted @ 2014-09-12 19:22 linksgo2011 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 有的时候存在例如确认、取消等多个操作,如何把参数传送给服务器呢?方案1、然后提交过后可以通过 post数据里面是否存在 done 或者 cancel字段这个方案的问题是,仅仅有部分浏览器支持,火狐、IE不支持 webkit浏览器,如chrome 以及国内很多浏览器的急速版本都不支持方案2、使用js(... 阅读全文
posted @ 2014-09-11 11:22 linksgo2011 阅读(769) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 20 下一页