是否可以在google app引擎上部署cakephp应用程序? [英] Is it possible to deploy cakephp applications on google app engine?

查看:141
本文介绍了是否可以在google app引擎上部署cakephp应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近读过,可以使用Quercus在Google App Engine上部署php应用程式。

I recently read that php applications can be deployed on Google App Engine using Quercus.

是否也可以部署cakephp应用程式?
此外,从开发人员的角度来看,在为云和其他客户端服务器系统开发应用程序之间有什么区别吗?

Is it possible to deploy cakephp applications too? Also, from the developers point of view, is there any difference between developing applications for cloud and for other client sever systems?

我是一个新手,没有太多关于这一切的知识。

I am a novice and do not have much knowledge about all this. So, any kind of help will be appreciated.

提前感谢。

推荐答案

虽然您可以在GAE上使用Quercus运行PHP应用程序,但让典型的CakePHP应用程序工作可能是一种沮丧的做法。据我所知,没有针对GAE的数据存储的PDO驱动程序,因此您必须编写自己的CakePHP DataSource。此外,GAE不支持文件系统访问,因此您在Cake中认为理所当然的事情(例如文件系统支持的缓存)在GAE上无法正常工作。

While you can run PHP applications using Quercus on GAE, getting a typical CakePHP app to work might be an exercise in frustration. As far as I'm aware, there is no PDO driver for GAE's data store so you'd have to write your own CakePHP DataSource. Also, GAE does not support filesystem access, so things that you take for granted in Cake (such as filesystem-backed caching) won't work correctly on GAE.

如果您想要在云中运行CakePHP应用程序,您可以考虑使用正确支持PHP的服务(例如 RackSpace云 PHPFog PagodaBox ,等)。

If you want to run a CakePHP application "in the cloud", you might consider using a service that properly supports PHP (e.g. RackSpace Cloud, PHPFog, PagodaBox, etc).

传统托管应用程序的体系结构与一个真正的云应用程序,特别是云应用程序旨在水平缩放的事实。这是一个复杂的话题,因此我建议您对自己的云应用架构进行一些研究,以熟悉这些概念。

Speaking to your add-on question, the architecture of a traditional hosted application is slightly different than a true "cloud application", specifically the fact that cloud applications are designed to scale horizontally. This is a complex topic in and of itself, so I would suggest doing some research on your own about cloud application architecture to familiarize yourself with the concepts.

这篇关于是否可以在google app引擎上部署cakephp应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆