<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>朱俊独立博客 &#187; SAE</title>
	<atom:link href="http://www.zhujun.org/tag/sae/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhujun.org</link>
	<description>邪恶获得胜利的唯一条件，就是善良的人们保持沉默。</description>
	<lastBuildDate>Sun, 05 Feb 2012 06:34:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SAE (Sina App Engine) 初体验</title>
		<link>http://www.zhujun.org/web/sina-app-engine-experience/</link>
		<comments>http://www.zhujun.org/web/sina-app-engine-experience/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 16:13:01 +0000</pubDate>
		<dc:creator>朱俊</dc:creator>
				<category><![CDATA[网络开发]]></category>
		<category><![CDATA[SAE]]></category>
		<category><![CDATA[Sina App Engine]]></category>

		<guid isPermaLink="false">http://www.zhujun.org/?p=108</guid>
		<description><![CDATA[SAE - Sina App Engine（新浪应用引擎，新浪开放式云计算平台）的初次试用体验。]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="/wp-content/uploads/2010/02/sina-app-engine-logo.gif" alt="Sina App Engine Logo" />今天在群里听到Sina App Engine (SAE &#8211; 新浪应用引擎) 进入Alpha2内测阶段，并开放了<a href="http://sae.sina.com.cn/?m=inviterequest" rel="external nofollow">邀请码的申请页面</a>。很好奇SAE和GAE (Google App Engine) 会有什么不同，于是去申请了一下。</p>
<p>SAE博客上有些童鞋留言说一直没有收到邀请码，而新浪官方也表示这周将只发放500个邀请码（每天100个），也许是我人品好，晚上8点左右就顺利收到了邀请码。</p>
<p class="b4list">注册帐号后，稍微研究了一下，发现除去那些大同小异的云计算平台的介绍，SAE和GAE技术上最大的区别是：</p>
<ul>
<li>Sina App Engine支持主流的PHP5+MySQL，基于LAMP架构。</li>
<li>Google App Engine原先仅支持Python，数据库也比较难用。</li>
</ul>
<p><span id="more-108"></span></p>
<h3>SAE提供了Windows和Mac/Linux下的SDK工具</h3>
<p>直接用SDK工具创建APP版本、应用目录和上传/下载文件：<br />
<img src="/wp-content/uploads/2010/02/sina-app-engine-sdk.png" alt="Sina App Engine SDK Windows Version" /></p>
<h3>SAE用Nginx来实现负载均衡</h3>
<p>创建了第一个应用<a href="http://fish.sinaapp.com" rel="external nofollow">fish.sinaapp.com</a>，还没想好做什么用，phpinfo不能执行，试一下curl命令，看看文件头。<br />
<code class="command">curl -I http://fish.sinaapp.com/</code><br />
结果如下：<br />
<code class="command">HTTP/1.1 200 OK<br />
Server: nginx/0.6.31<br />
Date: Wed, 03 Feb 2010 13:30:40 GMT<br />
Content-Type: text/html<br />
Content-Length: 151<br />
Last-Modified: Tue, 02 Feb 2010 02:34:25 GMT<br />
Connection: close<br />
Accept-Ranges: bytes</code>既然Sina App Engine 是基于LAMP的，可以推断出SAE前端采用Nginx来实现负载均衡。</p>
<h3>开放的平台需要开放的团队</h3>
<p class="b4list">在查看Sina App Engine的相关资料时，我发现SAE的开发团队非常开放：</p>
<ul>
<li>他们用WordPress而不是Sina自身的博客来搭建SAE的<a href="http://blog.sae.sina.com.cn/" rel="external nofollow">官方博客</a>。</li>
<li>他们用Google Docs做了Sina App Engine的<a href="http://docs.google.com/present/view?id=ajgggrps2brv_251hc227rd3" rel="external nofollow">Quick Guide</a></li>
<li>在演示文件里我发现了开发团队使用的是Chrome浏览器和搜狗输入法 <img src='http://www.zhujun.org/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </li>
</ul>
<p>中国的Web2.0和全世界最大的区别就是<strong>封闭</strong>，前一阵腾讯关闭了非常封闭的滔滔；而开心网至今没有公布API，用户不得不玩一些开心网自己开发的早已玩腻了的非常无聊的游戏。</p>
<p>目前Google App Engine在国内无法正常使用的情况下，希望Sina App Engine的团队能足够开放，为我们带来一个开放的平台，一款开放的产品。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhujun.org/web/sina-app-engine-experience/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

