performance - How can I use Jquery efficiently? and can I mix libraries/plugins in the same web page? -
performance - How can I use Jquery efficiently? and can I mix libraries/plugins in the same web page? -
there lot of jquery plugins , libraries. , want utilize more 1 in same web page.
what best approach utilize them without effecting speed , performance of website?
is best stick 1 library or can mix more 1 library , more 1 plugin? should gather them in 1 jquery file? or maintain them separated? how can know using much jquery? when become much? is there tool can measure how efficient or fast is?for example, want add, image slideshow, tabs, horizontal slider, color , position animation... how can take each 1 of these? lot of amazing stuff out there!
is best stick 1 library or can mix more 1 library , more 1 plugin?
it fine mix more 1 library and/or plugin. libraries compliment each other such jquery , underscore. seek not utilize jquery , dojo , mootools together. beingness said, work company teams build different components different frameworks (jquery , dojo) come on same website. these components work provide mutual user experience. wouldn't myself :)
should gather them in 1 jquery file? or maintain them separated?
during development, maintain them separated ease of debugging. when you're ready deploy, create sure utilize minimized versions of files. libraries , plugins offer .min.js files. if not, there utilities out there you. step, can utilize tool concatenate minimized files best performance.
how can know using much jquery? when become much?
the jquery library, while not standard, used. types of plugins mention commonly used. long take plugins reputations, should okay. don't seek to find plugin need do. javascript fun language , rewarding build (tabs, slideshow easy starters).
is there tool can measure how efficient or fast is?
you can utilize tool such yslow. there many tools can find help this.
finally, research on amd , library such require.js next step improve efficiency. it's not right every situation it's nice have in toolbox.
jquery performance plugins
Comments
Post a Comment