Search

4/22/2010

Fillano's Learning Notes | 用Google App Engine跑php

Fillano's Learning Notes | 用Google App Engine跑php


* Run PHP on the Google App Engine(額外的jar可以從他這裡下載)
* Quercus on the Google App Engine(他提供了php存取datastore的範例)
* Using the Datastore with JDO(Google的官方教學,上述的guestbook範例是從這裡來的)

上了resin的官網仔細看了一下,resin-4.0.0裡面可以找到resin.jar,這裡面就有GoogleQuercusServlet(如同 blog上說的)。另外測試了一下,建議使用resin.jar而不是quercus.jar + resin-util.jar + script-10.jar + jetty-util-6.1.0.jar這個solution。這樣使用foreach也不會出現錯誤訊息。

Fillano's Learning Notes | 實驗-用Google App Engine跑CodeIgniter
Quercus有一個很方便的地方,就是可以自己寫QuercusModule,QuercusModule的公有方法就會成為php函數。使用自訂的函數,配合Google App Engine的datastore服務,就有可能把datastore當作檔案系統來使用。

HM2K.com » Getting started with Quercus in Google App Engine
If you get this error:

java.lang.IllegalStateException: Found a jar file too large to upload: “…\WEB-INF\lib\resin.jar”. Consider using –enable_jar_splitting.

Using the suggested option fixed this, which looks like this:

C:\appengine-java-sdk\bin\appcfg.cmd --enable_jar_splitting update war

沒有留言: