08 2018 档案

php结合redis实现高并发下的抢购、秒杀功能
摘要:https://blog.csdn.net/nuli888/article/details/51865401 阅读全文

posted @ 2018-08-29 10:10 木楊 阅读(134) 评论(0) 推荐(0)

PHP操作redis
摘要:Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。 Redis支持的数据类型有 Stirng(字符串), List(列表), Hash(字典), Set(集合), Sorted Set(有序集合); redis版 阅读全文

posted @ 2018-08-29 10:07 木楊 阅读(145) 评论(0) 推荐(0)

.魔术方法、魔术常量
摘要:1。__construct() 实例化对象时被调用,当__construct 和以类名为函数名的函数同时存在时,__construct 将 被调用,另一个不被调用。 2。__destruct() 当删除一个对象或对象操作终止时被调用。 3。__call() 对象调用某个方法,若方法存在,则直接调用; 阅读全文

posted @ 2018-08-13 16:07 木楊 阅读(134) 评论(0) 推荐(0)

如何处理负载、高并发
摘要:从低成本、高性能和高扩张性的角度来说有如下处理方案: 1、HTML 静态化 其实大家都知道,效率最高、消耗最小的就是纯静态化的 html 页面,所以我们尽可能 使我们的 网站上的页面采用静态页面来实现,这个最简单的方法其实也是最有效的 方法。 2、图片服务器分离 把图片单独存储,尽量减少图片等大流量 阅读全文

posted @ 2018-08-13 16:02 木楊 阅读(811) 评论(0) 推荐(0)

正则匹配表达式各个符文表达的意义
摘要:\ 将下一个字符标记为一个特殊字符、或一个原义字符、或一个向后引用、或一个八 进制转义符。例如,’n’ 匹配字符 “n”。’\n’ 匹配一个换行符。序列 ‘\\’ 匹 配 “\” 而 “\(” 则匹配 “(”。 ^ 匹配输入字符串的开始位置。如果设置了 RegExp 对象的 Multiline 属性 阅读全文

posted @ 2018-08-13 16:00 木楊 阅读(169) 评论(0) 推荐(0)

购物车的原理
摘要:购物车相当于现实中超市的购物车,不同的是一个是实体车,一个是虚拟车而已。用 户可以在购物网站的不同页面之间跳转,以选购自己喜爱的商品,点击购买时,该商品 就自动保存到你的购物车中,重复选购后,最后将选中的所有商品放在购物车中统一到 付款台结账,这也是尽量让客户体验到现实生活中购物的感觉。服务器通过追 阅读全文

posted @ 2018-08-13 16:00 木楊 阅读(293) 评论(0) 推荐(0)

xss 攻击怎么防止
摘要:XSS 又称 CSS,全称 Cross SiteScript(跨站脚本攻击), XSS 攻击类似于 SQL 注入攻击, 是 Web 程序中常见的漏洞,XSS 属于被动式且用于客户端的攻击方式,所以容易被忽略 其危害性。其原理是攻击者向有 XSS 漏洞的网站中输入(传入)恶意的 HTML 代码,当用 阅读全文

posted @ 2018-08-13 15:47 木楊 阅读(168) 评论(0) 推荐(0)

PHP垃圾回收深入理解
摘要:https://www.cnblogs.com/lovehappying/p/3679356.html 阅读全文

posted @ 2018-08-13 14:13 木楊 阅读(118) 评论(0) 推荐(0)

php在foreach中使用引用赋值&可能遇到的问题
摘要:https://blog.csdn.net/luan111111/article/details/50420534 阅读全文

posted @ 2018-08-13 14:11 木楊 阅读(253) 评论(0) 推荐(0)

接口和抽象类有什么区别
摘要:https://www.cnblogs.com/yongjiapei/p/5494894.html 阅读全文

posted @ 2018-08-12 19:39 木楊 阅读(166) 评论(0) 推荐(0)

关于php优化 你必须知道的一些事情
摘要:http://blog.aulei521.com/?p=97 阅读全文

posted @ 2018-08-09 14:36 木楊 阅读(103) 评论(0) 推荐(0)

yii 表单小部件
摘要:http://blog.aulei521.com/?p=102 阅读全文

posted @ 2018-08-09 14:35 木楊 阅读(101) 评论(0) 推荐(0)

yii 表单小部件的使用方式
摘要:http://blog.aulei521.com/?p=106 阅读全文

posted @ 2018-08-09 14:34 木楊 阅读(153) 评论(0) 推荐(0)

yii 表单小部件默认选中的方法
摘要:http://blog.aulei521.com/?p=110 阅读全文

posted @ 2018-08-09 14:33 木楊 阅读(191) 评论(0) 推荐(0)

yii 的单文件上传
摘要:http://blog.aulei521.com/?p=113 阅读全文

posted @ 2018-08-09 14:33 木楊 阅读(123) 评论(0) 推荐(0)

yii 多文件上传
摘要:http://blog.aulei521.com/?p=115 阅读全文

posted @ 2018-08-09 14:32 木楊 阅读(164) 评论(0) 推荐(0)

Yii2.0 rules验证规则大全
摘要:http://blog.aulei521.com/?p=117 阅读全文

posted @ 2018-08-09 14:31 木楊 阅读(132) 评论(0) 推荐(0)

五十个小技巧提高PHP执行效率
摘要:http://blog.aulei521.com/?p=121 阅读全文

posted @ 2018-08-09 14:28 木楊 阅读(97) 评论(0) 推荐(0)

yii 使用DB实现rbac 权限控制
摘要:http://blog.aulei521.com/?p=119 阅读全文

posted @ 2018-08-09 14:28 木楊 阅读(125) 评论(0) 推荐(0)

git 的使用
摘要:http://blog.aulei521.com/?p=95 阅读全文

posted @ 2018-08-09 14:27 木楊 阅读(105) 评论(0) 推荐(0)

yii 验证码功能的实现
摘要:http://blog.aulei521.com/?p=128 阅读全文

posted @ 2018-08-09 14:15 木楊 阅读(244) 评论(0) 推荐(0)

使用yii AR 完成单个表的CURD操作
摘要:http://blog.aulei521.com/?p=130 阅读全文

posted @ 2018-08-09 14:14 木楊 阅读(106) 评论(0) 推荐(0)

yii 邮件发送
摘要:http://blog.aulei521.com/?p=132 阅读全文

posted @ 2018-08-09 14:13 木楊 阅读(197) 评论(0) 推荐(0)

PRD 怎么写
摘要:http://blog.aulei521.com/?p=138 阅读全文

posted @ 2018-08-09 14:12 木楊 阅读(315) 评论(0) 推荐(0)

yii 基于php的Rbac权限控制
摘要:http://blog.aulei521.com/?p=141 阅读全文

posted @ 2018-08-09 14:12 木楊 阅读(298) 评论(0) 推荐(0)

composer 安装laravel 框架
摘要:http://blog.aulei521.com/?p=150 阅读全文

posted @ 2018-08-09 14:10 木楊 阅读(1333) 评论(0) 推荐(0)

封装简单的mvc框架
摘要:http://blog.aulei521.com/?p=153 阅读全文

posted @ 2018-08-09 14:09 木楊 阅读(227) 评论(0) 推荐(0)

mysql 分区
摘要:http://blog.aulei521.com/?p=157 阅读全文

posted @ 2018-08-09 14:07 木楊 阅读(114) 评论(0) 推荐(0)

正向代理和反向代理
摘要:http://blog.aulei521.com/?p=161 阅读全文

posted @ 2018-08-09 14:06 木楊 阅读(76) 评论(0) 推荐(0)

网络七层协议
摘要:http://blog.aulei521.com/?p=165 阅读全文

posted @ 2018-08-09 14:06 木楊 阅读(117) 评论(0) 推荐(0)

排序算法
摘要:http://blog.aulei521.com/?p=178 阅读全文

posted @ 2018-08-09 14:05 木楊 阅读(88) 评论(0) 推荐(0)

PSR 编码规范的内容
摘要:http://blog.aulei521.com/?p=182 阅读全文

posted @ 2018-08-09 14:04 木楊 阅读(136) 评论(0) 推荐(0)

http协议详解
摘要:http://blog.aulei521.com/?p=184 阅读全文

posted @ 2018-08-09 14:02 木楊 阅读(137) 评论(0) 推荐(0)

php算法和数据结构
摘要:http://blog.aulei521.com/?p=192 阅读全文

posted @ 2018-08-09 14:01 木楊 阅读(359) 评论(0) 推荐(0)

php操作redis详解
摘要:http://blog.aulei521.com/?p=195 阅读全文

posted @ 2018-08-09 14:00 木楊 阅读(173) 评论(0) 推荐(0)

php五种设计模式
摘要:http://blog.aulei521.com/?p=202 阅读全文

posted @ 2018-08-09 13:59 木楊 阅读(97) 评论(0) 推荐(0)

restful api 代码实例
摘要:http://blog.aulei521.com/?p=204 阅读全文

posted @ 2018-08-09 13:58 木楊 阅读(389) 评论(0) 推荐(0)

git命令大全
摘要:http://blog.aulei521.com/?p=212 阅读全文

posted @ 2018-08-09 13:49 木楊 阅读(107) 评论(0) 推荐(0)

redis 应用场景
摘要:http://blog.aulei521.com/?p=215 阅读全文

posted @ 2018-08-09 13:48 木楊 阅读(122) 评论(0) 推荐(0)

TP框架中的多种方法代码(C,G,L,T,I,N,D,M,A,R,B,U,W,S,F,E)
摘要:http://blog.aulei521.com/?p=222 阅读全文

posted @ 2018-08-09 13:46 木楊 阅读(472) 评论(0) 推荐(0)

在linux上安装svn
摘要:http://blog.aulei521.com/?p=231 阅读全文

posted @ 2018-08-09 13:44 木楊 阅读(161) 评论(0) 推荐(0)

mysql 分表的实现方式
摘要:http://blog.aulei521.com/?p=260 阅读全文

posted @ 2018-08-09 13:42 木楊 阅读(163) 评论(0) 推荐(0)

html5 实现多文件上传和预览效果
摘要:http://blog.aulei521.com/?p=228 阅读全文

posted @ 2018-08-09 13:42 木楊 阅读(1352) 评论(0) 推荐(0)

git报错:'fatal:remote origin already exists'怎么处理?附上git常用操作以及说明
摘要:https://www.cnblogs.com/leaf930814/p/6664706.html 阅读全文

posted @ 2018-08-09 13:40 木楊 阅读(231) 评论(0) 推荐(0)

PHP中使用CURL实现GET和POST请求
摘要:https://www.cnblogs.com/CHEUNGKAMING/p/5717429.html 阅读全文

posted @ 2018-08-02 16:29 木楊 阅读(212) 评论(0) 推荐(0)

YII2 电话号码的验证规则
摘要:https://blog.csdn.net/qiuxuemei915/article/details/45096513 阅读全文

posted @ 2018-08-02 16:27 木楊 阅读(396) 评论(0) 推荐(0)

linux下部署yii框架
摘要:https://note.youdao.com/share/?id=c935f49bc486f3d9d6a0e1c47100ddd9&type=note#/ 阅读全文

posted @ 2018-08-02 16:26 木楊 阅读(411) 评论(0) 推荐(1)

yii2的分页和ajax分页
摘要:https://www.cnblogs.com/lmpxs/p/5344055.html 阅读全文

posted @ 2018-08-02 16:24 木楊 阅读(174) 评论(0) 推荐(0)

linux安装phpstudy
摘要:https://blog.csdn.net/m0_38005162/article/details/68488436 阅读全文

posted @ 2018-08-02 16:16 木楊 阅读(4711) 评论(0) 推荐(0)