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

  • Home
  • SEARCH
  • 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 32543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:46:46+00:00 2026-05-10T13:46:46+00:00

We have an application with a good amount of jQuery JSON calls to server

  • 0

We have an application with a good amount of jQuery JSON calls to server side code. Because of this, we have a large amount of binding code to parse responses and bind the appropriate values to the form. This is a two part question.

  1. What is the reccomended approach for dealing with a large number of forms that all have different data. Right now were are trying to take a structured approach in setting up a js ‘class’ for each page, with an init, wireClickEvents etc.. to try to have everything conformed.

  2. Is there any ‘best practices’ with creating repetitive jQuery code or any type of reccomended structure other than just throwing a bunch of functions in a js file?

  • 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. 2026-05-10T13:46:47+00:00Added an answer on May 10, 2026 at 1:46 pm

    Not 100% sure example what you are asking, but personally, and I use MochiKit, I create JavaScript ‘classes’ (or widgets, if you prefer) for every significant client-side UI structure. These know, of course, how to populate themselves with data.

    I don’t know what more there is to say – writing UI code for the browser in JavaScript is no different than writing UI code for other types of apps, as far as I am concerned. Build classes and instantiate them as needed, populate them with data, have them throw events, etc. etc.

    Am I up in the night on this? 🙂


    EDIT: In other words, yes – do what you are doing, for the most part. I see too many novice JavaScript hackers write a bunch of poorly-cohesive functions that don’t appear to be a part of anything specific other than they are all in a single file. Hope that makes sense.

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

Sidebar

Related Questions

I have an application that sometimes will utilize a large amount of data. The
I have an application that is good from September 1st of the current year,
Is it good idea to have application engine written in c++ and user interface
here is a good question: I have an application compiled for iPhone OS 2.21.
Good Morning, I'm working on an ASP.NET 3.5 webforms application and have written the
Is it good practice to have one shared SqlConnection object in a .NET application
Is it a good design to have multiple masterpages in an application. I am
Is it possible to develop android games and application if we have good knowledge
I have application with needs to have access to some sensitive data(in this case
I have to write an application that is essentially a proxy server to handle

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.