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 9072527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:11:25+00:00 2026-06-16T18:11:25+00:00

I have been developing a application for 8 months now that has been utilizing

  • 0

I have been developing a application for 8 months now that has been utilizing Smarty for PHP templates.

I have had no problems at all with Smarty, and I have started to add more JavaScript interactions for the users on the site.

I was thinking of using backbone.js to template the JavaScript as well.

But another thought came to me, would it be bad idea to return a smarty template and load it in the div rather then return a json and use backbone.js to format the results?

Would this slow the application in anyway? What are the benefits (if any) and disadvantages to doing this?

Any thoughts would be great,

Thanks

  • 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-16T18:11:26+00:00Added an answer on June 16, 2026 at 6:11 pm

    With a normal multi-page “web site”, users navigate from page to page consuming the site’s features. Backbone however works best with a single-page “web application” model. With this approach, the only html page loaded is the first one; after that, every “page transition” is actually handled by Backbone’s Router, which fakes page transitions dynamically via DOM manipulation. Each new page’s elements are in turn built out of Backbone Views; PHP-generated html is never involved.

    And that’s why Backbone may not be the best fit for you. Unless you want to change your PHP code to be purely a server-side API-style structure (which wouldn’t really need Smarty), much of Backbone’s value is going to be lost.

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

Sidebar

Related Questions

I have been developing the application for drawing and I have some problems: the
I have been developing the application, and I need that drawingg is executed in
I have been developing Android application for Android 3.x and now I want to
I have been developing a web application for about six months with no framework
I have been developing a BlackBerry application for about 7 months, and I have
I have been developing a managed extensibility framework application for the last several months
I have been developing a web application for almost a year which I had
I have been developing Android application since 3 to 4 months. I am naive,
I have been developing an application that required the SQLite database file to be
I have been developing a java application. Now I have decided to convert this

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.