sharepoint fest chicago - introduction to angularjs with the microsoft graph

23
Introduction to AngularJS with the Microsoft Graph #SPFest Chicago

Upload: sebastien-levert

Post on 07-Jan-2017

143 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Introduction to AngularJS with the Microsoft Graph#SPFest Chicago

By: Sébastien Levert

Page 2: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

My twitter handle is @sebastienlevert, blog is http://sebastienlevert.com and I work at

SÉBASTIEN LEVERT

SPEAKER | OFFICE DEV MVP | SUPER FUNNY

Page 3: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AGENDA

Page 4: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AGENDA

Page 5: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

What is AngularJS ?

Page 6: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AngularJS is a powerful JavaScript MVW Framework.

WHAT IS ANGULARJS ?• Superheroic JavaScript MVW framework

• Developed by Google

• Started in 2009

• Used by Netflix, Youtube, Vevo, MSNBC, …, You ?

• A game changer in web development

• Angular 2.0 coming in 2015 2016

Page 7: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Open your mind to new technologies. They integrate nicely with SharePoint!

WHY SHOULD I USE ANGULARJS ?• Getting closer to client-side development

• Start thinking like a web developer, not like a SharePoint developer

• Living on the edge

• Building applications faster, with less code

• Because everyone is heading towards it

Page 8: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Even if React is taking a lot of momentum, AngularJS is still great!

ANGULARJS IS (STILL) VERY… TRENDY !

Page 9: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AngularJS is a fully-featured SPA Framework.

KEY CONCEPTS OF ANGULARJS ?• Architecture pattern

• Enhanced HTML templating

• 2-way data-binding

• Routing engine

• Dependency injection

• Unit testing

Page 10: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AGENDA

Page 11: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

What is the Microsoft Graph ?

Page 12: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

The Microsoft Graph is a single API to get to your Office 365 data.

WHAT IS THE MICROSOFT GRAPH ?Single endpoint for:

Accessing data/me, /users, /groups, /messages, /drive, ….

Traversing data/drive/<id>/lastmodifiedByUser

Accessing insights/insights/trending

Work/School and Personal

https://graph.microsoft.com/

Page 13: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Any language. Any IDE. Using standards. One endpoint.

COME AS YOU ARE AND GET YOUR DATA• Use your favorite technology and

host it anywhere

• Code in your favorite IDE

• Use standards to connect to your data

• Get data, insights and relationships from the Office Graph

Page 14: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Great way to publish your apps to your entire organization.

SINGLE AUTHENTICATION FLOW• Sign users in using OpenID

Connect• Azure AD and Office 365

services• Supports MFA and federated

user sign-in• Device apps, web sites,

SPAs, and service apps• Pin apps to Office 365 app

launcher from My apps

Page 15: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

You users are aware of what you are doing with their data!

COMMON CONSENT• Admin and end-user consent

• Secure protocol• OpenID Connect and OAuth

2.0• No capturing user credentials• Fine-grained access scopes• Long-term access through

refresh tokens

Page 16: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Microsoft Accounts and Organizational Accounts are supported!

AUTHENTICATION OPTIONS• Azure AD only• Separate authentication flow supports Azure AD accounts only

• Azure AD and Microsoft Accounts (Preview)• Converged auth flow supports Azure AD accounts and Microsoft

accounts (LiveID - hotmail.com, etc.)

Page 17: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AGENDA

Page 18: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Demos

Page 19: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

AGENDA

Page 20: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Next Steps

Page 21: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Those resources will help you learning AngularJS with the Microsoft Graph

RESOURCES• https://dev.office.com• https://graph.microsoft.io• https://github.com/officedev• https://github.com/microsoftgraph• https://github.com/sebastienlevert• https://github.com/richdizz• https://github.com/maliksahil

Page 22: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

Sharing is Caring

SHARE YOUR EXPERIENCE• Use hashtags to share your experience• #Office365Dev• #MicrosoftGraph

• Contribute and ask question to the Microsoft Tech Community• https://slevert.me/tech-community-sp-dev

• Log issues & questions to the GitHub Repositories

Page 23: SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph

My twitter handle is @sebastienlevert, blog is http://sebastienlevert.com and I work at

THANK YOU Organizers, Sponsors and You for making this possible.

QUESTIONS | COMMENTS | ENGAGE