• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
The LMS OLAT REST API and the OLAT mobile client
 

The LMS OLAT REST API and the OLAT mobile client

on

  • 2,587 views

With version 7.0 we added a programming interface to the learning management system OLAT, the so called REST API. In this slides I explain in a few minutes what this is all about and how this could be ...

With version 7.0 we added a programming interface to the learning management system OLAT, the so called REST API. In this slides I explain in a few minutes what this is all about and how this could be used to connect OLAT with other software.

One special use case is the OLAT mobile client which frentix GmbH implemented last summer based on the REST API. The OLAT mobile client grants access to a variety of OLAT features in a mobile app for iOS or Android. Other mobile phones will follow shortly.

The slides are from october 2010, I publish them here because I got asked about them often lately.

Statistics

Views

Total Views
2,587
Views on SlideShare
2,583
Embed Views
4

Actions

Likes
0
Downloads
0
Comments
6

1 Embed 4

http://www.slideshare.net 4

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

16 of 6 previous next Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • @poleindraneel Please subscribe to the OpenOLAT mailinglist to discuss installation issues, slideshare really is not the wright place to do this. We do not operate OpenOLAT under Windows environment, therefore we do not have a windows documentation. But the deployment is really straight forward: deploy the war file in your tomcat, setup the database as described and add a olat.local.properties file to your classpath. I can not help you with this as I'm not a windows guy. Note that we strongly recommend you running OpenOLAT under Linux and NOT windows as OpenOLAT is well tested using Linux but not under windows. You should consider setting up a VM with Linux and run OpenOLAT there. It will save you time and headaches.
    Are you sure you want to
    Your message goes here
    Processing…
  • @gnaegi Thanks. :) I was going through the installation documentation of openOLAT,it is given for the linux environment. Any documentation for windows installation given? Can you please give any link? Your help is very valuable for us.

    Thanks,
    Indraneel
    Are you sure you want to
    Your message goes here
    Processing…
  • @poleindraneel we do not support OLAT anymore. Instead, have a look at OpenOLAT: http://www.openolat.org.

    The REST API in OpenOLAT has been greatly extended to support all kind of features you would need for building an mobile OpenOLAT client. Have a look at the generated REST API documentation that you get when you are in the administration environment in OpenOLAT and you have the REST API enabled.

    Cheers
    Florian
    Are you sure you want to
    Your message goes here
    Processing…
  • hello,
    I'm a college student from India and as our final year project we are building an android application which will work as a mobile client for OLAT.. we need some RESTful command's example. Florian Sir can you help us here?
    Are you sure you want to
    Your message goes here
    Processing…
  • Sorry, there is no english version. Do you use OLAT?
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • asdf \n
  • asdf \n
  • asdf \n
  • asdf \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

The LMS OLAT REST API and the OLAT mobile client The LMS OLAT REST API and the OLAT mobile client Presentation Transcript

  • REST API und Mobile Client für OLATUser Day 2010 Universität Hamburg - aktualisierte Version 17. November 2010 Florian Gnägi, frentix GmbH 1
  • Kurzprofil frentix GmbH Die Firma: Dienstleistungen: • E-Learning und Software Entwicklungs Spezialist • Über 10 Jahre Know-How in OLAT und E-Learning • Spin-Off der Universität Zürich • Gegründet 2006, GmbH • Privat gehalten und finanziert • 8 Mitarbeiter© Florian Gnägi, frentix GmbH http://www.frentix.com Produkte: Kunden: • Unternehmen • Spitäler / öffentliche Hand • Bildungsinstitutionen • Hochschulen und Schulen 2 © by frentix GmbH
  • Was ist denn ein REST API?© Florian Gnägi, frentix GmbH http://www.frentix.com OLAT die Lernplattform: Daten, Berechtigungen und Abläufe 3 © by frentix GmbH
  • Was ist denn ein REST API?© Florian Gnägi, frentix GmbH http://www.frentix.com OLAT die Lernplattform: Daten, Berechtigungen und Abläufe 3 © by frentix GmbH
  • Was ist denn ein REST API? ?© Florian Gnägi, frentix GmbH http://www.frentix.com OLAT die Neue Ideen auf dem Lernplattform: Nährboden von OLAT Daten, Berechtigungen entwickeln und Abläufe 3 © by frentix GmbH
  • Was ist denn ein REST API?© Florian Gnägi, frentix GmbH http://www.frentix.com OLAT die Neue Ideen auf dem Lernplattform: Nährboden von OLAT Daten, Berechtigungen entwickeln und Abläufe 3 © by frentix GmbH
  • Anwendungsfälle Erweiterungen z.B. JavaScript Programm mit optimierter Eingabemaske für Forum gemäss spezifischem didaktischen Vorgaben Anbindung z.B. Externe Schulverwaltungsapplikation die Benutzer, Gruppen und Kurse synchronisiert Integration z.B. Ein Unternehmensportal, das die Liste meiner Kurse anzeigt© Florian Gnägi, frentix GmbH http://www.frentix.com und einen direkten Zugang zum Kurs bietet (Single-Sign-On) Migration z.B. ein Skript um Moodle Kurse zu importieren, samt Forumsbeiträge und Testresultaten Andere Oberflächen z.B. ein Mobile Client für iPhone und Android 4 © by frentix GmbH
  • Konzepte und Erklärungen REST: Representational State Transfer API: Application Programming Interface HTTP: Hypertext Transfer Protokoll URL: Uniform Resource Locator Web Prinzipien voll ausschöpfen: Jedes Objekt hat eine URL als Adresse© Florian Gnägi, frentix GmbH http://www.frentix.com Manipulation der Objekte mit unabhängigen HTTP Methoden GET, PUT, POST, DELETE Mehrere Repräsentationen eines Objektes möglich, Content Negotiation: XML, JSON, HTML 5 © by frentix GmbH
  • Authentifizierung Login Service und Session Token Standard OLAT User Session mit Cookies X-OLAT-TOKEN ohne Cookie, im HTTP Header© Florian Gnägi, frentix GmbH http://www.frentix.com Umwandeln REST Session in OLAT Session Single Sign On 6 © by frentix GmbH
  • Aufrufbeispiel Login GET http://demo.olat.com/olat/restapi/auth/learner?password=test Content-Type: application/json Response: 200 Liste meiner Gruppen GET http://demo.olat.com/olat/restapi/groups Accept: application/json Response:200 Benutzer in Gruppe hinzufügen© Florian Gnägi, frentix GmbH http://www.frentix.com PUT http://demo.olat.com/olat/restapi/groups/{groupId}/users/{userId} Content-Type: application/json Response: 200 Kurs Aufruf mit Single Sign On: GET http://demo.com/olat/url/RepositoryEntry/{repoId}?X-OLAT-TOKEN={X-OLAT-TOKEN} Content-Type: text/html Response: 200 7 © by frentix GmbH
  • Implementierte Dienste • Authentifizierung / Login • Kurs • Benutzer • Autoren • Profil • Gruppen • Gruppen • Ressourcenordner • Portrait • Assessmentdaten • Gruppen • Kursbausteine • Konfiguration • Kursstruktur© Florian Gnägi, frentix GmbH http://www.frentix.com • Besitzer • Kurseditor • Teilnehmer • Publizieren • Forum • Kursdatenbank • Repository / Katalog • Benachrichtigungen • Einträge • Forum • Übersetzungsservice 8 © by frentix GmbH
  • Beispiel: mobile Client • 3 Monate Software Praktikum Michael Enz @ frentix GmbH • Sencha Touch Framework • HTML5 / CSS / JavaScript • Ziel Prototyp: Erfahrungen sammeln, Architekturkonzepte validieren • Deployment Varianten© Florian Gnägi, frentix GmbH http://www.frentix.com • Native iPhone / Android App • Installation als Web App in OLAT Installation • Lizenzierung auf User Basis oder Site License Basis • Release 1.0 für Q3 2011 geplant 9 © by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 10 Demo: Login© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 11 Demo: Home© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 12 Demo: Kontakte© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 13 Demo: Benachrichtigungen© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 14 Demo: Gruppen© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 15 Demo: Forum© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com 16 Demo: Kurse© by frentix GmbH
  • © Florian Gnägi, frentix GmbH http://www.frentix.com φρην ("phren"): Altgriechisch, wörtlich das Zwerchfell. Im antiken Griechenland hielt man das Zwerchfell für den Sitz der Seele. frentix GmbH - Hardturmstrasse 76 - 8005 Zürich - www.frentix.com 17 © by frentix GmbH