7. Framework主體架構優化
• Base Model & Controller Refactor
• Member
• Global Variable
• Config Refactor
• YAML
• Import Timing
• Exception Refactor
• Log center
• Output Control
8. 套件&服務接口重構
• Cache Refactor
• Basic function (Set, Put, Delete)
• Query, Key Hash, Namespace Cache
• Namespace control
• DB model Refactor
• Connection control
• Read/Write split control
• Transaction control
• Table schema cache
• PHP-Resque Refactor
• Search Engine Replacement
• Composer Refactor
9. 開發流程優化
• Develop Enviroment
• Database Version Control
• DEV Config Version Control
• Coding Style
• Auto format tools
• Code Review & Testing
• Functional test
• Unit-Test coverage
17. 服務端三層式架構 (1/2)
Model DAO DatabaseController
Interface
Service Tier Business Tier Data Access Tier
View
Controller
Model
Web Site
Interface
Controller
Model
Web Service
Client AppClient Browser
Application Layer Data Layer
Service Layer
• 服務層
• 網頁服務
• API服務
• 應用層
• 商業邏輯控制
• 流程管理
• 資料存取
• 資料層
18. 服務端三層式架構 (2/2)
Mysql Node 1
AP Server 1 AP Server 2 AP Server n
Firewall & Load Balance
Mysql Node 2 Mysql Node n
WEB Server 1 WEB Server 2 WEB Server n
Application Layer
Service Layer
Data Layer
API Request
MySQL Protocol