rest drupal and android through...drupal 8 developer at md systems cto at hubbing.net @yongt9412....

Post on 28-Jun-2020

28 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

drupalmountaincamp.ch

DRUPAL AND ANDROID THROUGH REST

QUICK INTEGRATION

John Gustavo Choque Condori Drupal 8 Developer at MD Systems

CTO at Hubbing.net@yongt9412

Introduction

OverviewWhat we gonna talk about?

1

Existing approaches2

Drupal side3

Android side4

Small details5

Demo6

Where does this come from?

Introduction

How did I come up with this talk?Some short background

What tools to use?And why?

Our target usersFinal decision

Drupalfithttps://github.com/yongjhih/drupalfit

DRUPAL 8

TESTS

UPDATESFLEXIBLEAPI

Simple Drupal 8 Loginhttps://github.com/itech-planet/Simple-Drupal-8-Login-for-Android

DRUPAL 8

TESTS

UPDATESFLEXIBLEAPI

So many attemptsEither failed or outdated

https://github.com/ajinkyakulkarni/DrupalAndroidApp

https://github.com/voidberg-archive/DrupalDroid

What was next?

Configuration

Drupalside

REST moduleshttps://www.drupal.org/docs/8/core/modules/rest/overview

HTTP Basic authenticationhttps://www.drupal.org/docs/8/core/modules/basic_auth/overview

REST UIhttps://www.drupal.org/project/restui

REST UIadmin/config/services/rest

Configuration

Androidside

To think aboutHow do we, Drupal people, need to think of this?

POJO

RetrofitA type-safe HTTP client for Android and Java

LATEST VERSION

MINIMUM ANDROID

GITHUB

31K2.5.0 2.3

SharedPreferencesAndroid concepts

Activity != FragmentAndroid concepts

Plain and simple

Simple Android App

Plain and simple

Simple Android App

With more code than it should

Demo

To consider

Smalldetails

Base 64Android version

Base 64Android version

Useful LinksLast but not least

https://www.drupal.org/docs/8/core/modules/rest

https://www.drupal.org/project/restui

https://belitsoft.com/apps-development-services/responsi

ve-website-vs-mobile-app

https://github.com/yongt9412/Drupidroid

I would like to thank to MD Systems for all their support.

Q&A

Thank you

top related