問題描述
WordPress Core 的設計模式是什麼?作為 this Stack Overflow question shows,WordPress 不遵循 MVC 模式; 然而,開發人員可以編寫 plugins and themes that follow MVC 。但是我的問題僅適用於 WordPress Core,而不是任何其他可能或可能不遵循 MVC 模式的 add-ons,主題,擴展,插件或 forked projects 。
如果 WordPress Core 不遵循 MVC 設計,那麼它遵循什麼樣的設計模式呢?
最佳解決方案
肉丸意粉
The term “spaghetti with meatballs” is a pejorative term used in computer science to describe loosely constructed object-oriented programming (OOP) that remains dependent on procedural code. It may be the result of a system whose development has included a long life cycle, language constraints, micro-optimization theatre, or a lack of coherent coding standards.
它也有一點通心粉混合在…
http://en.wikipedia.org/wiki/Spaghetti_code#Spaghetti_with_meatballs
參考文獻
注:本文內容整合自 Google/Baidu/Bing 輔助翻譯的英文資料結果。如果您對結果不滿意,可以加入我們改善翻譯效果:薇曉朵技術論壇。