I have always had such a question about why java is used as the backend and php is used as the front-end. why is Java used as the backend and PHP is used as the front-end, some large companies also adopt this method,
So I think there must be some truth, so I read some materials to come up with some personal opinions.
Everyone knows that php is very efficient in development. compared with this fast food product, java is relatively safe,
I feel that the web technology is very mature now, and there are a lot of web products today. isn't it better if we use php alone for development?
It saves costs and can be quickly launched. In addition, php is now very mature and adopts the object-oriented mechanism to improve scalability,
The framework development is also relatively mature, but although it is good, the security is not as good as java, java still exclusive to php in some large projects,
Therefore, if you use php instead of jsp to combine the two, the development efficiency and security are relatively high. Many architects also like to do this,
If you think of this, you can try it yourself. if you are interested, you can try it. this is just my personal understanding.
, Hope you like it