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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:38:26+00:00 2026-06-16T03:38:26+00:00

I am in the design process of a fairly robust rich client application which

  • 0

I am in the design process of a fairly robust rich client application which I tend to base the client code on Backbone, and I am curious as to the available/recommended error reporting implementation.

Due to our dependency on fat client-ish code, we want to know as much as we can about javascript error occurring.

Ideas?

  • 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-16T03:38:27+00:00Added an answer on June 16, 2026 at 3:38 am

    I would suggest making your main App namespace object extend Backbone.events and listen for “error” events and report the details accordingly. This will be a nice central place to aggregate all errors and report them uniformly. You could combine various techniques for actually logging the error including displaying a notice to the user, adding some details to a hidden node in the DOM for tech support, or sending details to a remote service on the web.

    Then throughout your code base you will need to actually detect/catch the errors (which usually means explicitly coding to check for them in JavaScript), gather the relevant information (perhaps a decent stack trace), and fire an “error” event into the App event bus. This could be errors such as DOM selectors missing that should be there when rendering a view, unexpected data received from the server, etc.

    For errors with AJAX/HTTP requests, you can override Backbone.sync and add an additional error reporting there. That is a nice central place where all your interactions with the server will happen. Follow the same pattern of detect the error, gather details, fire an “error” event into the main App event bus, then either allow the application to continue if possible or degrade/fail gracefully if the error is unrecoverable.

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

Sidebar

Related Questions

I am trying to design a windows-service which monitors a process namely Gtalk, if
Design wise and performance wise which approach is recommended for handling multiple Zeromq sockets
I'm currently in the process of developing a fairly large static library which will
We have a requirement to design a monitoring application for our Windows client machines
I'm fairly new to the OO design process, so please bear with me.... I
I'm in the process of writing a WCF application which will be consumed by
I am working on a special project with an unusual design. In my application/process,
I am in the design process of an application, and I would like to
I'm about to put this design into use in an application, but I'm fairly
We have a vxWorks design which requires one task to process messages from two

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.