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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:14:23+00:00 2026-05-14T04:14:23+00:00

I’ve been working on a complex app with one main dashboard. I don’t particularly

  • 0

I’ve been working on a complex app with one main dashboard. I don’t particularly like the design because it tries to do too much on one page. So the lead developer thought it would be a good idea to use ajax – because the page is so big. Refreshing part of it is far faster than loading it again.

Problem is there’s several ways data can be used.

  • Adding items
  • Editing rows
  • Performing actions on selected rows (selected using a checkbox)
  • Changing single items (like location, phone)

My problem is making GENERALIZABLE ajax code that can operate on the data in a div, using class names to assemble the proper information for the ajax call. I did pretty well, but can’t help but want to see if there’s a better way to do it.

  • 1 1 Answer
  • 1 View
  • 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-14T04:14:24+00:00Added an answer on May 14, 2026 at 4:14 am

    Before I dug into jQuery, I did a lot of searching for Javascript best practices and bookmarked several articles which helped me to get my head around generally good Javascript ideas (such as unobtrusive Javascript, etc). It’s possible to use jQuery or another library and do it in a way that’s full of code smells.

    I was a big fan of:

    • Again with the Module Pattern
    • Show Love to the Object Literal
    • Object Oriented Javascript

    I don’t go very far on the web without JavaScript: The Definitive Guide, 5th edition for language tips and traps.

    From there, rather than picking up a jQuery book I looked online for best practices specific to jQuery. James Padolsey’s jQuery Code Smells was a great post. The jQuery documentation provides tons of great code samples. I did a lot of looking into jQuery plugins (great for modularizing your code) and bookmarked A Plugin Development Pattern.

    If you do want a book on jQuery, the one that came up over and over again in my reading was Learning jQuery, but based on the rapid evolution of the language, I’ve found that the web has more recent information.

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

Sidebar

Ask A Question

Stats

  • Questions 384k
  • Answers 385k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Filetypes should generally be determined out-of-band. eg. if you are… May 14, 2026 at 11:19 pm
  • Editorial Team
    Editorial Team added an answer The second one is what I would prefer. There is… May 14, 2026 at 11:19 pm
  • Editorial Team
    Editorial Team added an answer RotateAt uses formulas and sadness to do rotations, because this… May 14, 2026 at 11:19 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.