Search code examples
javascriptjquerytwitter-bootstrapbackbone.js

When does it become too many libraries?


I have recently been asked to create a small javascript application, that takes in some data (invoices) and returns some outcomes (eg whether it will be paid?)

To help me with this creation I have used multiple libraries and frameworks, some I have used;

  • BackBone JS
  • JQuery
  • BootStrap

I am now looking at some other plugins I could use? Does a point ever come where I have used too much? If so, when does this happen?

Many Thanks, Luke


Solution

  • When you have multiple libraries being used, you will rarely come across a case where code is being run simultaneously, causing a massive slow down. If there is a slow down of performance, then it's up to the programmer to move some of the processing to the server. If you have multiple levels of encapsulation of code, only then can you have multiple libraries being used simultaneously.

    Even if you have many libraries, the only problem that they may cause is the bandwidth used during the transfer.

    Please do remember, that you can move some of your business logic to the server. It can make the code:

    • Readable
    • Scalable
    • Structure
    • Secure

    But, these only come with good programming.