Is there a PHP API for writing to the Datastore?

104 views
Skip to first unread message

Nooby

unread,
Jun 25, 2014, 2:22:33 PM6/25/14
to google-a...@googlegroups.com
Hello,

I was wondering if there is any PHP documentation about writing to the datastore? I know PHP is experimental at this stage. So is this something that will be available in the future?

Having written websites in PHP, it is the language that makes most sense to me writing an app engine app. I have got as far as letting the user upload an image to the blobstore. Now I need to store the list of images in datastorage. (I don't want to use Cloud SQL because firstly it's not scalable and secondly there is no free quota).

Thanks.
Message has been deleted

Vinny P

unread,
Jul 9, 2014, 1:40:29 AM7/9/14
to google-a...@googlegroups.com
On Wed, Jun 25, 2014 at 1:22 PM, Nooby <pauland...@gmail.com> wrote:
I was wondering if there is any PHP documentation about writing to the datastore? I know PHP is experimental at this stage. So is this something that will be available in the future?

I don't want to use Cloud SQL because firstly it's not scalable


There's no native access to the datastore at this point, but you can use the datastore via the Cloud Datastore service: https://gae-php-tips.appspot.com/2013/12/23/getting-started-with-the-cloud-datastore-on-php-app-engine/ . Note that this is a paid service though. 

Also, Cloud SQL is quite scalable and very usable for applications large and small. You should consider using it. 
 
 
-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

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

Marcel Manz

unread,
Jul 9, 2014, 3:17:08 PM7/9/14
to google-a...@googlegroups.com
Hi

Please vote/star for the following issue: https://code.google.com/p/googleappengine/issues/detail?id=9931

It's marked 'started' by Google since January 2014. Was hoping they would come out with native Datastore Access from PHP at Google IO, but unfortunately not. Hopefully they will release this soon, as we're holding back with php projects on App Engine until this is natively supported.

Br
Marcel

Tom Walder

unread,
Jan 13, 2015, 8:46:22 AM1/13/15
to google-a...@googlegroups.com
I've just released a library that sits on top of the Google PHP API client.

It makes reading and writing with Datastore much easier (I hope).

Check it out - it might help you if you're still looking.

Anthony Shapley

unread,
Jan 14, 2015, 3:40:44 AM1/14/15
to google-a...@googlegroups.com
Hi Tom,

This looks like a fantastic contribution for any PHP App Engine developers, I for one have been looking for an easier solution to write to datastore from PHP and I thank you for creating and sharing this. I will most certainly have a play with it.

Thanks
Ant

Kind Regards,
Anthony Shapley

Follow me on TwitterFacebook or Google+. Visit the website to see our work.


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, 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.

Tom Walder

unread,
Jan 14, 2015, 5:28:42 AM1/14/15
to google-a...@googlegroups.com
No problem - I hope it works for you.

Feedback appreciated - enhancement requests / comments / whatever!

Feel free to give me some love on twitter (@tom_walder) / github

Enjoy!

Tom




--
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/gDD4vNKyFHo/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.



--
Tom Walder, CTO
Call: 0845 521 0444 / Webwww.docnet.nu
This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Doctor Net Limited t/a Docnet is a company registered in England and Wales. Registered number: 3303804. Registered office: Speakers House, 39 Deansgate, Manchester, M3 2BA
Reply all
Reply to author
Forward
0 new messages