I have already created a REST API w/ the Slim framework (php microframework), which is basically a few php files in a ftp server, and a SQL table.
I want to implement this very simple configuration with Google Api Engine, and there's so much resources and confusing pages in the google tutorials I can't seem to find what I'm looking for...
Can someone steer me to the right direction please ? Again, just a few php files (w/ Slim) and a sql database, that's it.
Thank you very much.
If I were you I would begin with the PHP tutorial for Google App Engine, that you can find here 1.
Try to deploy your existing app there, but be aware that the PHP runtime is still in Beta. Also your app will execute in a restricted "sandbox" environment 2.
Hope it helps.
Related
I'm using some open source code to launch a game. The game is old, around 11yrs. It is a tick based web based game. It's written in php and using MySQL. Basically I want to port this game to ios, instead of using uiwebview I want to build native controls.
I know that it's bad practice to communicate directly with MySQL from an ios app. So what I want to do is add a RESTful API. I'm new to this and have scoured google for answers, does anyone have any pointers of where to start when adding an API to an existing site? It's quite a complex structure.
Thanks.
Paul.
My suggestion is using a framework that is guided towards building an API. I use Slim Framework for my API back end and it's pretty easy to use. If you create a separate URL for this API or include directly into the PHP project as a class it could work.
Some tutorials to get you started are
Say Hello World with Slim
RESTful services with jQuery, PHP and the Slim Framework
Writing a RESTful Web Service with Slim
Hope this helps,
Wes
I've made my entire site using the Codeigniter framework, and it is working well without any hassles (Note I'm using MySQL in the website).
I've been told now to try and get it on to the Google servers as they are excellent for scalability. I just have one huge problem, is there any way or step by step tutorial that helps me do this as I've read up on Quercus which allows for the php to run but I haven't found something explaining how to use the Codeigniter framework with the Quercus.
Please any help or push in the right direction would be appreciated!
We announced Native PHP support for Google App Engine at I/O.
https://developers.google.com/appengine/docs/php/
After Google announced native PHP support I decided to deploy CodeIgniter on Google App Engine. It works natively, tough certain extensions to the core must be done in order to use PHP Runtime API.
I've started writing a series of articles you might want to check out which document and clarify the process of deploying CodeIgniter natively.
http://blog.programming4design.com/codeigniter-on-google-appengine-for-php/
PHP is being added natively to App Engine, maybe this year, but I'm not sure when. The App Engine Team announced this on the parntership event at Paris last week.
CodeIgniter works fine on Google App Engine's PHP.
Working Demo at : http://ci-on-gae.sasidhar.com/
Source files for the entire above demo site are in Github at : https://github.com/sasidhar/codeigniter-gae-app
I was wondering whether it's possible to install a phpbb instance to Google App Engine since I saw this: https://developers.google.com/cloud-sql/ and this: http://php-apps.appspot.com/
Standing up a phpBB instance on Google App Engine and Cloud SQL.
They seem to have done it. I am trying to look for a Youtube tutorial.
I am not that expert but as far as I know GAE is not natively designed for PHP.
You can definitely use this instruction as a basis on How to Add phpBB with Jelastic service. The given instruction seems to present a pretty easy start.
Yes, it's possible -- see: http://fredsa.allen-sauer.com/2013/07/standing-up-phpbb-instance-on-google.html
(App Engine now has a PHP runtime: https://developers.google.com/appengine/docs/php/).
Maybe. It's hard to say. It's possible to run SQL as well as PHP via Quercus (JVM). The limitations you'll run into are if phpBB depends on any specific behavior that App Engine does not support, such as native filesystem access. I haven't heard of anyone trying phpBB on GAE before, so if you took a shot at it, you'd be blazing a trail!
I am trying to integrate webconnecter and my own website for automatically syncing from website to quickbook software..
I am trying keith parmer's webconnecter and his php dev' kit.But I think I need to create a web service with C# ,to connect each other..
(I am not fluent in C#.
I need a solve only from PHP..)
these are my references
http://www.consolibyte.com/wiki/doku.php?id=quickbooks
and
http://developer.intuit.com/qbSDK-current/doc/PDF/QBWC_proguide.pdf
I think I am confusing through the lot of codes and reference guides...
Please some one help me to reach to the correct path.
Download the QuickBooks PHP DevKit, and follow the quick start guide.
When you have questions, use the support forums:
https://idnforums.intuit.com/categories.aspx?catid=56&entercat=y
http://consolibyte.com/forum/
You might want to try the search too. There's like 100 other threads about QuickBooks and PHP out there already, and Google provides a ton of QuickBooks PHP search results.
I have made a site which can pull and upload videos from and to YouTube,
http://www.tole-rants.com/
This site was made with the combination of Python, Google App Engine and YouTube API. It is hosted at Google App Engine. I did not code the main structure of this application bcos I don't speak Python so I was made with a Python programmer. However, we found that this application has been causing lot of problems, especially on uploading videos.
Now I hope I can code the entire site myself with PHP - is it possible?
Another big question - do I have to host this site on Google's?? Can I just host this site on a normal/ standard server which I normally do when I develop a website?
I have read the documentation about YouTube API for developers, but I still cannot get my head around if I want to make this site from scratch with PHP.
It seems to suggest that using a PHP framework - Zend Framework, which I have no clues about it - do I really have to use a PHP framework then?
Any thoughts/ better suggestions or any online tutorials/ books I can follow through?
Many thanks,
Lau
No you dont have to host it on Google's. You can host it anywhere. And you don't need to use the Zend Framework. What they are suggesting is that you use the Zend framework's GData library to communicate with YouTube API. But you wouldnt even need that. YouTube Data API documentation is complete with examples. I am sure it will help you. But ofcourse if you have some specific questions you can ask them here.