ASPC 2015 - Building JavaScript to Stand the Test of Time

19

Transcript of ASPC 2015 - Building JavaScript to Stand the Test of Time

Page 1: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 2: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 3: ASPC 2015 - Building JavaScript to Stand the Test of Time

Swag sponsor

Page 4: ASPC 2015 - Building JavaScript to Stand the Test of Time

SharePoint and Office365 are Web applications

Page 5: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 6: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 7: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 8: ASPC 2015 - Building JavaScript to Stand the Test of Time

Read: http://www.requirejs.org/

https://github.com/amdjs/amdjs-api/wiki/AMD

Page 9: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 10: ASPC 2015 - Building JavaScript to Stand the Test of Time

Read: http://www.getbreezenow.com/

BreezeJS Makes Client-Side SharePoint 2013 REST Development a… BREEZE! by Andrew Connell

Page 11: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 12: ASPC 2015 - Building JavaScript to Stand the Test of Time

Image: https://contentdeliverynetworkcdn.wordpress.com/2012/02/03/boosting-the-loading-speed-of-your-word-press-blog/

Page 13: ASPC 2015 - Building JavaScript to Stand the Test of Time

http://jslint.com/

http://jshint.com/

http://compressorrater.thruhere.net/

Page 14: ASPC 2015 - Building JavaScript to Stand the Test of Time

Read: http://www.typescriptlang.org/

Page 15: ASPC 2015 - Building JavaScript to Stand the Test of Time

Read: http://www.infoworld.com/article/2609861/application-development/review--10-javascript-editors-and-ides-put-to-the-test.html

Page 16: ASPC 2015 - Building JavaScript to Stand the Test of Time
Page 17: ASPC 2015 - Building JavaScript to Stand the Test of Time

var ProjectName = ProjectName || {};ProjectName.Config = ProjectName.Config || {};ProjectName.Data = ProjectName.Data || {};ProjectName.Functions = ProjectName.Functions || {};

ProjectName.Functions.addNumbers = function(a, b) {return a + b;

}

ProjectName.Functions.subtractNumbers = function(a, b) {return a - b;

}

Page 18: ASPC 2015 - Building JavaScript to Stand the Test of Time

function() {// This is goodvar firstVar = "abcde";

// This is bad!!!otherVar = 2;

}