简体   繁体   English

Google Cloud Endpoints工作流程

[英]Google Cloud Endpoints workflow

为什么Cloud Endpoints工作流程需要先编写后端然后生成客户端库,而不是先为客户端层编写CRUD,然后为客户端上的CRUD操作生成云存根?

I had the same problem than you when I started Google Cloud Endpoints with Android. 使用Android启动Google Cloud Endpoints时,我遇到了与您相同的问题。

First , you have to write CRUD classes and endpoints methods on your App Engine Backend. 首先 ,您必须在App Engine后端上编写CRUD类和终结点方法。 This amazing website explain you how to do that : http://rominirani.com/2014/01/13/google-cloud-endpoints-tutorial-part-2/ 这个惊人的网站向您说明了如何操作: http : //rominirani.com/2014/01/13/google-cloud-endpoints-tutorial-part-2/

Then , you can generate the client librairies for your android app: http://rominirani.com/2014/01/16/google-cloud-endpoints-tutorial-part-3/ 然后 ,您可以为您的android应用生成客户端库: http ://rominirani.com/2014/01/16/google-cloud-endpoints-tutorial-part-3/

Hope that will help you ! 希望对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM