Level: 200
Track: Developer
Building a framework is often common practice for most companies and vendors who want to achieve similar things over and over. However when it comes to a language like JavaScript in SharePoint, things aren't as straight forward as it seems. In this session I will cover how to handle Minimal Download Strategy, Scripts On Demand, Garbage Collection, and many tips and tricks in making your code work, first time and every time.
What you will Learn:
- How to structure a framework in JavaScript for SharePoint
- How to call Scripts on demand
- How to work with Minimal Download Strategy
- How to utilise the SharePoint JavaScript Garbage Collector to your advantage
- What are the valuable takeaways from the SharePoint JavaScript Libraries in SharePoint
35. Governance
Using out of the box JS APIs
Pro Con
Tested and Guaranteed Patches can change code
Reduced development time Could contain a bug
Less overhead on client No documentation
Easier to maintain code Overly Complex for simple
tasks
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood