Sharing a model through non-API applications

Can I use the model through other applications? if possible how to do it.

Yes, perhaps we can implement an API for these applications. But if applications can share their models with each other without any external libraries, it would be cool :-)

0
google-app-engine google-cloud-datastore
source share
2 answers

You could expand your definition of "other applications" in the original question to include other versions of the same application (where these versions are really your "other applications"). If so, then this may be possible by deploying each of your “other applications” as a different version of the same application. Therefore, they should be able to use the same data warehouse. I have not tried this myself yet, but from what I read it should be possible. Maybe get more information if anyone posts here , or if I eventually try to do this, I'll let you know.

Update: I tried this and it works, but with one minor and possibly important issue. The small problem is that you need to develop a way to duplicate the same data model in two applications (or at least as much as you need). The big problem is that the data stored in one application may not be available for another application for some time, and this amount of time depends on where / how you deploy.

+1
source share

There is no ( yet? ) For opening an application its data warehouse for other applications, if that is what you mean.

You will need to go through the HTTP interface (which can probably be obtained directly from the model classes and, thus, shared). remote_api standardizes this somewhat.

+1
source share

All Articles