is there any way to access data of another app better than rpc?

81 views
Skip to first unread message

saintthor

unread,
Mar 24, 2014, 12:27:48 PM3/24/14
to google-a...@googlegroups.com

use python.

Vinny P

unread,
Mar 26, 2014, 1:19:27 AM3/26/14
to google-a...@googlegroups.com
On Mon, Mar 24, 2014 at 11:27 AM, saintthor <sain...@gmail.com> wrote:
is there any way to access data of another app better than rpc?
use python.
 

Is there another way to access application data? Yes.
Is it better? Depends on what you define as better.

Can you detail your use case a bit more, and discuss why you're looking for an alternative to RPCs?
   
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

thor.djdq

unread,
Mar 26, 2014, 4:37:34 AM3/26/14
to google-a...@googlegroups.com
can you just show me the other ways?

i am considering a new app. there is no determined use case now. i would make up my mind after comparing all the ways.


--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/d_9D597_eQo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Vinny P

unread,
Mar 27, 2014, 2:47:13 AM3/27/14
to google-a...@googlegroups.com
On Wed, Mar 26, 2014 at 3:37 AM, thor.djdq <sain...@gmail.com> wrote:
can you just show me the other ways?
there is no determined use case now.


Choosing the best way to access data depends on the use case, so it would probably be better to figure out the use case first. Nevertheless, since you asked for alternatives:

1. Write a simple REST API to access and modify the app data. Probably the best solution since you can customize the API to emit and accept data using your preferred syntax (JSON or XML, etc). http://stackoverflow.com/questions/19357298/what-is-difference-between-web-service-and-rpc

2. Assuming the app you want to access is on App Engine, you can directly connect with the Remote API and use resources under the application's name: https://developers.google.com/appengine/docs/java/tools/remoteapi 

3. Again assuming the app is on App Engine, you can access the different persistent data services directly. For instance, the datastore can be accessed through the Cloud Datastore service: https://developers.google.com/datastore/docs/getstarted/start_java/ . The Cloud SQL and Cloud Storage services can also be accessed by different applications by whitelisting their IDs.

thor.djdq

unread,
Mar 28, 2014, 3:41:06 AM3/28/14
to google-a...@googlegroups.com
thank you. of course the apps are both on gae. i will try it.
Reply all
Reply to author
Forward
0 new messages