Search code examples
javascriptjqueryprototypejs

Which one is better framework for Enterprise level JS programming - jQuery or Prototype and why?


I'm trying to choose a JS framework to be able to stand the test of time (still usable and scalable in 5+ years), with a good solid code foundation for other programmers to code their own extensions or projects (from complex animation to multi-threading Ajax). These are the things I'm comparing:

  • Extensibility
  • Scalability
  • Consistent and logical syntax
  • Performance
  • Ajax support
  • Animation support
  • Nearly bug-free library update history
  • Enterprise adoption examples

Maybe there are other points I should consider?

Others pointed out that there a some arguments here but most don't apply in the enterprise standpoint because they are short-term benefits, such as:

  • Tons of plugins
  • Bigger Momentum

Solution

  • Hmm. From an enterprise point of view, I'd have a completely different set.

    • Expected lifetime of the library;
    • Learnability;
    • Availability of programmers;
    • Integration possibilities;
    • Quality of plug-in code.

    I'd also take a good look at where and how javascript is expected to be used in the company, and how that is going to change.

    And in an enterprise setting, you should present this as part of a Technology Roadmap. In that, you take a look at the long time customer needs, how they should reflect in technology developments and choices.