spca2013 - sharepoint hosted apps and javascript

Post on 09-May-2015

647 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

SharePoint Hosted Apps and Javascript

TRANSCRIPT

SharePoint-Hosted Apps and JavaScriptDevelopers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, …

11-04-2023 3

Introduction

• Wesley Bakker

• Email : wesley.bakker@motion10.com

• Principal Consultant at motion10

11-04-2023 4

Agenda

• SharePoint-Hosted Apps

• The good, the bad and the ugly

• JavaScript

• The good, the bad and the… etc.

• Demo

• Questions

SharePoint Hosted AppsThe good, the bad and the ugly

5

11-04-2023 6

What Microsoft says about SharePoint-hosted apps

“SharePoint-hosted apps: SharePoint-hosted apps contain only declarative content, such as HTML and JavaScript, and don’t have any server-side code that is packaged with them. These types of apps store the HTML and other content in SharePoint and simply present the declarative content to the browser. SharePoint-hosted apps interact with SharePoint via the JavaScript object model or Representational State Transfer (REST) end-points and are client-side based. The design and interaction of these types of apps are similar to client-side design patterns used with sandboxed solutions.” *

*http://msdn.microsoft.com/library/office/dn268593(v=office.15)

11-04-2023 7

The good

• Solves many problems for Microsoft

• JavaScript only

• Apps run in their own app web which is a sub web of the host web

11-04-2023 8

The bad

• Solves many problems for Microsoft

• JavaScript only

• Apps run in their own app web which is a sub web of the host web

11-04-2023 9

The ugly

• SharePoint-hosted apps do not work with SAML and FBA sites

JavaScriptThe good, the bad and the… etc.

10

11-04-2023 11

The good

• Dynamic programming language

• Extensible

• Can be written in an Object-oriented fashion

11-04-2023 12

The bad

• Dynamic programming language

• Extensible

• Can be written in an Object-oriented fashion

11-04-2023 13

The ugly

11-04-2023 14

Real development shortcomings

• No type checking

• No compile-time validation

• IntelliSense is not that good

Huge DemoDemo

15

11-04-2023 42

Conclusion

• TypeScript is pretty cool

• Still in preview though and the Visual Studio plugin is not very stable…

• T4 templating is pretty cool

• T4 templating could use some TLC… no intellisense is pretty much a deal breaker though

• AngularJS is pretty cool

• No buts… it is pretty cool!

• Web Essentials is pretty cool

• The tool does have some bugs, it is open source though and you can submit your changes

• Writing SharePoint-hosted Apps can be pretty cool…

• Nobody said it would be easy though..

top related