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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:20:22+00:00 2026-05-27T14:20:22+00:00

I am primarily a c# programmer. I have recently been getting into some jquery

  • 0

I am primarily a c# programmer. I have recently been getting into some jquery development. when I am working on applications in c#, I create a new class file (.cs) for every new class that I create.

How do people generally structure their jquery/javascript applications. I would like to reuse some functionality across pages, so do I put each function in it’s own .js file? or is it best practice to group like functions into files? I can’t see putting each on in it’s own file as that would create many calls to import individual file into a page….

How are other people handling these types of situations.
Thanks for any thoughts.

EDIT – I should have mentioned that I am beginning to look at unit testing with QUnit and figured it would be good to have proper structure of my project to better facilitate unit testing.

  • 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-27T14:20:23+00:00Added an answer on May 27, 2026 at 2:20 pm

    I generally keep all plugins into their perspective files but functions I create I tend to place into a “global.js” file that the entire site will pull from. Then I don’t have to worry about pulling in specific files when a need a specific function. It will all be in the global.

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

Sidebar

Related Questions

I have been teaching myself JS and Jquery primarily for GM scripts (im not
My background: 1. I recently graduated college (BS in CS), and have been working
I am primarily a Python programmer, but I've been working with C because Python
My background is primarily as a Java Developer, but lately I have been doing
I have programmed in Java some and tried to use net-beans to create a
I have recently become a teaching assistant for a university course which primarily teaches
I've recently gotten the testing religion and have started primarily with unit testing. I
I recently got a new primary computer. On my old one, I was working
I'm currently primarily a D programmer and am looking to add another language to
Primarily, I'm a C/C++ programmer on Unix machines... But I'd kill for browser based

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.