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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:01:41+00:00 2026-05-29T11:01:41+00:00

My background is jQuery/require.js/backbone.js! In order to broaden my horizon I’m taking a closer

  • 0

My background is jQuery/require.js/backbone.js!
In order to broaden my horizon I’m taking a closer look into Dojo.
In backbone.js you have the view component. Some people would rather say it’s a controller.
So if I want to set up a new page controller, I generate a new backbone.js view and I have a very nice and useful collection of methods available.
I found a Dojo 1.7 tutorial for a page-level controller (http://dojotoolkit.org/documentation/tutorials/1.7/recipes/app_controller/). But I was quite disappointed to learn that the page author did the whole controller from scratch.
He wrote in the summary:

The controller could have been derived from a class.

Maybe, to keep the tutorial simple, he didn’t mention the base class you normally use for this kind of real world controller.
Or is there really no base class you can use?
Maybe there’s some 3rd party class with a permissive license?
Thanks a lot in advance
Wolfgang

Update:
Thank you, Chris Mitchell, for your answer. I’m glad to hear that there is a lot of development in dojo client mvc.
So the jQuery/jQuery UI/backbone.js stack is maybe a little step ahead in this page controller matter. But dojo is really a great framework.
I guess, as far as I understand, relating to MVC WIDGETS dojo has more to offer than jQuery UI:
Dojo widgets already have widget templating, whereas jQuery UI does not have this at the moment.
If you look into the source code of a jQuery Ui widget, there is no such separation, HTML snippets are “built”/concatenated with Javascript, this is much harder to maintain.
According to the blog post from Boris Moore (http://www.borismoore.com/2011/10/jquery-templates-and-jsviews-roadmap.html) the jQuery UI team maybe goes in the same direction.
Generally, in the jQuery realm I haven’t seen that many mvc widgets:
One example is a jQuery Autocomplete Plugin with backbone.js models
(http://www.planbox.com/blog/news/updates/jquery-autocomplete-plugin-for-backbone-js.html).

  • 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-05-29T11:01:43+00:00Added an answer on May 29, 2026 at 11:01 am

    This is a very interesting question.

    I’ve been using Dojo for a long time (5+ years) and I am not aware of anything like this in the kit.

    It seems like a relatively new idea (at least, I’ve only heard about it in the last couple years) to implement a full-blown MVC pattern in the client-side JS. It does seem like a good idea though.

    It seems especially relevant to Dojo, given that it has such support for large-scale, one-page apps. My opinion is that is where Dojo shines. A consistent, MVC based way of managing the over-all client-side app would seem beneficial.

    Its one of those things that is going to end up being built by an app, why not make it official?


    Update

    Someone on the mailing list mentioned there is a dojox.mvc project.

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

Sidebar

Related Questions

Can I have text in the background of a jQuery UI progress bar? You
Background: I have a jQuery Datatable with 53x columns. The first column is the
I have the following JQuery code to fade the background color of a div
Background: I have a jQuery validation script, which is used on almost all my
Background: Using jQuery 1.7 client side PHP server side Using json responses with json_encode
My background in jQuery and JSON is fairly weak, so I'm learning the Tumblr
IE doesn't like the sharp symbol in the line below jQuery(this).css('background-color','#' + jQuery(this).prev().val()); so
Background: Our web app uses the jquery.constrain.js plugin to handle data entry in some
Background Currently in a project of mine I am using jQuery autocomplete for a
With jquery i can't get links working AND animate the anchors' background both. It

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.