Blitz Templates is a fast and convenient template engine for large Internet projects developed in php. At first, it may not be entirely clear why you need Blitz for php, at a time when this language is essentially a template engine, only very sophisticated.
')
Everything becomes clear when it comes to a large project in which there are such labor units as a developer and coder when the question arises about the separation of application logic and layout. And, of course, such projects do not go without the task of rational use of computational resources when it comes to returning millions of dynamic HTML documents per day.
An ordinary typesetter is alien to the wilds of a developed scripting language, he sees the work in a different light. This is the first thing that is difficult to understand from the outside.
The philosophy of Blitz is all the logic, including complex loops (some of the advanced possibilities of working with loops still appeared in the latest versions of the template engine), - on the side of the script, under the control of the developer. The coder operates with only a small set of simple directives. If you need to display a block of a document N times, then the maker-up’s task is only to properly mark this block in code, and the programmer’s task is to determine when and how many times to block this block.
In fact, everything is very convenient and efficient. I personally came across situations when one of the major Russian Internet companies faced significant conflicts due to the unwillingness of layout designers to understand the capabilities of the Toolkit Template template maker. I personally saw the terrible neglected state that reached the page templates of millions of projects. In the case of Blitz Templates, this is excluded.
Thematic Media company thanks Alexey Rybak and his colleagues for finding the time and effort to support and develop such a useful Open-Source initiative.
Blitz Templates already lives in the heart of
auto-cad and new version of Habrahabr :-)