Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8514523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:53:38+00:00 2026-06-11T04:53:38+00:00

Question: Will adding a templating engine such as Mustache, which has been converted into

  • 0

Question:
Will adding a templating engine such as Mustache, which has been converted into many different languages, assist in doing the same for a web application?

Background:
I am in the process of finishing up a product that will be reused many different times. Right now I have the back-end programmed in php. I was wondering if mustache.php or mustache.js would be beneficial to add to the web application, without reducing the performance noticeably. I was planning on making it easier to convert to JSP/Servlets, and ASP.NET/C#. Right now the variables that are set by the user such as logo, and Company name are sprinkled throughout the pages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:53:40+00:00Added an answer on June 11, 2026 at 4:53 am

    Choosing any templating language will be beneficial to your application. It will help you compartmentalize logic, improve the testability of your code (and your output), and, by constraining what you can do in any given layer, help you write objectively better code.

    So yes, by all means, use a templating language.

    Is Mustache(.php|.js) the right templating language to use? In my humble opinion (as a guy who wrote one of the two libraries in question) they are a very solid choice. The portability between implementations plays a big part in this, but there are a lot of other not-so-obvious benefits of Mustache.

    @kneath wrote a blog post worth reading on the matter. You should check it out.

    And to answer your implied-but-not-asked question, you won’t be sacrificing performance. Mustache.php is quite fast. You’ll hardly notice the difference 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question will be closed because I studied many example of this
I have a quick question about adding Zend_Dojo_Form into Zend_layouts. I have a Zend_Dojo_Form
Question related to HABTM has been posted in some good numbers on stackoverflow but
Will adding new member function into d pointer class definition break binary compatibility? For
The application in question has already been deployed. I have found out about ACRA
I am adding an attached behaviour to a slider which will cause it to
This question will be a little longer and I am sorry for that :)
This question will be short and sweet. I know an instruction can occur between
( Late edit: This question will hopefully be obsolete when Java 7 comes, because
I know that my question will be very similar to other ones already asked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.