A singleton is a pattern that guarantees there is a single instance of an object in the system. A singleton can maintain a state which is shared across the entire system. Singletons abstract their internal workings from the rest of the system. singleton Singleton pattern: Singletons are common in business applications. They help model real-life

Read More
Typescript design patterns for SharePoint Framework – How to implement a Singleton

Combine four key technologies to build great solutions for your company or clients. Build client-side web parts using the SharePoint Framework (SPFx) along with the open-source toolchain. The PnP-JS-Core library allows you to do a lot of work against the SharePoint REST API with just a few lines of code – sometimes even a single

Read More
Building Great Client-side Web Parts with SPFx, PnP-JS-Core, ReactJS and Office UI Fabric

While the SharePoint Framework (SPFx) matures, we can continue to build Single Page Applications (SPAs) using lists and libraries for our data model, building with AngularJS, and deploying using Webpack and gulp-spsave. While this approach doesn’t utilize SPFx yet, you can build in such a way that you are ready when SPFx gives us the

Read More
Building Single Page Applications (SPAs) in SharePoint with JavaScript

In this post, we will see how to add a client side web part programmatically to a page. Here in the example, I have used the javascript (from msdn) and modified to use the client side web part manifest details. ClientSideWebPart Manifest: <webParts> <webPart xmlns=”http://schemas.microsoft.com/WebPart/v3″> <metaData> <type name=”Microsoft.SharePoint.WebPartPages.ClientSideWebPart, Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” /> <importErrorMessage>Cannot import

Read More
How to programmatically add a ClientSide Web Part to a SharePoint page

At the Future of SharePoint event Microsoft introduced the next generation of SharePoint which ushers a new way of developing customizations for SharePoint using the SPFx Framework. Many concepts in this framework will be new to power users as well as traditional developers as they were taken directly from the cutting edge of client-side modern

Read More
Getting started with modern client-side development in the SharePoint Framework (SPFx)