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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:09:44+00:00 2026-06-01T11:09:44+00:00

I spent past week on a jQuery implementation. And retrospectively, though I know how

  • 0

I spent past week on a jQuery implementation. And retrospectively, though I know how to code, I have to admit I do not know how to organize my code.

There are lots of tutorials explaining how to perform one single operation with jQuery, but what I lack is best practices. The design patterns I use in PHP do not handle concepts such as asynchronous and behaviors. I don’t know how to handle the non-linear timeline.

Thus, my jQuery / javascript code gets invariably messy.

Can you give me advice on what to read to remedy this problem ? Books, tutos, etc. are welcome.

Thanks in advance !

  • 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-01T11:09:46+00:00Added an answer on June 1, 2026 at 11:09 am

    A good way to organize code is developing with common javascript patterns: an interesting overview by Addy Osmani can be found here: http://addyosmani.com/resources/essentialjsdesignpatterns/book/ .

    If one of your biggest problem is to deal with asynchronous task, jQuery offers an implementation of Promises/A pattern provided by Deferred objects since version 1.5, so try to take a look at the online reference (see http://api.jquery.com/category/deferred-object/)

    If you’re also looking how to organize jQuery code in a plugin then I also suggest this resource: http://jqueryboilerplate.com/

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

Sidebar

Related Questions

First, I have already spent the past few hours trying to find a solution
I’ve spent the past hour search the web for possible solution, maybe I’m not
I have spent the past couple of days working on this and am going
I have spent the past three days researching this... but Im still stuck. I
So I have spent the past 11 hours now trying to get even the
I'm just beginning in Jquery and learning pretty quickly, but I spent the past
I have spent(wasted) the past two hours googling for a solution. Please help. I
I have spent the past couple of hours trying all types of variations but
I have spent the last week or so updating my web application to a
I spent the past week learning and coding a small personal application in C#.

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.