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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:47:15+00:00 2026-06-16T04:47:15+00:00

It sure makes a lot of sense to write modular, independent testable code –

  • 0

It sure makes a lot of sense to write modular, independent testable code – especially for big projects.

But what difference does using require.js/amd make in a big project where I still need to concenate & minify my project on build?

  • 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-16T04:47:16+00:00Added an answer on June 16, 2026 at 4:47 am

    I would like to preface my response with saying that I do think Require.JS is an utterly useless framework. It over-complicates a fairly simple concept.

    That being said, dependency loading is VERY useful when it comes to writing platform independent code.

    For example, say you wanted to develop a web application that you can also port into Apache Cordova for mobile apps and into AppJS for desktop apps. You wouldn’t want to rewrite all of your business logic, so it makes sense to build a bootstrap that loads dependencies dynamically to adapt the software to multiple architectures. That way you only have one product, which is able to run on a variety of platforms. Add in the usage of NodeJS for server side script and you can not only write front end software, but back end with the exact same code.

    Modularity helps a lot with cross-platform projects, but as I said: Require.JS really isn’t that useful. I have found it to be overly complicated. Instead, I just use an object built around jQuery’s getScript function that contains a registry of all loaded packages so that a dev doesn’t try to load a package that has already been loaded (larger projects).

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

Sidebar

Related Questions

I'm not sure whether the title makes a whole lot of sense and whether
Not sure if the title makes sense sorry... basically I'm generating Word documents that
I usually would include a lot of code with my questions but I'm not
I'm not sure if my post question makes lots of sense; however, I'm building
I use $_SERVER[DOCUMENT_ROOT] a lot to make sure that all my links will work
I've got the following Regex check, which makes sure that only letters, numbers and
I am not sure why VB makes everything such a pain. I have a
What makes actors so lightweight? I'm not even sure how they work. Aren't they
Not sure why I can't figure this out. When a user makes a selection,
So I was reading up on sorting arrays in PHP and it makes sense,

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.