1. Organized by the Community, for the Community.
JAVASCRIPT OVERLOAD
PavelVeller,
Director of R&D, BrainJocks
Sitecore MPV 2015
2. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 2
3. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 3
4. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 4
5. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 5
6. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 6
1. CANYOU SPEAK A PIPELINE ?
2. WHYWRITE JAVASCRIPT LIKE IT’S C# 2.0?
3. CHUTZPAHTOWALLABYYOUR KARMA
7. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 7
CANYOU SPEAK
A PIPELINE ?
8. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 8
9. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 9
10. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 10
11. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 11
12. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 12
13. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 13
14. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 14
15. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 15
16. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 16
17. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 17
18. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 18
19. Organized by the Community, for the Community.
SPOPVS. SPEAK
SPOP
• Web.config
• Config patch
• C#
• Server-Side
• Proceed with caution
SPEAK
• core database
• Item(s) deployment
• JavaScript
• Client-Side
• Proceed with caution
SUGCON NORTH AMERICA 2015 19
DECLARED
PATCHED
LANGUAGE
RUNTIME
MULTI-TENANCY
20. Organized by the Community, for the Community.
RECOMMENDATIONS
• Reverse engineer and trace a few built-in before you
build your first one
• Pay attention to the interface convention (e.g.
empty processor)
• You know a lot less in the client side than you do
back home
• DevTools is your best friend
SUGCON NORTH AMERICA 2015 20
21. Organized by the Community, for the Community.
WHERETO LEARN MORE
SUGCON NORTH AMERICA 2015 21
22. Organized by the Community, for the Community.
TOUGH IT OUT
SUGCON NORTH AMERICA 2015 22
23. Organized by the Community, for the Community.
YOU WILL BE REWARDED
SUGCON NORTH AMERICA 2015 23
24. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 24
THE FUTURETODAY
25. Organized by the Community, for the Community.
C# 2.0
• No Lambda Expressions
• No ImplicitTyping
• No AnonymousTypes
• No Object and Collection Initializers
• No ExpressionTrees
• No LINQ
• No dynamic
• No async/await
SUGCON NORTH AMERICA 2015 25
26. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 26
ARROW FUNCTIONS
27. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 27
28. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 28
29. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 29
TEMPLATE STRINGS
30. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 30
31. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 31
32. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 32
33. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 33
ASYNC / AWAIT
34. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 34
35. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 35
36. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 36
37. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 37
TYPE SYSTEMS
38. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 38
Your IDE can only do as
much as your language's
type system allows it to
confidently infer
39. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 39
40. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 40
41. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 41
OLD SCHOOL
42. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 42
43. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 43
CHUTZPAHTO
WALLABYYOUR
KARMA
44. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 44
45. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015SUGCON NORTH AMERICA 2015 45
46. Organized by the Community, for the Community.
TEST SUITETHAT:
• Runs in your browser (so you can debug)
• Runs inVisual Studio along with other tests
• Runs in command line
• Runs on the build machine (with reports)
• BONUS: Runs continuously and concurrently with
instant green/red feedback loop (NCrunch-style)
SUGCON NORTH AMERICA 2015 46
47. Organized by the Community, for the Community.
BROWSER
SUGCON NORTH AMERICA 2015 47
48. Organized by the Community, for the Community.
VISUAL STUDIO
SUGCON NORTH AMERICA 2015 48
49. Organized by the Community, for the Community.
CONTINUOUS INTEGRATION
SUGCON NORTH AMERICA 2015 49
50. Organized by the Community, for the Community.
WALLABY
SUGCON NORTH AMERICA 2015 50
51. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015 51
Q & A
52. Organized by the Community, for the Community.SUGCON NORTH AMERICA 2015
SM
52SUGCON NORTH AMERICA 2015
THANKYOUTO OUR SPONSORS!