This class library helps programmers quickly and freely generate HTML pages. I thought it could be a simple template engine. But now I think it is not an engine. It can be regarded as only one auxiliary class library. In March September, I was never used after my part-time job was stopped. Some time ago I studied asynchronous programming. By the way, the Class Library also added the function that can be asynchronously executed. Some internal algorithms have also been optimized and more support for concurrent processing adjustments.
There are two major changes. One is the form of {$ static include file: Include (/include/bottom.htm) $. Directly include static file content as a parameter. You can also include other template pages in the form of {$ dynamic include file: exec (/include/exec.htm) $} and get the parsing result as a parameter.
After page_load is executed. All labels with asynchronous flag {$ asynchronous display table: 12: 20: asynchronous $} start asynchronous execution. If you want to connect multiple databases to the page. This function is useful.
In addition, there is a template and processing class code for my previous part-time project. You can see the usage habits. Demo was written yesterday and sent to the programmers who sent four emails. I modified it today, and now I want to help other programmers improve their thinking.
Address: http://files.cnblogs.com/vitality2007/ShowDemo.rar
The 210 line of the showtest. CS in the logic project is incorrect, resulting in an asynchronous page turning error. I just found that the downloaded file has been modified.