SPFX
SPFX
SPFX
The SharePoint Framework (SPFx) is a page and web part model that provides full
support for client-side SharePoint development
You can use modern web technologies and tools in your preferred development
environment to build productive experiences and apps that are responsive and mobile-
ready from day one
The SharePoint Framework works for SharePoint Online and also for on-premises
(SharePoint 2016 Feature Pack 2 and SharePoint 2019)
It runs in the context of the current user and connection in the browser. There are no iFrames for the
Node Package Manager (NPM): NPM is a command line interface program to manage node js libraries.
Yeoman:
Yeoman is SharePoint generator, developers are able to scaffold new client side solution to build package
and deploy SP solutions
The generator provides common build tools, boiler plate code and common playground.
Yeoman is generator eco system, basically a plugin that can be run with 'yo' command to scaffold
complete projects or useful parts.
Yeoman workflow comprises three types of tools for improving productivity and satisfaction when
building a web app.
1 Scaffold yo yo scaffolds out a new application, writing your build configuration (e.g Gulpfile) and
pulling in relevant build tasks and package manager dependencies (e.g npm) that
you might need for your build.
2 Build Tool Gulp or The Build System is used to build, preview and test your project. Gulp and Grunt are
Grunt two popular options.
3 Package Npm and The Package Manager is used for dependency management, so that you no longer
manage Bower have to manually download and manage your scripts. npm and Bower are two popular
options.
No JavaScript framework
React
Knockout
React is a declarative, efficient, and flexible JavaScript library for building user
interfaces. It lets you compose complex UIs from small and isolated pieces of code
called “components”.