I want to use Google App Engine for the static data for my Joomla website. I want to host all the CSS and JS files on App Engine.
Joomla is written using PHP.
By default Google App Engine only supports applications written in Python, and in the future Java. See Google App Engine FAQ so PHP is not natively supported.
There is a way to run PHP on Google App Engine however by using a Java Virtual Machine named Quercus. Your biggest issue will be that it will require large amounts of modification to Joomla's source code with the change to using GQL instead of SQL.
Source: http://www.phpclasses.org/blog/post/92-Running-PHP-on-Google-App-Engine.html
Are you looking for ways to easily scale your Joomla installation?
Google App Engine now supports PHP. Hence, you can run Joomla!.
See this link.
Related
I have a question about web and native app development and integrating multiple frameworks.
I currently have a web app (html 5, css, js/jquery, php, mysql) and want to make available as a native app on Android and iOS. It uses Yii framework and I was thinking about using Netbeans IDE and Apache Cordova to make the conversion. How do I go about this? Can someone supply some links or an explanation to clear things up for me?
If you have a different method you'd like to recommend instead of Cordova, I'd appreciate that too. Please provide why you prefer that method though.
I've seen plenty of information on this forum and the web that explains this process, but non with Yii in mind.
Thank you for all and any help!
I had the same issue. since we have decided to drop the native app and use an html5 website design i picked, Yii+backbone.js .
in your case, if you plan on building a native app, the backend ( PHP or Yii in your case ) will not be used as a smart web server , because you will use a JS framework.
Known and well loved and used frameworks are:
angular.js
backbone.js
knockout.js
ember.js
Keep in mind, php is a server side language. Its not client based. Yii could serve as a backend providing the data thats all. When you want to use cordova you need a client side framework like jquery mobile.
I'm working on some kind of a huge project using PHP which is a CRM and Smart Ticketing and Processing System for travel agencies and I'm planning to make it only available on chrome.
And I'm new to Chrome Extensions/Apps, But when i'm reading about creating extensions i surprised that i can create any html content with any JS codes included.
My questions are:
Can I include my application GUI with pure HTML && CSS && JavaScript in some extension and make it send/receive requests to my PHP-API Which already exist in my code since it's fully AJAX project?
And if this can be done; what do i have to create Google-Chrome-App or Google-Chrome-Extension And what is the difference between them and where to start reading about required solutions.
IF this can be done it will be perfect since the GUI elements (HTML, JS, CSS, Images, etc..) will be loaded from local store of each user/employee's machine and the only transferred data would be JSON requests.
Yes, you can create your GUI in pure HTML, CSS and JavaScript. This is actually the only way to make a GUI in Chrome extensions. Your PHP based API can certainly be accessed via an extension, if designed as a fairly typical client side accessible API.
Here's a brief description of Extensions and Packaged Apps:
Extensions are generally designed for augmenting the browser experience. For example, analyzing the pages the user is browsing and highlighting text. Chrome exposes several awesome APIs related to the browser and the browsing experience. However, it's just JavaScript, CSS and HTML, so it's definitely possible to take it a step further and create pretty much fully functional applications. However, there are no UI specific features in the Extension API that would make it easier to create a complex web app. This is not the purpose of Extensions. Look at the extension in the Chrome Web store to see some examples. Development documentation can be found here.
Chrome Packaged Apps allows you to develop a full blown desktop application using HTML, CSS and JavaScript. You can create complex applications with typical web technologies. This is a fairly new technology, but there's a lot of potential.
There is also the slightly confusing concept of a "Chrome App", which is really just a way to package a typical web application (or site) for display in the Chrome Web Store. This is not not really a development technology.
Keep in mind that Chrome Extensions and Packaged Apps are not drop-in UI frameworks for creating web apps. They are specific technologies for augmenting the browser experience and creating desktop-like apps, respectively.
For example, if you are creating Amazon.com you would not create the main website as an Extension or Packaged App. You would probably develop it using a typical web development stack and release it as a typical web site. Then, you might create a Chrome Extension that pops a window down in your Chrome browser and shows your recent orders, or that finds products on the Amazon store as you browse the internet, but you would probably not create the entire site as an extension.
With Packaged Apps you might create a desktop application that interacts with Amazon but this is really just a desktop application.
Yes of course this is possible but what you are making is a web application A chrome extension is literally a extension of chrome(which has to be installed) written in C or C++ (Just using javascript, html and css is possible). The handy thing about a web application is that it can be used (In every browser) without having to instal any extra components.
To be specific google has extensions and apps. With a specific chrome app you can do more than a regular web page. At first people would have to install the app and agree with the terms of use. this done you have more options in javascript which are normally forbidden for a casual webpage.
A extension is meant to add or change functionalities in chrome like adding your own video player extension to play avi or something like that. Not for building a web application.
If I where you just make a regular web application or create a chrome specific Packaged App.
In your case you are creating a private web application. If it is going to be used inside a lan you can just create a intranet and run your webapp there. If it has to be used global over the internet that you should just secure it with a login.
Or build a desktop application.
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 planning to create a facebook canvas app using php sdk.
Google app engine providing free account so I am planning to do it.
But still there is a problem , right now google app engine support only java and python.
Is there any way to run php and mysql in google app engine?
Okay, I am two years late, but from today PHP is officially available on Google App Engine.
PHP can't run natively on the App Engine. But, there is an open source tool called Quercus, a 100% Java implementation of the PHP language (requires JDK 1.5). Since the App Engine now supports Java this means you can use Quercus to run PHP scripts on the App Engine.
You can run PHP scripts on App Engine in the JVM with Quercus; however, it's still not possible to use mySQL; you'll need to use the App Engine datastore. This will require rewriting any code that touches a database, so existing PHP scripts aren't going to work without a lot of hacking.
Note: relational database support is on the App Engine roadmap, but no one knows exactly when it will be available, or whether the relational database made available will be mySQL.
Google App engine now supports PHP run time. Check official documentation here - https://developers.google.com/appengine/docs/php/
You can check this blog for details on announcement - http://spsneo.com/blog/2013/05/18/php-on-google-app-engine/
Quercus is not as good as running PHP natively and it has known issues. As i understand you are starting to create an application, so i suggest using Python in appengine. Its very easy to get started.
If you have LAMP based application in mind and if you do not want to learn a new language check out Amazon Beanstalk.
I suggest making a decision based on the strengths of the platform and flexibility you need.
Google has officially announced its support for PHP on Google App Engine (GAE)
How to host PHP web application on GAE for free is explained in this tutorial.