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

查看:28
本文介绍了是否可以在谷歌应用引擎上部署 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 数据源.此外,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 云PHPFogPagodaBox 等).

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.

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

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