SharePoint + CRM Saturday Zurich 2017

Slides:



Advertisements
Similar presentations
What are Access Web App What are “Apps for Office” Microsoft Access Access “Apps for Office” Value of “Apps for Office” Apps for Office How it all works.
Advertisements

var site="s15gizmodo" var site="s15gizmodo"
Node.js on Windows Azure Name Title Microsoft Corporation.
customer.
Cloud Roadshow. Getting Started with Office add-ins.
Cloud Roadshow. Getting Started with mobile app development with the Office 365 APIs.
Demo Fest of Some Leading Store Apps Module 2.
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
Office 365 Development July 2014.
Ramping Up On The SharePoint Framework (SPFx)
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Build Client-side web parts for Microsoft SharePoint
Get an Introduction to the SharePoint Framework
Office 365 Developer Overview
5/22/2018 3:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
What's new in the world of SharePoint development and deployment
5/29/2018 1:32 PM Office UI Fabric behind the scenes: Open source Design & Engineering in Office Peter Jahn Senior UX Engineering Manager OneDrive & SharePoint.
About Bill Bill Baer (ˈbɛər)
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Ignite /4/2018 8:46 AM
Line of Business Solutions in SharePoint Online
BRK4031: Best practices from Microsoft for developing with SPFx
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
How to Build a Complete Office Add-in Solution
Presented by Kenny Duenke and Patrick Witbrod
Creating and Deploying Your First SharePoint Framework Application
Working with the SharePoint Framework
Python Tools for Visual Studio
Release Management with Visual Studio Team Services
SPFx – A modern development tool for SharePoint
Introduction to SharePoint Framework (SPFx)
Understanding SharePoint Framework and Modern Development
Office 365 Development.
Microsoft Build /8/2018 3:30 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Transforming SharePoint Farm Solutions to the Add-in Model
The Future of SharePoint Development - Vision, Strategy, and Roadmap
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Creating and Deploying Your First SharePoint Framework Application
Nick Trogh Technical Evangelist, Microsoft.
11/15/ :59 AM THR2294 Building great looking experiences with Microsoft Graph and Office UI Fabric Ben Summers Office Marketing David Lavenda Harmon.ie.
Setting up team development infrastructure for SharePoint 2013
Office 365 Development July 2014.
Introduction to SharePoint Framework (SPFx)
Microsoft Build /24/2018 2:23 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Working with different JavaScript frameworks and libraries
Getting started with SharePoint Framework
Introduction to SharePoint Framework
SharePoint User Group Zürich – 1 November 2016.
Agenda OAuth Concepts Programming OAuth.
All About Office UI Fabric
SPC Developer 1/1/2019 Deep Dive on the Capabilities of SharePoint Online's New Public Website Josh Stickler Program Manager WCM Kevin Gjerstad Principal.
Hooking into Apps for SharePoint
TechEd /11/ :21 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Microsoft Build /17/2019 8:09 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Getting Started with SP2013 Apps
The SharePoint framework
Getting started with SharePoint Framework
Office 365 Development.
What is Visual Studio Code?
Microsoft Connect /28/2019 2:20 AM
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Explore PnP Partner Pack for IT pros, admins and architects
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
TechEd /27/2019 5:37 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
5/25/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Office 365 Development July 2014.
Microsoft Virtual Academy
What’s New for Developers in Office and SharePoint
VNet and Cross-Premises Connectivity
Presentation transcript:

SharePoint + CRM Saturday Zurich 2017 #Spszurich #crmsaturday SharePoint + CRM Saturday Zurich 2017 SharePoint Framework the new development way Giuliano De Luca / @giuleon

SharePoint + CRM Saturday Zurich May 13, 2017 Giuliano De Luca Software Engineer | Office 365 | Blogger www.delucagiuliano.com giuliano.deluca@outlook.com @giuleon

Agenda SharePoint Framework Toolchain Office UI Fabric SharePoint Framework Considerations Resources

LOB Systems and Cloud Services SharePoint Framework Already available on SharePoint Online In the future also for SharePoint On-Prem 2016 SharePoint framework LOB Systems and Cloud Services Microsoft Graph Modern client-side development Lightweight web and mobile Powers our own experiences Backward compatible Supports open source tools and JavaScript web frameworks

SharePoint Framework Toolchain Tooling Node.js Yeoman Gulp TypeScript Visual Studio (Code) Frameworks – Choose yours React Angular.js Knockout Etc.

Comparing tools with Microsoft IIS Express MS Build VS Project  New  <Template>

What is Node.js? Run server-side JavaScript Makes use of Google’s V8 JavaScript engine Supports the latest ECMAScript features Open source Cross-platform “Can” act as a web server, but more is possible Check your version: node -v

What is npm? JavaScript package manager Similar like NuGet Install and manage dependencies / modules npm init npm install <package_name>

Why using Gulp? Transpiling TypeScript > JavaScript / SASS > CSS Building debug / production packages Uploading files to CDN / FTP / SharePoint Execute tasks after file changes Warming-up scripts

Yeoman: the web's scaffolding tool for modern webapps

Bullet list of most useful gulp command Tasks Purpose gulp serve Serving the local development environment (--nobrowser is optional) gulp build Builds the project (transpiling)  check “lib” folder gulp test Runs the unit tests if you have written any gulp bundle | gulp Build project in DEBUG mode  check “dist” folder gulp bundle --ship | gulp --ship Build project in SHIP mode / ready for distribution  check “temp” folder gulp package-solution Packages the DEBUG solution as an app package  check “sharepoint” folder gulp package-solution --ship Packages the production ready solution  check “sharepoint” folder gulp deploy-azure-storage Add the files to your Azure CDN gulp clean Cleans the project from build artifacts (remove previous builds) gulp trust-dev-cert Add a developer certificate to your client  necessary for local development gulp untrust-dev-cert

Demo Hello Word Web Part

Modern UI Ohh Nooo ! I’m not a designer "Keep calm and use Office UI Fabric“ - Satya Nadella Wait a minute Giuliano, I never said this….

Office UI Fabric Front-End Framework Responsive and mobile-first Office 365 User Experience Support to React, Angular, JS and IOS Many components available Open source

Components

Icons 708 Icons available

Open source React Fabric JS AngularJS Fabric IOS Fabric’s robust, up-to-date components are built with React Fabric JS Lightweight and simple components in vanilla Javascript AngularJS Community-driven project for Angular apps Fabric IOS Native iOS styling and components written in Swift https://github.com/OfficeDev/Office-UI-Fabric https://dev.office.com/fabric

Main Office UI Fabric features Responsive grid Localization Colors Icons Animations Typography

Office UI Fabric Grid

Office UI Fabric classes Class Name Range Breakpoint ms-u-smxx 320px - 479px Small ms-u-mdxx 480px - 639px Medium ms-u-lgxx 640px - 1023px Large ms-u-xxx 1024px - 1365px Extra Large ms-u-xxxx 1366px - 1919px Extra Extra Large ms-u-xxxxx 1920px and up Extra Extra Extra Large

Office UI Fabric grid sample <div class="ms-Grid"> <div class="ms-Grid-row"> <div class="ms-Grid-col ms-u-sm6 ms-u-lg4 ms-u-x2">A</div> <div class="ms-Grid-col ms-u-sm6 ms-u-lg8 ms-u-x10">B</div> </div>

Demo Web Part + Office UI Fabric

Anatomy of a SharePoint Framework solution Azure CDN SharePoint Online CDN Other CDN

CDN considerations https://publiccdn.sharepointonline.com/<tenant host name>/<ID of the public CDN origin>/<sub-path under the origin>/

Security considerations SharePoint Patterns and Practices Security considerations SPFx solutions are running in the context of user You can always use also add-in model with oAuth model Script integrity in context of hosting location ‘No script’ options for extra security of your site © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Client-side customizations in SharePoint 4/15/2018 Client-side customizations in SharePoint SPFx Solutions are deployed centrally as a tenant admin JavaScript is executed with the permissions of end user Add-ins Isolated functionalities hosted either in iframe or outside of the SharePoint Script editor web part Scripts are added on the pages by end users Scripts can be hosted anywhere Same with content editor web part Script embedding Embedding scripts with Usercustomactions or JSLink JavaScript files can be added by site owners using API JS files hosted in the site Characteristics Works on ‘no-script’ sites Permissions model Centralized approval © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Debug considerations Of course not, you will go in debug using ever typescript. So I'll write my code in typescript and do I have to debug in javascript ? That's not really comfortable.

Debugging options Use your browser developer tools Using the debugger statement -> „debugger;“ Debugging in Visual Studio Code

Thank You ! Giuliano De Luca

Resources SPFx People Picker - https://goo.gl/iRZZd7 SharePoint Add-In People Picker - https://goo.gl/SEUflx SPFx All property types - https://goo.gl/Y46vkA SPFx React chart web part - https://goo.gl/NmRG7j SPFx React weather web part - https://goo.gl/uXnZJd SharePoint Framework - https://goo.gl/SJ1VHW Office UI Fabric - https://dev.office.com/fabric http://www.delucagiuliano.com