Smarty is chicken, smarty is chicken, smarty is chicken, Smarty is chicken ribs! How to solve

Source: Internet
Author: User
Smarty is chicken, smarty is chicken, smarty is chicken, Smarty is chicken ribs!
Play a title party, sorry, hope to come in people told me: you are wrong!

--Do not open the cache, light read compiled template, most of which is the echo output, performance improvement on the less do not do array loop

-If it's open, then simply put the cache to the full static page, which is more efficient than it, save the time to read

--In addition, see a lot of frameworks are not replaced by the template, this is less to compile and replace that part of the process, if you want to cache the output directly generated HTML or other way to save on the hard disk,

So has been to smarty performance a little play up, but discard feeling,


... Waiting for the master to speak

------Solution--------------------
I don't know what that means.
------Solution--------------------
Smarty is not chicken ribs?
The benevolent see of the beholder
Only the people who know it, I don't need it anyway.
As a template engine, the goal is to reduce the amount of development effort, or to improve development efficiency
Any template engine is
As for the efficiency of operation, it must be discounted


------Solution--------------------
Hey
Take a minute, okay?
------Solution--------------------
Used to a few
------Solution--------------------
Smarty AH. Have used
------Solution--------------------
Cached page full static cache refresh How do you control it? If your page is generated, do not move. What engines are the same?
Isn't it complicated?
------Solution--------------------
I don't need a smarty, not a template engine.
I have a self-developed "pull" type of the template engine, very simple, very effective.
It's been working with my toolbox for years.

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

------Solution--------------------
I have never used smarty, because just use PHP when the use of another template, repair change to become their own.

Two files, source code includes less than 30K of comments
------Solution--------------------
No, I don't know.
------Solution--------------------
The use of templates is to speed up development, the efficiency of the operation must be discounted.

If the code is run equivalent to the quality of goods, then the development of time is equivalent to the cost, it is clear that with smarty and can not get the best quality, but to get the most cost-effective.
------Solution--------------------
I'm here to pick up the points.
------Solution--------------------
PHP is the best template
------Solution--------------------
Specific situation specific treatment, by the way.
------Solution--------------------
If you feel that the speed is not good, then you change it, put something not to remove, the speed came. As for the cache, you have the ability to write it yourself. It's open-source! There is no need for such rivalry.
------Solution--------------------
pull~~~ push
------Solution--------------------
You can't use it to say that someone is not good.
------Solution--------------------
Help Top. Connect, learn
  • 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.