Cross Platform Development mit SharePoint
Agenda Wir entwickeln eine App um Businesstrips in SharePoint zu erfassen Businesstraveller 0.1
http://ppedv.de/msts Folien Demo Projekt Link Sammlung Und meine Emailadresse
Anforderungen Datenhaltung in SharePoint APP auf allen Geräten lauffähig SharePoint On Premise nicht öffentlich Erfassung von Reisen im Namen des Benutzers Distanzberechnung der Reise
X-Platform In computing, cross-platform, is an attribute conferred to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms.
X-Platform Multi Device Development Android ios Windows Phone Native Development Cross Platform Apps
Smart Phone Web Service SharePoint SharePoint Daten Tunnel
Smart Phone Web Service SharePoint SharePoint Workflow REST Client API REST HTML App ASP.NET MVC Web API
SharePoint Backend Externe Services einbinden SharePoint SharePoint Workflow REST
SharePoint als Datenspeicher Listen / Bibliotheken Kein Ersatz für Datenbank Tabellen Limits beachten! Kopplung an Workflows
SharePoint Workflow Workflow Manager 1.0 Installation unter http://ppedv.de/msts Startart beim Anlegen eine Items beim Ändern Manueller Start Umfangreiche Aktionen zb Send Mail, Check In/Out http-send für REST Dienste Zugriff auf Webservices
Google Distance API Abfrage von Längen- und Breitengrad für Adressen https://maps.googleapis.com/maps/api/distancematrix/json?origins=austria Vienna&destinations=" + City + "&mode=transit&language=de-de&key=
Demo SharePoint Liste anlegen Workflow anlegen http-send (Google)
ASP.NET Web API
ASP.NET MVC WebAPI Framework für REST-Services Serialisierung mit JSON oder XML Controller mit Methoden für: GET PUT POST DELETE http://localhost:31009/api/customer
SharePoint Client Object Model (CSOM) Bibliothek für SharePoint Remote Zugriff Managed Code JavaScript (Silverlight) Datenabfrage SharePoint Verwaltung Angelehnt an SP Server API
CSOM Architektur Anwendung SharePoint C# Code Content DB Managed CSOM JSON Service Proxy XML Client.svc
Authentifizierung Anforderung: Benutzer soll Credentials von SharePoint nutzen SharePoint -Tunnel mit Web API OAuth Authentifizierung App WebAPI SharePoint Credentials AccessToken C53d3nI0js AccessToken Credentials Credentials AccessToken C53d3nI0js AccessToken Credentials Credentials
Demo WebAPI Authentifizierung Zugriff auf SharePoint
App-Entwicklung
Apache CORDOVA (PhoneGap) Framework zur Entwicklung hybrider Apps für mobile Endgeräte Programmierung mit HTML/CSS und JavaScript Unterstützte Plattformen: ios Android Windows Phone BlackBerry Bada Symbian Tizen
Plug-Ins für Device Zugriff
Visual Studio Tools für Apache Cordova Toolset im Visual Studio Installiert alle SDKs Liefert Emulatoren Achtung: nutzt Hyper-V Integrierte Entwicklungsumgebung für Cordova JavaScript oder TypeScript
TypeScript Entwickelt von Anders Hejlsberg Ziel: JavaScript Development für große Projekte Precompiler für JavaScript Spracherweiterungen Typen Klassen Vererbung Interfaces Module
JS-Bibliotheken in Cordova JQuery JQuery Mobile Angular JS KnockOut Handlebars Cordova unterstützt eine Vielzahl an JS-Bibliotheken
JQuery Mobile JavaScript Framework für mobile Entwicklung Single Page Framework Pages in DIV-Elementen Routing durch Anchor # Elemente Etabliert und große Auswahl an Controls und Styles
Handlebars HTML Template Language Erweiterung von Mustache Templates Trennung von Code und View Einfach anzuwenden <div class="entry"> <h1>{{title}}</h1> <h2>by {{author.name}}</h2> <div class="body"> {{body}} </div> </div>
Demo Cordova & Typescript Single Page Application Listen Ansicht Datensatz eintragen
Weiterführende Informationen http://ppedv.de/msts Sammlung aller Links Und GibtHub Projekt BusinessTraveller
Vielen Dank 2014 Microsoft Corporation. All rights reserved. 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.