Cloud Backend for
Your Android App
- MBaaS on the Google Cloud -
from Google I/O 2013
https://developers.google.com/events/io/sessions/333508149
How about this.
13年7月2日火曜日
Do you have headache
Cloud Backend ?
13年7月2日火曜日
What’s Cloud Backend?
Android  や  iPhone  などスマートデバイスでは、アプリケーショ
ンはその上で動くことになるが、データやユーザ情報はクラウド  
(サーバーサイド)で管理する必要があります。
フロントエンドのスマートデバイスのアプリに対して、バックエ
ンドには、データストア/プッシュ通信/ユーザー管理/ソーシャル
連係などの機能を備えAPIを提供することで、サーバサイドのコー
ドを書くことなく、クラウドと連動するアプリを効率よく開発で
きる環境の提供が求められてます。
クラウドサービスとして  BaaS  (Backend  as  a  Service)/
MBaaS(Mobile  Backend  as  a  Service)とカテゴライズされて
いる。
13年7月2日火曜日
MBaaS(Mobile Backend as a Service)
DBPush
Auth SNS
iPhone
Android
Tablet
You do not need to
make these features.
MBaaS
API
API
API
13年7月2日火曜日
Back as a Service (BaaS) Ecosystem Map
13年7月2日火曜日
Mobile Backend Starter
13年7月2日火曜日
Mobile Backend Starter
No code, No headache Cloud Backend
Built on Google App Engine, Scales Amazingly
Google Auth Built in
Google Cloud Messaging (GCM)
Continuous Queries
from
http://commondatastorage.googleapis.com/io-2013/presentations/354%20-%20From%20Nothing%20to%20Nirvana
%20in%20minutes-%20Cloud%20Backend%20for%20your%20Android%20Application.pdf
13年7月2日火曜日
Mobile Backend Starter Architecture
13年7月2日火曜日
Mobile Backend Starter
Androidアプリの為のバックエンド/データストアをすぐに使用す
ることができます。バックエンドにアクセスする為のコードを記
述する必要はありません。フレームワークが提供されます。
App  Engine  と  Cloud  Endpoints  で構成されおり、Cloud  
Console  で  Deploy  することが出来きます。
13年7月2日火曜日
Cloud Endpoints Architecture
13年7月2日火曜日
Cloud Endpoints
Google  App  Engine  1.7.5  で追加された機能。
Cloud  Endpointsは、iOSやAndroidなどのスマートデバイスア
プリから、App  Engineのあらゆる機能(API含む)やストレージを
利用できるようになり、開発者にApp  Engine上でモバイル向け
アプリのバックエンド(ビジネスロジックなど)の開発にフォーカス
させることを目的としています。
App  Engineのアプリに対するエンドポイントのライブラリを生
成することが可能で、モバイルアプリからのアクセスを容易にし
てくれます。
*App  Engineのアプリは開発し、生成する必要があります!
13年7月2日火曜日
Mobile Backend Starter on Cloud Endpoints
Mobile  Backend  Starter  では、汎用的なMBaaSに必要な機能
を  App  Engine/Cloud  Datastore  で構築し、Cloud  Endpoint
を作成し、Android用のクライアントライブラリを作成する事が
できます。
13年7月2日火曜日
Mobile Backend Sample
The Mobile Backend sample consists of two
components:
• A ready-to-deploy Mobile Backend app
• An Android client that uses that backend
https://developers.google.com/cloud/samples/mbs/
13年7月2日火曜日
Getting Started
13年7月2日火曜日
Getting Started
13年7月2日火曜日
Getting Started
13年7月2日火曜日
Sample Client Application
Mobile Backend Libraliy
Mobile Backend Generated Source
13年7月2日火曜日
Generated Source
Model
Request
13年7月2日火曜日
Request Classes - Class Diagram
13年7月2日火曜日
Model Classes - Class Diagram
13年7月2日火曜日
Sample Apps Classes
13年7月2日火曜日
Sample Apps Classes - Class Diagram
サンプルをカスタマイズする事で簡単なアプリは作成する事が可
能です。
13年7月2日火曜日
Implements My Frontend Application
サンプルをカスタマイズする事で簡単なアプリは
作成する事が可能です。
ただし、Activity(画面)で表示している事が前提
の作りとなっているため、バックグラウンド
(Service)や通知(Notification)などを使用したア
プリの場合、工夫が必要です。
13年7月2日火曜日
Problems
Mobile Backend Starter is for Android.
• No Use Cross-Platform.
iOS, WP8, HTML5(JS), Rest API
• No Choice Auth.
Facebook, Twitter, etc.
Cloud Endpoints is Experimental
Google Cloud Endpoints is an experimental, innovative, and
rapidly changing new feature for Google App Engine.
Unfortunately, being on the bleeding edge means that we may
make backwards-incompatible changes to Google Cloud
13年7月2日火曜日
Links
• Android + Cloud with Mobile Backend Starter « TurboManage http://
goo.gl/TgydB
• Cloud Platform Blog: Get your mobile application backed by the cloud
with the Mobile Backend Starter - http://goo.gl/XOYI2
• Google takes on Parse with new service for mobile-app backends —
Tech News and Analysis http://goo.gl/26VBC
• Overview of Google Cloud Endpoints - Google App Engine — Google
Developers http://goo.gl/KPDoz
• Mobile Backend Starter - Google Cloud Platform — Google
Developers http://goo.gl/6c15Q
13年7月2日火曜日
Thank you.
• Did you think that it is useful?
• Still, it is not an official version, but let's use it.
13年7月2日火曜日

MBaaS on the Google Cloud - Mobile Backend Starter

  • 1.
    Cloud Backend for YourAndroid App - MBaaS on the Google Cloud - from Google I/O 2013 https://developers.google.com/events/io/sessions/333508149 How about this. 13年7月2日火曜日
  • 2.
    Do you haveheadache Cloud Backend ? 13年7月2日火曜日
  • 3.
    What’s Cloud Backend? Android や  iPhone  などスマートデバイスでは、アプリケーショ ンはその上で動くことになるが、データやユーザ情報はクラウド   (サーバーサイド)で管理する必要があります。 フロントエンドのスマートデバイスのアプリに対して、バックエ ンドには、データストア/プッシュ通信/ユーザー管理/ソーシャル 連係などの機能を備えAPIを提供することで、サーバサイドのコー ドを書くことなく、クラウドと連動するアプリを効率よく開発で きる環境の提供が求められてます。 クラウドサービスとして  BaaS  (Backend  as  a  Service)/ MBaaS(Mobile  Backend  as  a  Service)とカテゴライズされて いる。 13年7月2日火曜日
  • 4.
    MBaaS(Mobile Backend asa Service) DBPush Auth SNS iPhone Android Tablet You do not need to make these features. MBaaS API API API 13年7月2日火曜日
  • 5.
    Back as aService (BaaS) Ecosystem Map 13年7月2日火曜日
  • 6.
  • 7.
    Mobile Backend Starter Nocode, No headache Cloud Backend Built on Google App Engine, Scales Amazingly Google Auth Built in Google Cloud Messaging (GCM) Continuous Queries from http://commondatastorage.googleapis.com/io-2013/presentations/354%20-%20From%20Nothing%20to%20Nirvana %20in%20minutes-%20Cloud%20Backend%20for%20your%20Android%20Application.pdf 13年7月2日火曜日
  • 8.
    Mobile Backend StarterArchitecture 13年7月2日火曜日
  • 9.
  • 10.
  • 11.
    Cloud Endpoints Google  App Engine  1.7.5  で追加された機能。 Cloud  Endpointsは、iOSやAndroidなどのスマートデバイスア プリから、App  Engineのあらゆる機能(API含む)やストレージを 利用できるようになり、開発者にApp  Engine上でモバイル向け アプリのバックエンド(ビジネスロジックなど)の開発にフォーカス させることを目的としています。 App  Engineのアプリに対するエンドポイントのライブラリを生 成することが可能で、モバイルアプリからのアクセスを容易にし てくれます。 *App  Engineのアプリは開発し、生成する必要があります! 13年7月2日火曜日
  • 12.
    Mobile Backend Starteron Cloud Endpoints Mobile  Backend  Starter  では、汎用的なMBaaSに必要な機能 を  App  Engine/Cloud  Datastore  で構築し、Cloud  Endpoint を作成し、Android用のクライアントライブラリを作成する事が できます。 13年7月2日火曜日
  • 13.
    Mobile Backend Sample TheMobile Backend sample consists of two components: • A ready-to-deploy Mobile Backend app • An Android client that uses that backend https://developers.google.com/cloud/samples/mbs/ 13年7月2日火曜日
  • 14.
  • 15.
  • 16.
  • 17.
    Sample Client Application MobileBackend Libraliy Mobile Backend Generated Source 13年7月2日火曜日
  • 18.
  • 19.
    Request Classes -Class Diagram 13年7月2日火曜日
  • 20.
    Model Classes -Class Diagram 13年7月2日火曜日
  • 21.
  • 22.
    Sample Apps Classes- Class Diagram サンプルをカスタマイズする事で簡単なアプリは作成する事が可 能です。 13年7月2日火曜日
  • 23.
    Implements My FrontendApplication サンプルをカスタマイズする事で簡単なアプリは 作成する事が可能です。 ただし、Activity(画面)で表示している事が前提 の作りとなっているため、バックグラウンド (Service)や通知(Notification)などを使用したア プリの場合、工夫が必要です。 13年7月2日火曜日
  • 24.
    Problems Mobile Backend Starteris for Android. • No Use Cross-Platform. iOS, WP8, HTML5(JS), Rest API • No Choice Auth. Facebook, Twitter, etc. Cloud Endpoints is Experimental Google Cloud Endpoints is an experimental, innovative, and rapidly changing new feature for Google App Engine. Unfortunately, being on the bleeding edge means that we may make backwards-incompatible changes to Google Cloud 13年7月2日火曜日
  • 25.
    Links • Android +Cloud with Mobile Backend Starter « TurboManage http:// goo.gl/TgydB • Cloud Platform Blog: Get your mobile application backed by the cloud with the Mobile Backend Starter - http://goo.gl/XOYI2 • Google takes on Parse with new service for mobile-app backends — Tech News and Analysis http://goo.gl/26VBC • Overview of Google Cloud Endpoints - Google App Engine — Google Developers http://goo.gl/KPDoz • Mobile Backend Starter - Google Cloud Platform — Google Developers http://goo.gl/6c15Q 13年7月2日火曜日
  • 26.
    Thank you. • Didyou think that it is useful? • Still, it is not an official version, but let's use it. 13年7月2日火曜日