好好爱自己!

上一页 1 ··· 156 157 158 159 160 161 162 163 164 ··· 179 下一页
摘要: 原文: http://blog.csdn.net/realghost/article/details/35212285 https://my.oschina.net/cxz001/blog/533166 http://www.oschina.net/code/snippet_1171845_4804 阅读全文
posted @ 2016-09-29 20:24 立志做一个好的程序员 阅读(2825) 评论(0) 推荐(0)
摘要: php 的一个依赖注入容器, 说白了,就是用php 的反射类,来在运行的时候动态的分析类具有的函数,以及动态分析函数的参数, 从而实例化类,并执行类的方法。 另外,php 中的 typehint 还是很有用的,反射的时候就有用到! 下面贴出代码: 阅读全文
posted @ 2016-09-29 16:04 立志做一个好的程序员 阅读(18378) 评论(0) 推荐(0)
摘要: 原文:http://www.shundecity.com/view-82596-1.html https://site.douban.com/110462/widget/notes/344278/note/259874210/ https://www.zhihu.com/question/40665 阅读全文
posted @ 2016-09-29 11:25 立志做一个好的程序员 阅读(420) 评论(0) 推荐(0)
摘要: https://book.douban.com/subject/7043452/ 1、冥想2、健康饮食(低GI、素食为主,未加工食物为主).低GI食物使血糖稳定(蛋白、麦片、粗纤谷类、豆类、水果蔬菜);选择健康零食(如小袋坚果);拒绝垃圾食品3、深呼吸 (每分钟4-6次)4、锻炼(有意或无意)5、充 阅读全文
posted @ 2016-09-29 11:04 立志做一个好的程序员 阅读(342) 评论(0) 推荐(0)
摘要: 分享来自 quora 的一篇文章 https://www.quora.com/How-difficult-is-it-to-create-a-JavaScript-framework https://code.tutsplus.com/tutorials/build-your-first-javas 阅读全文
posted @ 2016-09-28 11:05 立志做一个好的程序员 阅读(320) 评论(0) 推荐(0)
摘要: 可以练一练内家拳,修身。 阅读全文
posted @ 2016-09-27 10:13 立志做一个好的程序员 阅读(160) 评论(0) 推荐(0)
摘要: 脑子里突然冒出这么一句话: “反射 是一种 代理!!!”,javascript ECMScript 6中也开始实现 Reflect 了。 php的动态代理, 反射方面,在很多框架中都用到了。也是很多框架的实现的重要手段。 http://www.phppan.com/2011/10/php-desig 阅读全文
posted @ 2016-09-26 10:33 立志做一个好的程序员 阅读(273) 评论(0) 推荐(0)
摘要: he scope of all functions is window. (The reason why is you are invoking f as a function(类,全局的类) and not a method. When invoked as a function this is 阅读全文
posted @ 2016-09-25 18:41 立志做一个好的程序员 阅读(276) 评论(0) 推荐(0)
摘要: Function bind() and currying <%-- All JavaScript functions have a method called bind that binds to an object and returns a new function. The first arg 阅读全文
posted @ 2016-09-25 17:56 立志做一个好的程序员 阅读(483) 评论(0) 推荐(0)
摘要: javascript 中 arguments.callee属性 可以在函数内部,指向的是这个函数(或者叫做“类”)本身。 相当于PHP 中的 self 关键字。 The arguments.callee property contains the currently executing functi 阅读全文
posted @ 2016-09-23 13:23 立志做一个好的程序员 阅读(234) 评论(0) 推荐(0)
上一页 1 ··· 156 157 158 159 160 161 162 163 164 ··· 179 下一页

不断学习创作,与自己快乐相处