06 2019 档案

摘要:Purpose: To separate strategies and to enable fast switching between them. Also this pattern is a good alternative to inheritance (instead of having a 阅读全文
posted @ 2019-06-10 05:37 Victor!!!! 阅读(89) 评论(0) 推荐(0)
摘要:UTF-8 at PHP Level: Must use the mb_* functions (such as mb_strpos() and mb_strlen() ) whenever operate on Unicode string. For example you use substr( 阅读全文
posted @ 2019-06-10 05:36 Victor!!!! 阅读(197) 评论(0) 推荐(0)
摘要:Purpose: To implement a loosely coupled architecture in order to get better testable, maintainable and extendable code. Usage: DatabaseConfiguration g 阅读全文
posted @ 2019-06-08 08:06 Victor!!!! 阅读(147) 评论(0) 推荐(0)
摘要:add_action: add_action(string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1) Actions are the hooks that launches at spec 阅读全文
posted @ 2019-06-06 13:44 Victor!!!! 阅读(154) 评论(0) 推荐(0)
摘要:In object oriented programming, SOLID is for five design principles inented to make software designs more understandable, flexible and maintainable. S 阅读全文
posted @ 2019-06-06 01:26 Victor!!!! 阅读(289) 评论(0) 推荐(0)