Book Image

SharePoint Development with the SharePoint Framework

By : Jussi Roine, Olli Jääskeläinen
Book Image

SharePoint Development with the SharePoint Framework

By: Jussi Roine, Olli Jääskeläinen

Overview of this book

SharePoint is one of Microsoft's best known web platforms. A loyal audience of developers, IT Pros and power users use it to build line of business solutions. The SharePoint Framework (SPFx) is a great new option for developing SharePoint solutions. Many developers are creating full-trust based solutions or add-in solutions, while also figuring out where and how SPFx fits in the big picture. This book shows you how design, build, deploy and manage SPFx based solutions for SharePoint Online and SharePoint 2016. The book starts by getting you familiar with the basic capabilities of SPFx. After that, we will walk through the tool-chain on how to best create production-ready solutions that can be easily deployed manually or fully automated throughout your target Office 365 tenants. We describe how to configure and use Visual Studio Code, the de facto development environment for SPFx-based solutions. Next, we provide guidance and a solid approach to packaging and deploying your code. We also present a straightforward approach to troubleshooting and debugging your code an environment where business applications run on the client side instead of the server side.
Table of Contents (14 chapters)

Summary

In this chapter, we took a deeper look into working with the SharePoint Framework through a simple hello world project. As part of this work, we installed and configured Node.js and verified that we're using the correct version of the runtime. Next, we configured npm, the node package manager, and ensured it was up to date. This guarantees we can run the SharePoint Framework-based code in our own development environment locally. Finally, we installed Yeoman and Gulp, the two core tools for generating the SharePoint Framework projects and resources and serving the code for local testing.

We used Visual Studio Code to view and test the generated project, and served the code to a local SharePoint Workbench with Gulp.

Finally, we took an in-depth look into the source files and project structure of the generated project.

Next, in Chapter 4, Building your First Web Part, we go beyond hello world and develop a real SharePoint Framework web part.

...