Developing SharePoint 2013 Solutions with JavaScript - Part 3

As the capstone of the Developing SharePoint 2013 Solutions with JavaScript course series, part 3 covers two final advanced instructional topics (testing and prototypal inheritance) before delving into coverage of the most common scenarios for developing solutions in SharePoint using JavaScript.
Course info
Rating
(31)
Level
Advanced
Updated
Nov 13, 2015
Duration
4h 53m
Table of contents
Testing
Prototypal Inheritance
Programming SharePoint’s User Interface
Provisioning
Working with Files and Folders
Programming Search with the REST API
Programming SharePoint Social
Working with Workflow
Programming Managed Metadata & Taxonomy
Programming Business Connectivity Services
Programming Sharing
Resources and Wrap-up
Description
Course info
Rating
(31)
Level
Advanced
Updated
Nov 13, 2015
Duration
4h 53m
Description

Parts 1 & 2 of this series of courses covered the basics and mechanics of how to work with JavaScript in SharePoint 2013. Part 3 finishes off with how to test our JavaScript code without requiring a SharePoint server, coverage of JavaScript as a prototypal language and how to work with prototypal inheritance, and then dives into a tour through various coding opportunities in SharePoint 2013, and how to meet those needs with JavaScript. The assumption is that you understand the basics of JavaScript, SharePoint, JSOM, REST, and various other elements, as there are very few "basic" topics covered here. Equal parts instructional material and reference material, this course covers all of the most prevalent development opportunities in SharePoint 2013 Apps/AddIns and Farm Solutions.

About the author
About the author

Dave is a start-up co-founder and CTO, an 11-time Microsoft MVP, and full-stack web developer, trainer and author focusing on JavaScript, NodeJS, document DBs and C#.

More from the author
Functional JavaScript Libraries Playbook
Intermediate
2h 59m
Jun 1, 2018
Constructing a User Interface with Angular
Intermediate
4h 35m
Feb 5, 2018
Developing with Office UI Fabric
Intermediate
1h 58m
Apr 6, 2017
More courses by David Mann
Section Introduction Transcripts
Section Introduction Transcripts

Testing
Hi and welcome to the Pluralsight course, Developing SharePoint 2013 Solutions with Javascript - Part 3. My name is Davin Mann and I'll be your instructor. This is the third and final part in this series of courses. So far we've covered a lot of mechanics, syntax, and such. In this course we're going to start with two similar modules, this one on testing, and the next module on prototypal inheritance, and then we're going to finish the course with nine modules that put all of what we've learned into practice with lots of fully baked demos covering how to do lots of common things in SharePoint with Javascript. As I mentioned, this is part three of the course. Parts one and two are available on the Pluralsight website, and cover material as a predecessor to the material for this course. Here's the full list of what we covered in parts one and two. If you're not comfortable in SharePoint Javascript, both JSON and REST, I strongly recommend that you watch these other courses first. This course, part 3, assumes that you're familiar with the material from parts 1 and 2. We're not going to be rehashing the material already covered there, and it's going to be important that you're up to speed with that material in order to understand what we cover in this course. Speaking of which, here's a quick look at what we will be covering in this course. The first two modules are a combination of slides and demos. The last nine modules are strictly demo based, not a slide to be found. Those last nine modules are kind of a cookbook full of samples or recipes for how to work with each area of SharePoint that we cover.

Prototypal Inheritance
In this module we're going to cover our last instructional topic before diving into the examples, and that's going to be Prototypal Inheritance. You may have heard somewhere in your travels that Javascript is a prototype-based language. Great, but what does that really mean? How is it different from other languages and what do those differences mean for your code and your application? That's what we're going to cover in this module. You can see the full agenda here. Demos will be interspersed with each section, so the demos are all going to be non-SharePoint demos using JSFiddle since prototypal inheritance is really a core Javascript feature that's not SharePoint specific.

Working with Workflow
In this module we're going to talk about working with workflow. In most of the rest of this course we've been doing things with REST and I had said that this was because most of the time REST was the approach most people were using for interacting with SharePoint from Javascript, certainly not all the time, but most of the time. However, I also mentioned that there were a few scenarios where REST wasn't going to allow us to do what we needed, and so we had to look to the Javascript Object Model, JSOM, to do what we needed. Workflow is one of those scenarios. While some of what we need to do is possible with REST, everything we need to do is in JSOM, so it makes the most sense to just use JSOM for everything concerning workflow. Specifically in this module we're going to look at working with both 2010 and 2013 style workflows. You can see from the screen here we're going to take a look at how to list out workflow definitions for both 2010 and 2013, how to list out actual workflow subscriptions or associations for 2010 and 2013, and then finally how to go and start a 2010 style workflow and a 2013 style workflow. Now just to keep things interesting for the 2013 style workflow that's going to be on a list. The 2010 style workflow we're going to run as a site workflow, so just a little bit different to see some of the differences, and how we can do different types of things with workflow. Let's get started.

Resources and Wrap-up
Just a quick wrap up of what we've covered and some information and resources available to continue you're learning. We've covered a ton of material in this course, reviewed a lot of code, and discussed a lot to topics. Hopefully you've seen enough to feel confident in delivering solid Javascript-based customizations to your SharePoint environment. Feel free to use the code I've presented here as the basis for whatever you need. Some of it is nearly production ready, some of it is just a base upon which you can build, and honestly, some of it's pretty raw, really just demonstrating a concept or how to complete a specific task. If you've stuck with me through all three parts of this series you've gotten nearly 15 hours of training material, and yet, in some ways we've barely scratched the surface of what there is to cover in SharePoint Javascript programming. It's a very broad topic, but you should have a solid base from which to move out and do whatever it is you need to do. Things change incredibly rapidly in the development world, far faster than you may be used to if your background is strictly server-side development with a two to three year release cycle. As with the previous two courses in this series, rather than present a static list of resources that would be outdated almost as soon as I finished recording, I've moved my resource list to a page in my blog. You can access that page at the URL shown here. I try to update the list every few weeks with new material I find in the course of my day to day work, so hopefully it will continue to provide value. Thanks for watching. I hope you've gotten a lot of value out of this course and the previous two in this series.