Saturday March 23rd I attended an interactive Google Lab @ Codemotion 2013 in Rome held by Alfredo Morresi about the Google Cloud Endpoints. This is a new feature for Google App Engine (GAE). It consists of tools, libraries and capabilities that allow you to generate Endpoints and client libraries from an App Engine backend to simplify client access to that web app. Endpoints makes it easier to create a web backend for web clients and mobile clients such as Android or Apple's iOS. Mobile developers will spare a lot of time and work while developing shared backends for their apps and benefit from all the services and features provided by the GAE infrastructure. The figure below shows the basic Endpoints architecture:
The backend is an App Engine application that performs business logic and other functions for Android and iOS clients, as well as JavaScript web clients. The functionality of the backend is made available to clients through Endpoints, which exposes an API that clients can call.
The development process is very easy. You need the Google App Engine Java SDK 1.7.5 or later or the Eclipse plugin which includes the SDK itself. The general workflow is the following:
In the next post I will show you a real example and how it's really easy to implement an Endpoint and generate the client consumer code.
The backend is an App Engine application that performs business logic and other functions for Android and iOS clients, as well as JavaScript web clients. The functionality of the backend is made available to clients through Endpoints, which exposes an API that clients can call.
The development process is very easy. You need the Google App Engine Java SDK 1.7.5 or later or the Eclipse plugin which includes the SDK itself. The general workflow is the following:
- Write your App Engine backend code as usual.
- Annotate your App Engine backend code, so classes and client libraries can be generated from it.
- Generate the client library using the Google Plugin for Eclipse.
- Write your client app, using the client library when making calls to the App Engine backend via the Endpoint.
In the next post I will show you a real example and how it's really easy to implement an Endpoint and generate the client consumer code.
Comments
Post a Comment