Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Is it best to stick to 1 library or can I mix more than 1 library and more than 1 plugin?</p> </blockquote> <p>It is fine to mix more than one library and/or plugin. Certain libraries compliment each other such as jQuery and underscore. Try not to use jQuery and Dojo and MooTools all together. That being said, I work for a company whose teams build different components with different frameworks (jQuery and Dojo) that come together on the same website. These components even work together to provide a common user experience. I wouldn't do this myself :)</p> <blockquote> <p>Should I gather them in 1 Jquery file? or keep them separated?</p> </blockquote> <p>During development, keep them separated for ease of debugging. When you're ready to deploy, make sure to use minimized versions of the files. Most libraries and plugins offer .min.js files. If not, there are utilities out there that will do it for you. As another step, you can then use a tool to concatenate the minimized files for the best performance.</p> <blockquote> <p>How can i know I am using too much Jquery? When does it become too much?</p> </blockquote> <p>The jQuery library, while not a standard, is widely used. The types of plugins you mention are also commonly used. As long as you choose plugins with good reputations, you should be okay. Don't try to to find a plugin for everything you need to do. Javascript is fun language and it is rewarding to build something yourself (tabs, slideshow are easy starters).</p> <blockquote> <p>Is there a tool that I can measure how efficient or fast it is?</p> </blockquote> <p>You can use a tool such as YSlow. There are many tools you can find to help you with this.</p> <p>Finally, do some research on AMD and a library such as require.js as your next step to improve efficiency. It's not right for every situation but it's nice to have in your toolbox.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload