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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:03:36+00:00 2026-05-15T20:03:36+00:00

Often, when working with jQuery, the need arises to include multiple plugins. This can

  • 0

Often, when working with jQuery, the need arises to include multiple plugins. This can quickly become messy work, especially when some plugins require additional components (images and CSS files).

What are some of the “recommended” ways to:

  • a. Manage the required files/components (.js, .css and images) in a way that is easy to maintain, and;
  • b. Keep these plugin packages updated to the latest versions

I’m not necessarily looking for a tool to do this (although one that could perform this management would be useful, I suppose), but more of a way of thinking.

  • 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-15T20:03:36+00:00Added an answer on May 15, 2026 at 8:03 pm

    Update: These days there is Bower, Component and Browserify which take care of all of the following for us automatically.

    I’m surprised no one has covered what I do yet. So here’s how I manage scripts and resources.

    I have each project I work on setup with SVN. Nearly all of the scripts I include have a SVN mirror (github has svn these days) this means that I can then use SVN externals and fetch whatever branch or version or whatever I want of that project directly into the projects scripts folder. As we are using SVN, it is easy to track, manage and update these scripts.

    If a project is not on SVN, then I just add it to a common SVN project I have made, so for instance Project A and Project B, both use jquery-project-not-in-svn, so we stick jquery-project-not-in-svn into our common project’s SVN repository, and then use SVN externals on Projects A and B to reference it – as explained before.

    Now that covers managing, fetching and updating.

    Here is how I cover script inclusions and requests.

    As each project now has it’s own scripts directory that contains all the scripts it needs (which is managed by SVN externals), we now have to worry about minifying them to reduce load on our server. Each project has a Makefile in it’s root, which contains the command update. This command will perform the following:

    • Perform a SVN update (this will update all SVN externals appropriately)
    • Once that is done, it will pack and minify all the js files into scripts/all.js and scripts/all.min.js

    I can’t share the exact Makefile but I can share one which is public that handles packing/merging and minification of CSS and Javascript. Here is the link:
    http://github.com/balupton/jquery-sparkle/blob/9921fcbf1cbeab7a4f2f875a91cb8548f3f65721/Makefile

    By doing these things, we have achieved:

    • Management of external script resources over multiple projects
    • Updating of appropriate script resources automatically
    • Packing all used script resources of the project into one file
    • Minifying that file, such that only one JS request and one CSS request are performed.

    So good luckmate, feel free to post a comment if you would like to learn more.

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

Sidebar

Ask A Question

Stats

  • Questions 519k
  • Answers 519k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

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

    • 7 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer scheduler.getCurrentlyExecutingJobs() method returns List of JobExecutionContext. If you just wanted… May 16, 2026 at 8:28 pm
  • Editorial Team
    Editorial Team added an answer A message digest algorithm takes a single input -- a… May 16, 2026 at 8:28 pm
  • Editorial Team
    Editorial Team added an answer Objective-C++ is simply source code that mixes Objective-C classes and… May 16, 2026 at 8:28 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

Related Questions

I am currently working through this tutorial: Getting Started with jQuery For the two
I'm working from inside an ipython shell and often need to reload the script
I'm working on a mvc application that uses jquery to implement dynamically loading page
This isn't about a side-by-side technical comparison, rather about how to think in jQuery
When working on multiple (open source) projects, multiple version controll systems start to be
I'm working on a web application for which I'm attempting to implement a full
I need to dev a very flexible layout for a cms so that the
I am trying to do a comment system with jquery and ajax, sometimes I
I feel like this is a silly question but I always find that modifying
I use a Firefox plugin that can refresh the browser window every X seconds.

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.