I haven't seen smarty yet. I've seen a custom template engine that doesn't understand a lot of things. It's too hard to know what it means to learn.
I don't know what that means in this picture.
Why are there curly braces inside the angle brackets and a whole bunch of questions about the picture? Why use regular expressions?
 
 
 
 
 
Reply content:
 
I haven't seen smarty yet. I've seen a custom template engine that doesn't understand a lot of things. It's too hard to know what it means to learn.
I don't know what that means in this picture.
Why are there curly braces inside the angle brackets and a whole bunch of questions about the picture? Why use regular expressions?
 
 
 
 
 
I can see the question that the Lord is trapped in Smarty relative to your complex grammatical structure, my advice is:
Do not study too deliberately, you can first contact some frameworks, each mature framework contains the template engine, of course, not necessarily smarty, but you understand the template engine God help! ~
 
 
 
The PHP language itself is a very good template engine!!!
 
It is not recommended to use a complex template engine such as smarty ...
It's recommended that you go to GitHub and look for some smaller template engines.
 
 
 
This official document must be written, in fact, some specific syntax, most of the framework has, in order to make the code look more concise
 
 
 
The template engine is the abstract view into a template, and then it is based on the incoming data assembled into a view of things, in fact, PHP itself is a template engine, basically all of the template engine is the same, as needed on the line