SharePoint Framework is a new development model for SharePoint which takes the SharePoint experience to the next level with the help of client-side APIs.
Introduction
For years, Microsoft kept on enabling different development models, like Farm based solutions, Sandboxed solutions, SharePoint Add-In to access the SharePoint objects with the help of different APIs. And also, we have another model in SharePoint by manually injecting a JavaScript file (which is created based on JSOM, REST API) to the SharePoint page to obtain the appropriate result.
In addition to the above mentioned development models, recently, Microsoft added another model called “SharePoint Framework model” to build great & better applications. This model is released as open source and is still in its initial stage even for developers.
“The SharePoint Framework is a Page and Part model that enables client-side development for building SharePoint experiences. It facilitates easy integration with the SharePoint data and provides support for open source tooling development.” - Microsoft
SharePoint Framework Highlights
Light Weight Components
For developing the applications based on the old development models, we should require a Microsoft Visual Studio as a source code editor for developing & packaging the applications. But for SharePoint Framework development, we require some of the light weight tools, like Node JS, Gulp, Typescript, Visual Studio, Yeoman Generator instead of having heavy weight software.
The below table provides a summary of Microsoft equivalent to the light-weight components.
| Light Weight Component | Microsoft Equivalent |
| Node.js | IIS Express and /or build automation |
| Node.js | .Net Framework |
| npm | Nuget |
| Yeoman | VS Project -> New -> Template |
| Gulp.js | MS Build |
| Typescript | C# |
Node.JS
It is an open source and cross platform JavaScript based runtime environment, built on top of Chrome’s V8 JavaScript engine for developing JavaScript based applications.
SharePoint Framework uses this Node.js runtime environment to build & run the applications. We can call it as equivalent to .NET.
Ref: https://nodejs.org
NPMJS Packages
npmjs is the package manager for JavaScript, which contains the larger number of open source packages and these are assembled in the solution to build the application.
SharePoint Framework manages the dependencies required for the application by using npmjs packages. This is equivalent to the NuGet package in Microsoft world.
Ref: https://www.npmjs.com/
Gulp
Gulp is an open source toolkit used to automate the painful and time-consuming tasks in a development workflow. For ex., minification and copying of all JavaScript files.
SharePoint Framework model uses the Gulp toolkit to automate the tasks of building and running the solution.
Ref: http://gulpjs.com/
Typescript
Typescript is an open source editor developed by Microsoft. It is a typed superset of JavaScript language and compiles in to plain JavaScript. It also eases the C# developers to develop JavaScript based applications.
SharePoint Framework uses the Typescript language to build the applications and this will be compiled in to clean, simple JavaScript code to run on any browser.
Ref: https://www.typescriptlang.org/
Visual Studio Code
Visual Studio Code is lightweight source code editor tool which runs on any platform. It comes with built-in support for JavaScript, Typescript and Node.js and has rich ecosystem of extinctions for other languages and runtime.
SharePoint Framework uses the features of visual studio code to edit and manage the source code for building the application.
https://code.visualstudio.com
Yeoman Generator
Yeoman Generator is the web’s scaffolding tool for modern web apps. This will generate the complete solution structure for developing the application.
SharePoint Framework uses the “@microsoft/sharepoint” yeoman generator to create a solution structure for the application.
Ref: http://yeoman.io/
GitHub
GitHub is the web based Git repository hosting service. It offers all of the distributed revision controls and source code management functionality of Git.
SharePoint Framework is an open source and all of its code is hosted on GitHub for public. So, we can use the GitHub for contributing more to the framework. We can also enable versioning to our newly create application as well.
Ref: https://github.com/
JavaScript Frameworks
In the modern web world, there is a number of JavaScript frameworks like React, Angular JS, Knockout JS, etc… available for building the web based application to enable rich user experience.
SharePoint Framework also enables us to use any type of JavaScript frameworks in the solution to enrich the user experience.
SharePoint JSOM or REST API
JSOM or REST API enable the client side development to access & manages the SharePoint sites. SharePoint Framework is totally a client side development model and it uses any of the JavaScript based SharePoint APIs to develop the application.
Develop across Platforms
Developing the SharePoint framework applications is possible across different OS platforms, by installing the light weight tools in any platform and that opens the way for developers to build applications on any platforms.
Automated Process
SharePoint framework uses the generator from Yeoman to create the skeleton for the SharePoint and that same generator installs all required dependency packages to the development folder and configures the automated tasks. Gulp handles the tasks and automated the compile, build, run and packaging the solution.
Why SharePoint Framework?
For developing the client based SharePoint applications, we have used two kind of approaches,









Nilesh UbhePosted Sep 19, 2018, 5:41 AM
Thanks for sharing... Any specific steps for running behind corporate proxy
Vignesh ManiPosted Aug 30, 2016, 8:43 AM
Good one
Prasham SabadraPosted Aug 29, 2016, 10:58 PM
Thanks for sharing. Well explained.
Tarun DPosted Aug 29, 2016, 6:41 AM
Thanks for sharing.
Vinodh NarayananPosted Aug 29, 2016, 5:50 AM
Thanks for sharing
Humayun Kabir MamunPosted Aug 28, 2016, 11:54 PM
Nice...