我们长路漫漫,只因学无止境。网站首页学无止境
linux下导出mysql整库脚本
发布时间:2017-12-05 11:34:35作者:雪饮[心得笔记]
/usr/local/mysql/bin/mysqldump -uroot -mima --databases smallbubble >> /usr/local/src/mysqlbackup/smallbubble(date +%Y-%m-%d_%H-%M-%S).sql 2>/xyerrlog.txt解析:
详细信息>>燕十八PHP高性能架构班学习笔记
发布时间:2017-11-30 09:45:06作者:雪饮[心得笔记]
linux负载均衡linux基础进阶linux开发篇linux优化篇memcachedmongodbmysql优化nginxoraclephp底层分析redis设计模式
详细信息>>设计模式
发布时间:2017-11-30 09:34:06作者:雪饮[心得笔记]
PHP实现观察者模式策略模式单例模式工厂方法观察者模式做风格切换简单工厂面向过程完成举报功能面向过程完成页面风格切换面向接口开发桥接模式适配器模式说说多态文章编辑
详细信息>>设计模式-装饰模式完成文章编辑
发布时间:2017-11-30 09:28:33作者:雪饮[心得笔记]
<?phpheader('content-type:text/html;charset=utf-8');//装饰器模式做文章修饰功能class BaseArt{ protected $content; protected $art=null; public f
详细信息>>设计模式-责任链模式完成举报功能
发布时间:2017-11-30 09:27:57作者:雪饮[心得笔记]
<?phpheader('content-type:text/html;charset=utf-8');//版主class board{ protected $power=1; protected $top='admin'; public function process($
详细信息>>设计模式-文章编辑的难题
发布时间:2017-11-30 09:27:25作者:雪饮[心得笔记]
<?phpheader('content-type:text/html;charset=utf-8'); class article{ protected $content; public function __construct($content){ $this->con
详细信息>>设计模式-说说多态
发布时间:2017-11-30 09:26:46作者:雪饮[心得笔记]
<?php//定义一个没有方法体的抽象类(老虎类)abstract class Tiger{ public abstract function climb();}//要想继承抽象类就必须实现抽象类中的每个抽象方法(西虎类)cla
详细信息>>设计模式-适配器模式
发布时间:2017-11-30 09:25:45作者:雪饮[心得笔记]
<?phpheader('content-type:text/html;charset=utf-8');//适配器模式 //服务端代码class tianqi{ public static function show(){ $today=array('tep'
详细信息>>设计模式-桥接模式
发布时间:2017-11-30 09:25:07作者:雪饮[心得笔记]
<?phpheader('content-type:text/html;charset=utf-8');//信息抽象类abstract class info{ protected $send=null; public function __construct($send)
详细信息>>设计模式-面向接口开发
发布时间:2017-11-30 09:24:29作者:雪饮[心得笔记]
<?php//db接口interface db{ function conn();} class dbmysql implements db{ public function conn(){ echo 'mysql实例化完成'; }} class d
详细信息>>