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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:02:34+00:00 2026-06-15T15:02:34+00:00

USECASE: I am starting with a project which involves a lot of client side

  • 0

USECASE: I am starting with a project which involves a lot of client side scripting. It is similar to a mini CMS where user can drag and drop html components. Somewhat similar to this. Now I am in a situation where I have to choose a MVC framework for defining the components that the user will be working on. (performing operations like drag, resize, delete etc).

Now the problem I am facing is,in choosing a framework which would be easy to learn and implement. I have the basic knowledge of Javascript and jQuery and have been using it for some time,but no experience with MVC.

My research from past 2 days says backbone.js is good to start,but I would like comments/suggestions over the flexibility it gives on handling html components and DOM elements. How can I store the initial content of the HTML components? (Outer boxes and structure).

Also, how can I handle multiple components of same type? Generating Id’s dynamically is an option, but it becomes difficult to manage multiple elements with dynamic ids. Is there any other way they can be handled?

Which framework would it be easy to handle events on these components?

  • 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-15T15:02:35+00:00Added an answer on June 15, 2026 at 3:02 pm

    i use backbone for a web app which involves dragging and dropping, and i use jquery ui to implement the drag and drop features. They integrate pretty well imo, when you want to implement a droppable backbone view, for example

    render: function(){
        var $el = this.$el,
            over = false,
            origWidth;
    
    
           if (!this.$el.is('.ui-sortable'))
                this.$el.sortable({
                    revert: false,
                    axis: 'y',
                    placeholder: 'placeholder',
                    items: '.load-order',
                    containment: this.el,
                    receive: this.onOrderDrop,
                    over: this.onOrderOver
                    out: function(e, ui){
                        // Resize back to original width
                        if (over && ui.helper)
                            ui.helper.stop().animate({width: origWidth}, 'fast');
                        over = false;
                    }
    

    update:

    with backbone views, you have a skeleton html structure which is then incremented with backbone views.
    Each view has a template which is rendered with model data
    you can read more about it at Backbone Essentials

    also i made a small todolist to demonstrate draggable event with backbone

    http://www.github.com/joaoxsouls/todolist

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

Sidebar

Related Questions

I'm just starting to learn AspectJ, and I have use-case for say, User login.
I'm working on an usecase diagram. The customer can pay through credit card or
I'm starting this new project and we are thrashing out our logging/debugging approach and
I am currently starting the initial design for a solution which is basically doing
I'm starting up a new jsf2/jQuery project, and would like to use the a4j:jsfunction
Usecase: my hotline has phone number 0815/111222333 user starts up dialer and dials that
I'm starting up a new project and am thinking of what things I should
Usecase: The user makes font customizations to an object on the design surface, that
I have a usecase for which I cannot use the Qualifier annotation (atleast according
I have a usecase which describes like : Candidates register their details like personal,

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.