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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:08:39+00:00 2026-05-25T17:08:39+00:00

For web applications I’ve developed I tend to build up a library of functions,

  • 0

For web applications I’ve developed I tend to build up a library of functions, and for some sites I end up encapsulating them all into a single object, so say FooBar and then all the things I end up doing are within that object. My understanding is that this is part-of-the-way to "Enterprise JavaScript" – encapsulating the functionality in ways that are logical, avoid polluting the JavaScript with lots of global variables.

How do I distinguish good coding practice from what’s considered "Enterprise JavaScript"?

A simpler way to ask this might be in terms of scale — as a web application or site grows it will include more JavaScript and organizing it gets harder, and there are patterns for doing this well and they’re Enterprise? What are resources for learning about approaches to handling large libraries of functionality.

Or are people just making it up, as in this joke site?


UPDATE: I am not kidding, really, though I wonder if what I’m seeking is more along the lines of Pro JavaScript Design Patterns. Perhaps "Enterprise" encompasses some of this?

  • 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-25T17:08:40+00:00Added an answer on May 25, 2026 at 5:08 pm

    I love the term enterprise javascript and enterprise coding. I doubt that it’s a well defined term but it has a strong appeal.

    As I have come to understand it; Enterprises deal with a lot of developers working on different aspects of projects. So there is a lot of communication required to make things work. Enterprise coding is a term to describe the techniques used to aid the communication of developers and modules in code but have gone wrong.

    As the site shows, it’s easy to over do it!

    So enterprise coding results in harder to understand code that seems more robust than it needs. Quite ironic as enterprise coding is intended to ease production.

    Examples of enterprise code could easily be found in

    • Generated websites using robust CMS.
    • Large library APIs (especially proprietary as the source can not be adjusted)
    • Cross browser/platform projects. With a lot of dynamic corrections.
    • Old projects that have been maintained by many people.

    Writing clean good code is something that will be debated forever. As there is no perfect approach to all problems.

    In a way enterprise coding is coining good practice techniques that have gone bad.

    An antonym to enterprise coding might be Cowboy Coding

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

Sidebar

Related Questions

Most web applications depend on some kind of session with the user (for instance,
I've been developing web applications for 2 years now, and have been into simpler
Some web applications, like Google Docs, store data generated by the users. Data that
Why do many web applications (like Bank sites) prevent the right click property in
I have developed web applications using JSF (myfaces components). But in these days of
I have been developing web applications for some time but have very recently been
I have developed many web applications in ASP.NET in which I have make use
I have two PHP web applications. All of the apps are located on the
I'm coding some web-applications in MVC, and I have a problem with something that
I have lots of web applications to build/package, and I would like to share

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.