I feel like using a template is similar to Embedding php directly in html. Is there a similar feeling like this? the template syntax is similar to php. ------ solution ------------------ the purpose of the template is to separate html and php code., this makes it easier for programmers and the front-end to maintain the balance between the front-end and the back-end. if you work with multiple people, the template will be useful to you. ------ solution-I feel like using templates is similar to Embedding php directly in html.
Do you feel this way?
The template syntax is similar to that of php.
------ Solution ----------------------
The purpose of the template is to separate html and php code so that programmers and the front-end can do their jobs separately.
Easy to maintain
The template is useless if you have both the front-end and back-end.
If you work with multiple people, the template will be useful to you.
------ Solution ----------------------
Multi-person development will be able to find superiority
------ Solution ----------------------
The advantage of team collaborative development is absolutely great.
------ Solution ----------------------
For software development principles: the initial design of loose coupling is also used to separate the work of designers and PHP programmers, and to separate PHP code and HTML/CSS display.
------ Solution ----------------------
The syntax is almost the same, but the template logic is better.
------ Solution ----------------------
You have a narrow understanding of the template.
The template syntax is similar to the php syntax.Only one of the many Template engines
The advantage of using templates is that the business logic and display logic are separated.
In this way, you do not need to consider how to display the business logic. On the contrary, you do not need to consider how the data comes when designing the display logic.
Using the template engine does not matter how many people are involved in development.