portable single page applications with angularjs in sharepoint

25
Gold Sponsors Bronze Sponsors Silver Sponsors Portable single page applications with AngularJS in SharePoint Roger Noble CTO – Coritsu Group

Upload: roger-noble

Post on 24-Apr-2015

841 views

Category:

Technology


0 download

DESCRIPTION

An introduction to the basic concepts of AngularJS a client side MV* framework, and how it can be used to create decoupled portable applications within SharePoint. Based on a real-world example, the presentation describes how to create an application hosted in SharePoint that can communicate with other LOB systems. Other featured technologies include Bootstrap, Google fonts and Font Awesome to allow developers to quickly create stunning, user friendly, single page applications.

TRANSCRIPT

Page 1: Portable single page applications with AngularJS in SharePoint

Gold Sponsors Bronze SponsorsSilver Sponsors

Portable single page applications with AngularJS in SharePointRoger NobleCTO – Coritsu Group

Page 2: Portable single page applications with AngularJS in SharePoint

CTO @• SharePoint design and development

• Business Intelligence

• Web Development

Who am I?

Page 3: Portable single page applications with AngularJS in SharePoint

A brief overview…

History of SharePoint Development

Page 4: Portable single page applications with AngularJS in SharePoint

A brief overview…

History of SharePoint Development

2007

Page 5: Portable single page applications with AngularJS in SharePoint

A brief overview…

History of SharePoint Development

2010

Page 6: Portable single page applications with AngularJS in SharePoint

A brief overview…

History of SharePoint Development

2013

Page 7: Portable single page applications with AngularJS in SharePoint

1. Provide users with the easiest discovery, purchase, and installation process.

2. Give administrators the safest SharePoint extensions.

3. Provide you with the simplest marketing and sales system based on a Microsoft online app store.

4. Maximize your flexibility in developing future upgrades.

5. Maximize your ability to take advantage of your existing non-SharePoint programming skills.

6. Integrate cloud-based resources in smoother and more flexible ways.

7. Enable your extension to have permissions that are distinct from the permissions of the user who is running the app.

8. Enable you to use cross-platform standards, including HTML, REST, OData, JavaScript, and OAuth.

9. Enable you to take advantage of the SharePoint cross-domain JavaScript library to access SharePoint data. Alternatively, you can use a Microsoft-provided secure token service that is OAuth-compatible or use digital certificates to get authorization to SharePoint data.

Benefits of App Model

http://msdn.microsoft.com/en-us/library/office/jj163114(v=office.15).aspx#AppWhenYouCan)

Page 8: Portable single page applications with AngularJS in SharePoint

1. Maximize your ability to take advantage of your existing non-SharePoint programming skills.

2. Integrate cloud-based resources in smoother and more flexible ways.

3. Enable you to use cross-platform standards, including HTML, REST, OData, JavaScript, and OAuth.

Benefits of App Model

http://msdn.microsoft.com/en-us/library/office/jj163114(v=office.15).aspx#AppWhenYouCan)

Page 9: Portable single page applications with AngularJS in SharePoint

Flipping server-side code on its head

Use the server as a source of data, rather than generating angle brackets

Get the client to do the work

Browsers are incredibly good at rendering HTML

SPA (Fat client)

Page 10: Portable single page applications with AngularJS in SharePoint

JAVASCRIPT!!!

Page 11: Portable single page applications with AngularJS in SharePoint

What is AngularJS?

Page 12: Portable single page applications with AngularJS in SharePoint

What is AngularJS?

Keep business logic on the server

Move presentation to the client

Two way data-binding

Dependency injection

Page 13: Portable single page applications with AngularJS in SharePoint

Basic appdemonstration

Page 14: Portable single page applications with AngularJS in SharePoint

Apps are very quick to develop and deploy

Can use existing skills

Can develop outside of SharePoint!!!

Testable

Example…

Why should you care?

Page 15: Portable single page applications with AngularJS in SharePoint

Font Awesome

Other useful open source tools

Page 16: Portable single page applications with AngularJS in SharePoint

Bootstrap

Other useful open source tools

Page 17: Portable single page applications with AngularJS in SharePoint

Google fonts

Other useful open source tools

Page 18: Portable single page applications with AngularJS in SharePoint

All togetherdemonstration

Page 19: Portable single page applications with AngularJS in SharePoint

Can easily package files into an App using VS

Even lazier, deploy them to a document library

Deployment

Page 20: Portable single page applications with AngularJS in SharePoint

Deploymentdemonstration

Page 21: Portable single page applications with AngularJS in SharePoint

Use your favourite tool

Develop locally as much as possible

Use tools as much as possible – don’t reinvent the wheel

Reference CDN for speed

Development strategies

Page 22: Portable single page applications with AngularJS in SharePoint

Develop offlinedemonstration

Page 23: Portable single page applications with AngularJS in SharePoint

Summary • AngularJS allows me to develop faster and produce applications that can be hosted anywhere

• Allows for modular JavaScript that is testable

• There are lots of cool open source tools out there

Page 24: Portable single page applications with AngularJS in SharePoint

Questions?Comments?More info

Contact details:[email protected]

@Roger_Noble

http://rogernoble.com

Related links:

https://angularjs.org/

http://fontawesome.io/

http://angular-ui.github.io/bootstrap/

https://www.google.com/fonts

http://www.coritsu.com

Page 25: Portable single page applications with AngularJS in SharePoint

Gold Sponsors Bronze SponsorsSilver Sponsors

Thanks for listeningRemember to submit your feedback so you go in the draw to win prizes at the end of the day