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
阅读全文
摘要: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(
阅读全文
摘要:Purpose: To implement a loosely coupled architecture in order to get better testable, maintainable and extendable code. Usage: DatabaseConfiguration g
阅读全文
摘要: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
阅读全文
摘要:In object oriented programming, SOLID is for five design principles inented to make software designs more understandable, flexible and maintainable. S
阅读全文
浙公网安备 33010602011771号