03 2016 档案
yii2.0 的数据的 查 删
摘要:数据的查询 /** * 查询正在使用的数据 model 层 */ public function selectdata(){ return $this->find()->andWhere(['about_del' => 0 , 'about_status' => 1])->all(); /* //多
阅读全文
yii2.0 的数据的 改
摘要:修改数据 /** * 根据获取到的数据的id 去编辑对应的数据 controller层 */ //引入对应的model use app\models\About; //定义一个方法 经行修改 public function actionEdit(){ //判断是否是提交过来的数据 $request
阅读全文
yii2.0 的数据的 增
摘要:增加数据 /** * 添加数据 controller 层 */ //引入对应的model类 use app\models\About; //定义对应的方法固定的actionxxxx -- 增加数据 public function actionAdd(){ //判断是否是提交过来的数据 $reques
阅读全文
Windows下安装 使用coreseek
摘要:1.安装 1.01:到官网下载 coreseek-3.2.14 1.01_1 原理 缓存服务器: 准备数据 来自数据库 配置连接 生成索引 开启服务 流程:用户-> web->sphinx->web(ids集合)->mysql->web->人 1.02:安装 1、下载后解压得到源程序目录 cores
阅读全文
Apache 的ab测试
摘要:Apache 的ab测试 操作: windows + r cmd 进入命令行模式 找到 apache 下的 ab.exe; 然后 在bin 目录下 进行操作 ab -n1000 -c100 http://www.test.com/test.php 返回如下结果: Server Software: A
阅读全文
浙公网安备 33010602011771号