SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction

Slides:



Advertisements
Similar presentations
North Shore.NET User Group Our Sponsors. North Shore.NET User Group Check out our new web site Next Meeting
Advertisements

Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
ASP.NET vNEXT & development tools Marco De
Getting Started with Aurelia
TypeScript for Alfresco and CMIS Steve Reiner CTO Integrated Semantics.
Online Conference June 17 th and 18 th Modern SharePoint Development using Visual Studio Code.
Best Web Technologies for
Using React, Drupal and Google Chrome to build an interactive kiosk + + =
Ramping Up On The SharePoint Framework (SPFx)
From SharePoint to Office 365 Development
Node.js Modules Header Mastering Node.js, Part 2 Eric W. Greene
Build Client-side web parts for Microsoft SharePoint
Building Desktop Apps with Node.js and Electron
SharePoint + CRM Saturday Zurich 2017
Branding Without MasterPages, the Future of UX in SharePoint Online
Get an Introduction to the SharePoint Framework
Visual Studio 2017 By Michael Washington
Angular 4 + TypeScript Getting Started
Understanding SharePoint Framework Extensions
What's new in the world of SharePoint development and deployment
A Short Introduction to SharePoint Framework Development Model
Line of Business Solutions in SharePoint Online
BRK4031: Best practices from Microsoft for developing with SPFx
Modern web tooling in Visual Studio 2015
Presented by Kenny Duenke and Patrick Witbrod
Use Office UI Fabric React to Build Beauty with SharePoint
Introduction to TypeScript & Angular
3 Things Everyone Knows About Node JS That You Don't
Modern UI Extensions with the SharePoint Framework
Creating and Deploying Your First SharePoint Framework Application
New Tricks for Old Dogs: The SharePoint Framework (SPFx)
In SharePoint A Practical Guide.
Modern UI Extensions with the SharePoint Framework
Working with the SharePoint Framework
Build Better Apps with MEAN.
Node.js Packages Header Mastering Node.js, Part 4 Eric W. Greene
SharePoint Framework Extensions
SharePoint Practice Lead
SPFx – A modern development tool for SharePoint
Introduction to SharePoint Framework (SPFx)
Understanding SharePoint Framework and Modern Development
SharePoint-Hosted Apps and JavaScript
Nick Trogh Technical Evangelist, Microsoft.
React Revived Web Driver IO for Testers
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Creating and Deploying Your First SharePoint Framework Application
Introduction to SharePoint Framework (SPFx)
SharePoint Framework (SPFx)
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
Introduction to SharePoint Framework
Tips for SharePoint Framework development
Rodrigo Silva SharePoint / Office 365 Developer & Technical Architect
And I have to create mobile apps too?
The SharePoint framework
SharePoint 2019 Overview and Use SPFx Extensions
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Visual Studio 2010 SharePoint Development Tools Overview
The Modern UX is SharePoint’s Future
Microsoft Connect /28/2019 2:20 AM
SPSVB Sponsors Platinum Gold Silver.
CS5220 Advanced Topics in Web Programming Angular – TypeScript
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
CS5220 Advanced Topics in Web Programming Angular – TypeScript
Introduction to Sitecore JSS for frontend and backend developers
Introduction.
Angular.
Build’an’Office add-in- using’modern JavaScript tools and techniques
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction http://www.meetup.com/Danish-SharePoint-User-Group-SPBG/ SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction

Agenda What is SharePoint Framework Background Underlying technology Demo My take on SPFx

Disclaimer The SharePoint Framework is currently in preview and is subject to change. SharePoint Framework client-side web parts are not currently supported for use in production environments.

What is SharePoint Framework The SharePoint Framework (SPFx) is a page and web part model that are responsive and mobile-ready from day one. The SharePoint Framework works for SharePoint on-premises and SharePoint Online.

WhaT is SharePoint Framework Enhancing the out of the box experience Branding custom portals Building custom Intranet Portals Building custom Web Parts Building vertical focused applications Integrating with external systems

What is SharePoint Framework Tooling (lots of it) Build Workbench local Workbench server JavaScript libraries New application package format New Page type New Web Part

Background Release Framework 2001, 2003 None 2007 Farm Solutions 2010 Sandboxed Solutions 2013 - Apps è Add ins ”2016” SharePoint Framework

”Old” toolbox SharePoint Visual Studio

”Old” toolbox

New Toolbox

New Toolbox SharePoint Visual Studio SharePoint Framework Node.js Npm Gulp Yeoman JavaScript (ES2015) TypeScript SystemJS WebPack Karma Mocha Chai Sinon.js PhantomJS CasperJS Knockout React Angular

Node.js Install from https://nodejs.org JavaScript runtime build on Chrome V8 Use version 4.x or 6.x

Npm – node package manager Package manage a ’la NuGet Installed as part of node.js Check version: npm –v If less that 3.x upgrade: npm install –g npm Installs packages from https://www.npmjs.com/ Install Command line tools (and generators) globally –g Install most things locally (node-modules) package.json

Gulp “the streaming build system” JS equivalence to MSBuild Install CLI using npm “npm install –g gulp-cli” Install locally (done by yeoman in SPFx) Configure using gulpfile.js Run build tasks “gulp <task>” http://gulpjs.com/plugins/

gulp var gulp=require(“gulp”), plugin=require(“gulp-plugin”); … gulp.task(“task”, [“othertask”], function () { return gulp.src('./src/**/*.ts') .pipe(plugin()) .pipe(plugin2()) .pipe(gulp.dest('./dist/js')); });

yeoman “The web’s scaffolding tool for modern apps” A ’la “File | New Project” Install using npm “npm install –g yo” Install generator using npm Make directory Run ”yo <generator>” Tool part of SharePoint Framework is a yeoman generator ”@microsoft/generator-sharepoint”

SharePoint Framework http://dev.office.com/sharepoint https://github.com/SharePoint/sp-dev-docs/wiki Install node.js Upgrade npm (if < 3.x) Install using: npm i –g gulp-cli yo @microsoft/generator-sharepoint Create folder Run: yo @microsoft/sharepoint

Let’s get started

ES2015 Modules Fat Arrow Functions Template literals Classes Promises

ES2015 export function x() {} export function y() {} import {x,y} from “./test”; x(); import * as other from “./test”; other.x();

ES2015 function x(){…} let x = ()=>{…}; let html=`<div class=“myClass”> this is some text ${someVar} </div>`;

ES2015 export class MyClass extends BaseClass { constructor(x, y) { super(x,y); } x; static y; funcX() {} static funcY() {}

Callback hell function getWeb(cb, errorCb) {…} getWeb((web) => { getList(web,(list)=>{ getItem(list, (item) => { … });

Promises return getWeb() .then((web) => getList(web)) .then((list) => getItem(list)) .then((item) => {…}) .catch(() => {…});

TypeScript Types Interfaces Enums Generics Access modifiers (public is default)

Finish demo

My take on SPFx

Background Release Framework +/ - MS 2001, None + 2003 2007 Farm Solutions + 2010 Sandboxed Solutions - 2013 Apps è Add - ins (+) ”2016” SharePoint Framework ?

My take on SPFx Good Tooling Modern Localization Responsive Efficient MS Use Bad Too much tooling Modern Simple Localization Lots missing Security/Control Newbie focus Way too late