SharePoint JavaScript, doing it right
Hugh Wood
#SPSSTHLM19
February 14th, 2015
Platinum
Gold
Lunch SharePint
Silver
Web
http://www.spcaf.com/blog
• Groundwork
• Inside SharePoint
• The APIs to learn
• OOTB
• Governance
#SPSSTHLM19: SharePoint JavaScript, doing it righ...
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
JS#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
C# JavaScript
Multi-Paradigm Functional, Event Driven
Strongly Typed OR Loosely
Typed
Loosely Typed (Strong
types are comi...
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
Inside SharePoint
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
UX#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – Hugh Wood#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJ...
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – Hugh Wood
#SPSSTHLM19: SharePoint JavaScript, doing it right – Hugh Wood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
!#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
Cancellable Command API
Working on it…
This shouldn’t take long.
#SPSSTHLM19: SharePoint JavaScript, doing it right – @Hug...
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
Animation Engine
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
Remote Request Executor
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
mQuery
m$
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
Governance
Using out of the box JS APIs
Pro Con
Tested and Guaranteed Patches can change code
Reduced development time Cou...
Wrapping it up
#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
</script>
19
Upcoming SlideShare
Loading in …5
×

Spssthlm19 SharePoint Javascript - Doing it right

2,926 views

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,926
On SlideShare
0
From Embeds
0
Number of Embeds
838
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Spssthlm19 SharePoint Javascript - Doing it right

  1. 1. SharePoint JavaScript, doing it right Hugh Wood #SPSSTHLM19 February 14th, 2015
  2. 2. Platinum Gold Lunch SharePint Silver Web
  3. 3. http://www.spcaf.com/blog
  4. 4. • Groundwork • Inside SharePoint • The APIs to learn • OOTB • Governance #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  5. 5. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  6. 6. JS#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  7. 7. C# JavaScript Multi-Paradigm Functional, Event Driven Strongly Typed OR Loosely Typed Loosely Typed (Strong types are coming 2015) ECMA-334 ECMAScript-5 #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  8. 8. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  9. 9. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  10. 10. Inside SharePoint #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  11. 11. UX#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  12. 12. #SPSSTHLM19: SharePoint JavaScript, doing it right – Hugh Wood#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  13. 13. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  14. 14. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  15. 15. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  16. 16. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  17. 17. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  18. 18. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  19. 19. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  20. 20. #SPSSTHLM19: SharePoint JavaScript, doing it right – Hugh Wood
  21. 21. #SPSSTHLM19: SharePoint JavaScript, doing it right – Hugh Wood
  22. 22. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  23. 23. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  24. 24. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  25. 25. !#SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  26. 26. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  27. 27. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  28. 28. Cancellable Command API Working on it… This shouldn’t take long. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  29. 29. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  30. 30. Animation Engine #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  31. 31. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  32. 32. Remote Request Executor #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  33. 33. #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  34. 34. mQuery m$ #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood
  35. 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
  36. 36. Wrapping it up #SPSSTHLM19: SharePoint JavaScript, doing it right – @HughAJWood </script>
  37. 37. 19

×