发新话题
打印

Google App Engine (App Engine)

Google App Engine (App Engine)

什么是Google App Engine?

What Is Google App Engine?
Google App Engine lets you run your web applications on Google's infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.


Google App Engine enables you to build web applications on the same scalable systems that power Google applications.
A free account can use up to 500MB of persistent storage and enough CPU and bandwidth for about 5 million page views a month.
Google App Engine provides a fully-integrated application environment.

Google App Engine makes it easy to build scalable applications that grow from one user to millions of users without infrastructure headaches.

Google App Engine General Questions FAQ

TOP

google开放程序引擎

App Engine——给Web开发人员提供的托管平台。

App Engine和AWS的服务比较不完全相同,Amazon发布的是一套独立的服务,你可以使用它们创造一个通用计算平台,这些服务可以共同工作,但并不绑在一起。



App Engine则几乎是一个Web应用引擎。将很多类似AWS在独立包中提供的功能绑到一起:类似S3的存储功能,类似EC2的自扩展和处理能力,以及类似 SimpleDB的数据库功能。App Engine同时还提供一些AWS没有的能力比如Python环境、Google API,以及有可能的部分免费服务。App Engine更像是其他一些Web平台服务

App Engine针对应用可以提供自扩展和故障恢复的能力。全球配置设定则提供了认证、分析和对Google服务API的访问。还有可下载的SDK,能够进行本地开发和调试。本地开发的应用移到Web上只需要一条命令。

所有的应用将会在appspot.com域名下。每个开发人员目前有三个应用ID。应用上载后就是http://application-id.appspot.com。开发人员当然可以把自己的域名指过来。你可以在application gallery看到当前的一组应用

App Engine最初包括几个API。User API允许应用认证Google 帐户。Mail API允许应用发邮件——从开发人员注册的邮件地址发送。其他API则允许与数据库的交互以及从URL抓取内容。



该服务最开始是免费的,还提供500MB的存储空间以及针对每月5百万页的充足带宽和处理器能力。

现在Google App Engine 推出收费计划,让有更高要求的用户可选择。免费版的App Engine帐户只提供500MB空间,以及每月500万PV流量。而新的App Engine收费计划则允许用户购买额外的运算资源。具体的价格表如下:

* $0.10 - $0.12/CPU core小时
* $0.15 - $0.18/每月每GB空间
* $0.11 - $0.13/每GB输出带宽
* $0.09 - $0.11/每GB输入带宽

  这个收费计划将在今年晚些时候正式推出。此外,在数周内App Engine还将会提供两个新的API。一个是图像处理API,允许开发者在服务器里缩放、旋转及修剪图片;另一个是缓存API,可令网页更快地渲染。


Google App Engine 视频 http://player.youku.com/player.php/sid/XMjM3MTc1MzI=/v.swf

TOP

app engine 目前只支持一种语言Python

Python并不是一种新兴的语言,1991年就已经出现。
Python就是由Google支持的语言,Python的创始人现在就在Google工作,Google新推出的Google App Engine现在只支持一种语言,那就是Python. Google主要是的三种语言是C++, Java, Python.
Python擅长于Scripting,则可以帮助你做一些工作中的小事情特别是数据处理什么的。从平台来说,.Net 上有IronPython,Java上有Jython。我在一家世界顶级投行工作,Python和Perl是我们现在能在产品中使用的唯一两种动态语言,而Python的可读性是它最大的长处,当然要大大好于Perl.
Shell脚本的跨平台性不好,也不适合开发开发较复杂的程序。Perl号称只能写,不能读的语言。Ruby的好的应用还是太少(只有Rails),不如Python成熟。

TOP

google app 注册地址:http://appengine.google.com

Google App Engine开放了注册,之前网上早有消息,但称需有日本美国加拿大三地的手机才可注册。
今天试了一下,中国国内手机也可注册(我是移动手机),这项服务的国内业务是由腾讯支持的。



注册地址:
http://appengine.google.com/

国家列表选择Other

然后输入你的手机号

例如+86 12888888888

马上就会收到确认码,来自106675580286

Google App Engine Code:8888888(七位数字)

cnbeta消息

TOP

简单搭建Google App Engine平台

简单搭建Google App Engine平台,菜鸟也来玩Google App Engine

作者 :benben
简单搭建Google App Engine平台以及上传“Love yuanding”项目。前几天开通了Google App Engine,今天终于有时间来研究下。搭建环境>上传案例

前几天开通了Google App Engine,今天终于有时间来研究下。搭建环境>上传案例

搭建环境及配置
  1. 安装Python 。下载对应版本并安装,Windows用户下载Python 2.5.2 Windows installer
  2. 安装Google App Engine 。下载对应版本并安装,Windows用户下载GoogleAppEngine_1.1.0.msi
  3. 打开桌面“Google App Engine”链接,新建一个cmd快捷方式,在起始位置里填入Google App Engine 的安装位置,默认是"Crogram FilesGooglegoogle_appengine"。

“Hello World”修改及上传
  1. 打开“google_appengine/new_project_template”,修改“app.yaml”里的application为你申请的Google App Engine ID。
  2. 运行刚建立的cmd,输入“appcfg.py update new_project_template/”,输入Google帐号和密码,上传项目。
  1. Crogram FilesGooglegoogle_appengine>appcfg.py update new_project_template/
  2. Email: ***@gmail.com
  3. Password for ***@gmail.com:
  4. Saving authentication cookies to Hocuments and SettingsAdministrator/.appcfg
  5. _cookies
  6. Scanning files on local disk.
  7. Initiating update.
  8. Cloning 1 application file.
  9. Closing update.


然后就可以访问你Google App Engine了,不出意外的话你可以看到“Hello World&rdquo。


TOP

发新话题