开发者

How to port a PostgreSQl database to Google App engine

开发者 https://www.devze.com 2023-02-01 13:50 出处:网络
i am currently doing a project as one of my university projects and it uses Google maps and right now i am using a postgresql database which is on my localhost but i want to host it some where else i

i am currently doing a project as one of my university projects and it uses Google maps and right now i am using a postgresql database which is on my localhost but i want to host it some where else i couldn't find any free hosting for postgres and i don't know whether i can use Google App engine or Fusion tables to do it. i am using postgres and php to manipulate data and generate KML files. Google Maps V3 javascript API as the front end 开发者_开发知识库 any suggestions ?

Thanks !!


PHP is one of the most requested features, but it is not yet supported in GAE, so your PHP code is useless. In the future, hosted SQL databases seem to be part of Google plans to provide "Enterprise features" in GAE, stay tuned because that could simplify what you need to do.

Currently, in case that:

  1. your site is implemented as a Java EE or Python web appliaction
  2. you are already using JPA/JDO (only in the Java EE case)
  3. you are not doing JOIN statements (not supported in GAE)

Or even if your service/dao layers are already well isolated, it would be possible to host your "denormalized" database (it would not be a postgres service) and your frontend in GAE without too much effort.

0

精彩评论

暂无评论...
验证码 换一张
取 消