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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:44:22+00:00 2026-06-02T13:44:22+00:00

I am creating a web-application which lets you select a template from the template

  • 0

I am creating a web-application which lets you select a template from the template list and then user can edit that template on my website by drag and drop and normal wysiwyg editor. Now my question is,

What is the best practise?

  1. Create base template in php and keep changing the values of component through ajax calls. or…
  2. Manipulate entire template on client side(only using javascript) and while saving, get current state of template and send it onto the server for persistence.(I am not sure this is a viable idea)

Help will be appreciated. Currently I am building all the editing tools like colour palettes and adding NicEdit lightweight text editor. Mostly everything is using Jquery lib so please do let me know if you know a way to tackle this problem through Jquery.

  • 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-02T13:44:26+00:00Added an answer on June 2, 2026 at 1:44 pm

    The solution can vary based on what exact requirements (including traffic on this app) you are trying to achieve.

    If i were to create this from scratch, i will probably choose a hybrid solution:

    1. cache template state on client side
    2. add handlers on various user events like “typing/paused in textbox”, “clicking through your wysiwyg editor menu”
    3. when a user has been detected as idle (in context of template state) e.g. he just pressed a upload image button, you can send over an ajax to sync template state in backend

    PS: Make sure you add an event on page unload and other related events, so that you make sure you have synced your client side template state with backend, before user leaves the page.

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

Sidebar

Related Questions

I am creating a web application that lets the user store and retrieve information
I'm creating a web application which loads tabs using AJAX. My problem is that
I'm creating a simple web application with which a user may author a message
I am creating an web application which allows user to post some article/blog on
I am creating an international web application which users can subscribe to. I want
I'm creating a Web Start application which would benefit from some of the newer
I am creating a web application which has a few management screens, where a
I am creating a web application framework, in which I am providing support for
I am creating an application which involves so many web-service calls. I am using
I am creating an application in which I want to access a web service

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.