I am very new to SharePoint and have written some code,in content editor web part, that interacted with lists and used some libraries that are available online like jQuery etc., my question is how do I use libraries that require a local installation (i.e can't just reference them using a link)?
As per your description, you should use the JSOM model, not the
Check the difference at CSOM vs JSOM vs SSOM vs REST
To use JSOM
- References the AJAX library from the Microsoft Content Delivery Network (CDN).
- References the jQuery library from the Microsoft CDN.
- Extracts the host web URL from the query string.
- Continues the flow in the execOperation function.
To use CSOM
You should copy the below references from a Sharepoint Server to your Dev server (PC) then add them to your solution
These assemblies can be found in the 15 Hive folder: %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\ISAPI.
Now you can get started to learn about CSOM in SharePoint at Complete basic operations using SharePoint client library code
you can: 1. add some libraries directly into your master page (to permanently have them in all the pages in your site) 2. put them in a page layout 3. put them in a library and add a tag to a content editor.
in any case, I would recommend using SpPlus js it's a great library and has great documentation. but in most cases, you are better to use RestApi(its easy and return json - csom & spPlus returns XML)
p.s is you are want to try using SpPlus Read the Quick start! - you need to add polyfill for ie11 (very easy).