php mvc many view need to be separated from the head and the bottom, these heads and the bottom may be the same, may not be the same, how to achieve?
I"m writing my own framework, and I see that other mature frameworks are too complex. So, big brothers, do me a favor
1. Now, I think, it is the include? in the current view page. Or automatically load the new class and divide it into two function?. Or something else?
2, third-party sdk, such as: Alipay app pay, Wechat"s, so how to integrate? Is it still use new? is class coming in?
Xiaobai asks for advice.