1 / 22

Getting Started With JavaScript Libraries for Office 365 Developers

Getting Started With JavaScript Libraries for Office 365 Developers. @ NovaCodeCamp # NovaCodeCamp April 30 th , 2016 Timothy Ferro. Thanks to our sponsors!. Platinum. Gold. Bronze. Transform your business with RDA! rdacorp.com | 888 441-1278 | marketing@rdacorp.com. Office 365 /

nperes
Download Presentation

Getting Started With JavaScript Libraries for Office 365 Developers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started WithJavaScript Libraries forOffice 365 Developers @NovaCodeCamp #NovaCodeCamp April 30th, 2016 Timothy Ferro

  2. Thanks to our sponsors! Platinum Gold Bronze

  3. Transform your business with RDA! rdacorp.com | 888 441-1278 | marketing@rdacorp.com Office 365 / SharePoint Implementations * Upgrades Hybrid * Portals Workflows * Search Cloud Enterprise Transformation Hybrid * Platform Services Mobile * Security Application Integration Digital Marketing Internet Sites * CMS eCommerce * Sitecore Data Analytics Visualization * Warehouse Big Data * SQL Server Tableau

  4. Agenda • My Background • Overview Office 365 JavaScript Options • JavaScript Tips • Must Have JavaScript Libraries • Niche JavaScript Libraries • JavaScript Snippets • Demo • References

  5. Tim Ferro • MVP: Visual Studio and Development Technologies • Principal Architect at RDA Corporation • Senior Software Engineer / SharePoint Specialist • Author / Editor / Speaker / Blogger / Tweeter • ferro@rdacorp.com • www.timferro.com • @timferro

  6. Publications White Paper Author Technical Editor

  7. Overview of Office 365 JavaScript Options • Content Editor Web Part • Script Editor Web Part • SharePoint Designer • <ScriptLink> or <Script> • Server Side Code Injection • RegisterClientScriptBlock vs RegisterStartupScript • Web Parts/Delegate Controls/Application Pages • Custom Action to Register Code • SSOM or JSOM • Client Side Code Injection • SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady) • CSS JavaScript Injection

  8. JavaScript Tips • JavaScript !== jQuery • jQuery is cross browser tested JavaScript Library • Where to store them? • CDN vs Document Library vs 15 Hive • Enable Blob Cache • Use a Rich Editor: Visual Studio or NotePad++ Visual Studio Code • Organize your files in folders • Learn non-SharePoint JavaScript • Multiple SharePoint Data Access Options • JSOM, SPServices, REST, SOAP, DOM • Minimal Download Strategy (MDS) Compliant Code

  9. Must Have JavaScript Libraries • jQuery (http://jquery.com/) • jQueryUI (http://jqueryui.com/) • Office UI Fabric (http://dev.office.com/fabric) • SPServices (http://spservices.codeplex.com/) • DataTables (http://www.datatables.net/) • jqPlot (http://www.jqplot.com/) • ADAL.js (https://github.com/AzureAD/azure-activedirectory-library-for-js)

  10. JavaScript Library: jQuery/jQueryUI • jQuery (http://jquery.com/) • jQueryUI (http://jqueryui.com/)

  11. JavaScript Library: SPServices • SPServices(http://spservices.codeplex.com/)

  12. JavaScript Library: DataTables • DataTables(http://www.datatables.net/)

  13. JavaScript Library: jqPlot • jqPlot(http://www.jqplot.com/)

  14. JavaScript Library: Active Directory Authentication Library (ADAL) for JavaScript • ADAL.js (https://github.com/AzureAD/azure-activedirectory-library-for-js)

  15. Niche JavaScript Libraries • Bootstrap (http://getbootstrap.com/) • Moment.js (http://momentjs.com/)

  16. Must Have JavaScript Snippets • Get InternalName for a SharePoint List Column • Registering JavaScript on All Pages in Office 365 • Function to simplify REST calls to SharePoint

  17. JavaScript Snippet: Get SharePoint Column Internal Name http://sympmarc.com/2015/01/27/get-the-internalname-for-a-sharepoint-list-column/

  18. JavaScript Snippet: JavaScript on all Pages • Registering JavaScript on All Pages in Office 365

  19. JavaScript Snippet: SharePoint REST Function • SharePoint REST function for simplifying calls http://blogs.msmvps.com/windsor/2015/02/13/reduce-code-need-for-rest-api-calls-with-sprestrepository/

  20. Demo: JavaScript in Office 365 • Office 365 Developer Tenant • JavaScript • jQuery • SPServices • jqPlot

  21. References • http://www.rdacorp.com/2014/12/javascript-libraries-net-sharepoint-developers/ • http://www.timferro.com/wordpress/archives/806 • http://www.c-sharpcorner.com/UploadFile/81a718/7-jquery-code-snippets-every-web-developer-must-have/ • http://blogs.msmvps.com/windsor/2014/07/28/session-recording-javascript-and-jquery-for-sharepoint-developers/ • http://www.timferro.com/wordpress/archives/841 • https://github.com/vball525/o365 • http://www.rdacorp.com/2015/01/tips-tricks-building-javascript-applications-sharepoint/ • https://groups.google.com/forum/#!topic/DotNetDevelopment/QC0sC-bJBMU • http://www.spcaf.com/blog/sharepoint-javascript-context-dev-part-1/ • http://sympmarc.com/2015/01/27/get-the-internalname-for-a-sharepoint-list-column/ • http://blogs.msmvps.com/windsor/2015/02/13/reduce-code-need-for-rest-api-calls-with-sprestrepository/

  22. Tim Ferro • MVP: Visual Studio and Development Technologies • Principal Architect at RDA Corporation • Senior Software Engineer / SharePoint Specialist • Author / Editor / Speaker / Blogger / Tweeter • ferro@rdacorp.com • www.timferro.com • @timferro

More Related