Ask Discuz template engine good or smarty template engine useful

Source: Internet
Author: User
Tags smarty template
is Discuz template engine good or smarty template engine useful
Now to a client to do a private equity site, according to the requirements of customers can not use the CMS, had to write their own program.
Want to separate the template and program, I look on the Internet only Smarty and Disucz use more.

I have the following questions
1,discuz,smarty these two template engines, which is more useful. Because the procedure has a more complex judgment. Is it possible to use a template engine?
2, this should not be complicated, because in the template this piece I am still a novice, I look, from the configuration to use, seems to be relatively simple, and the discuz cycle is more simple.
3, if you want to consider the site to generate static pages, which kind of template engine is better.

Please answer the master, thank you.

Share to: more


------Solution--------------------
Suggest Smarty Official study material very much
Discuz, you're going to have to find him yourself. Template engine data is relatively small
Discuz is a system, not a template engine.
And then some people's responses can be ignored and bragging is not the way to blow.
------Solution--------------------
Heyli deeply to the CSDN chief scientist moved ...

Citation:
recommended Smarty Official learning materials very much
Discuz, you're going to have to find him yourself. Template engine data is relatively small
Discuz is a system, not a template engine.
And then some people's responses can be ignored and bragging is not the way to blow.

------Solution--------------------

Oh


Citation:
Heyli deeply to CSDN chief scientist moved ...

Reference:

Suggest Smarty Official study material very much
Discuz, you're going to have to find him yourself. Template engine data is relatively small
Discuz is a system, not a template engine.
And then some people's responses can be ignored and bragging is not the way to blow.



If you're the foreman again, the recommendation for removal is not a template.
------Solution--------------------
Citation:
Heyli deeply to CSDN chief scientist moved ...

Reference:

Suggest Smarty Official study material very much
Discuz, you're going to have to find him yourself. Template engine data is relatively small
Discuz is a system, not a template engine.
And then some people's responses can be ignored and bragging is not the way to blow.


I fainted, writing a template engine is not difficult,
I wrote it myself. Support include loading files, supporting one-dimensional arrays, two-dimensional arrays, language packs, ordinary variable substitution, as-is output, annotation statements, itself is not difficult, and used the regular expression to find the tag, and to replace the value
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.