2008年12月6日星期六

google都想干嘛

All about Google
View SlideShare presentation or Upload your own. (tags: google strategy)

2008年11月21日星期五

豆瓣猜

一直很喜欢豆瓣上的“豆瓣猜”这个功能,帮我找到了不少好书,最近我的豆瓣猜推荐的书中有《信息规则》《Programming Collective Intelligence》,都是最近看过的很棒的书,前者我在豆瓣上买到了二手书,后者则在网络上下到了电子版。有趣的是,《Programming Collective Intelligence》这本书是我在添加了哈耶克的《致命的自负》这本书后出现在我的豆瓣猜列表里面的。看过《致命的自负》这本书的人常常会去看 《Programming Collective Intelligence》吗。不会吧!!难道是因为两者都比较看重大众的智慧啊。

     这让我想起一个事情,在一家超市里,有一个有趣的现象:尿布和啤酒赫然摆在一起出售。但是这个奇怪的举措却使尿布和啤酒的销量双双增加了。这不是一个笑 话,而是发生在美国沃尔玛连锁店超市的真实案例,并一直为商家所津津乐道。原来,美国的妇女们经常会嘱咐她们的丈夫下班以后要为孩子买尿布。而丈夫在买完 尿布之后又要顺手买回自己爱喝的啤酒,因此啤酒和尿布在一起购买的机会还是很多的。听起来很好玩吧。

2008年11月11日星期二

facebook开发应注意的5个原则

  • Solve a real world problem that's inherently social. For an example, Cat pointed to GroupCard, which is an electronic version of those cards passed around the office for everyone to sign. 
  • "Flexibility," says a Facebook rep. Developers need to be able to "work fast tweaking your app in response to user feedback." Pro tip: Tweak even faster when Facebook tells you to, too.
  • Cat told us that about a fifth of the top 25 apps use Facebook Connect, which allows users to use their Facebook IDs on other Internet sites. Cat mentioned another app that functions mostly on user's iPhones. The point: It's probably good if your app helps Facebook extend its reach off Facebook.com.
  • Push the limits with user Notifications. Facebook tells us that realizing how well user notifications help an app grow with users is the main eureka moment contestants have after they start working with Facebook's internal developers.
  • Be marketable. That's the whole point of this. Each of the 25 finalists created a commercial for their app and Facebook pointed us to five of them in particular. Use these videos as a model for your own next year: Teach the PeopleGood Call SportsGroupCardRealGifts and vDream Racing.


  • 2008年11月4日星期二

    所有人和事都连到网络上

    今天上到sun公司的主页,查看了“关于我们”页面,一打开,赫然写着,“所有人和事都连到网络上”,不禁心有神往焉。
    sun公司早在20多年前就说过网络即电脑,而且一直为此努力着,对tcp/ip的支持,java技术的开发等等,都向着这个目标迈进。而这两年,云计算的不断发展,这个目标似乎不远了。而最近的物物互联更是让人激动。时移事易,拭目以待吧。

    2008年10月29日星期三

    gmail帐号现在即是openid

    如果你拥有一个雅虎的帐号,那你就拥有一个openid,如果你有一个微软的live帐号,那你很快就有一个openid,如果你有一个gmail的帐号,那你现在就有一个openid了
    有一个openid,你就可以免去每登录一个网站注册的麻烦事了,openid就是互联网的通行证,很高兴看到google的openid开始使用了

    2008年10月28日星期二

    雅虎Y!OS 1.0开放了

    今天雅虎Y!OS 1.0平台开放了,开发者可以通过Yahoo! Application Platform (YAP) , Yahoo! Social Platform (YSP) 和Yahoo! Query Language (YQL) 在雅虎的用户和工具上开发应用。
    (YSP):有一系列的REST的APIs可以访问用户的Profiles,Connections, Updates, Contacts and Status.
    (YQL):用像sql的语法一样去访问其他的web services数据 .
    (YAP):目前的版本包括
    - Developer hosted execution of applications with access to Yahoo's Social APIs and YQL;
    - Support for OpenSocial's JavaScript API; and
    - Support for server-side YML tags.

    2008年10月26日星期日

    facebook app的架构

    wakoopa发现软件

    今天发现一个有趣的网站,






    Did you know games are played the least on tuesday and the most on sunday? We do. Wakoopa knows software
    想知道星期二玩的最少的游戏和周日玩得最多的游戏吗,wakoopa知道,Wakoopa 对软件知道很多

    2008年10月21日星期二

    Android与社交

    商业周刊:摩托罗拉Android手机将突出社交功能

    "摩托罗拉Android手机重点强调社交网络功能,可以让用户很便捷的接入社交网络站点,比如Facebook、MySpace等。举个例子,这样的手机可以让用户直接从电话本里找到社交网络中的好友,并直接发送信息。"

    "行动迟缓就是给了对手机会。位于伦敦的INQ公司将于一个月内在英国和澳大利亚推出首款社交网络型智能手机INQ1。INQ1将Facebook功能和 地址本、摄像功能很好集成一起,预期于明年在美国推出。此外,诺基亚已经开始着手在高端手机中增强和其网络站点Ovi的互联。"

    2008年10月19日星期日

    facebook的iframe模式和fbml模式

    iframe canvas如何工作的:
    当一个用户访问http://apps.facebook.com/yourapp/somepage的时候,这个iframe可以这样访问,http://www.yourdomain.com/callbackurl/somepage?fb_sig_in_iframe=1&fb_sig_locale=en_US&fb_sig_time=1221720862.9318&fb_sig_api_key=48102584111d14a9c2e41dd28ea637d7&fb_sig=e656792696ae913c1fc34eeff2d79f75

    fb_sig系列的参数是facebook加给应用程序的一些需要用到的参数,在facebook app中有时候你需要用到一些社交性的内容比如姓名和个人照片,这些需要到facebook拿到的数据,这时候你就不能使用fbml而使用facebook的api并且你只能自己渲染它。













    那FBML canvas又是怎么工作的的呢?
    当一个用户访问http://apps.facebook.com/yourapp/canvaspage的时候,facebook并不立即返回一个响应,而是发送一个请求至你的app所在的服务器,他会发送一个HTTP POST到你的地址比如http://www.yourserver.com/callbackurl/canvaspage,fb_sig 参数就会放在POST里面,facebook希望得到的返回包含一些FBML,然后它把这些FBML解释成html发到用户的浏览器。这样,如果你需要显示一些社交内容比如名字和头像的话,就只需要使用像 and 这样的标签就可以了,不过如果你要得到的是像生日这类的数据,你还是需要使用api去获取。

    2008年10月17日星期五

    Shindig的几个部分

    Shindig 可以分成以下几个部分

    • Gadget Container JavaScript -- core JavaScript foundation for general gadget functionality (read more about gadget functionality). This JavaScript manages security, communication, UI layout, and feature extensions, such as the OpenSocial API.

    • Gadget Server -- an open source version of gmodules.com, which is used to render the gadget xml into JavaScript and HTML for the container to expose via the container JavaScript.

    • OpenSocial Container JavaScript -- JavaScript environment that sits on top of the Gadget Container JS and provides OpenSocial specific functionality (profiles, friends, activities).

    • OpenSocial Gateway Server -- an open source implementation of the server interface to container-specific information, including the OpenSocial REST APIs, with clear extension points so others can connect it to their own backends.

    shindig搭Opensocial容器

    第一步:下载shindig
    [bash] cd /cygdrive/c/www 
    [bash] svn export \ 
              http://svn.apache.org/repos/asf/incubator/shindig/trunk/ 
    [bash] mv trunk shindig

    第二步:配置httpd.conf
    # shindig 
      
        DocumentRoot "C:/www/shindig/php"  
        ServerName shindig.mshome.net 
        ErrorLog "logs/shindig.log"  
        CustomLog "logs/shindig-access.log" common 
         
             Options FollowSymLinks 
             AllowOverride FileInfo 
             Order Allow,Deny 
             Allow from all 
       
     
    第三步:配置httpd.conf

    Make sure that mod_rewrite is also enabled in your web server. Check if you have the following line in the Apache’s configuration file httpd.conf:

    LoadModule rewrite_module modules/mod_rewrite.so

    第四步:ok,打开下面链接可以看到访问成功

    http://localhost/gadgets/ifrurl=http://www.labpixies.com/campaigns/todo/todo.xml

    2008年10月16日星期四

    新的iGoogle

    新的iGoogle减少了分页(也许是用户懒得去翻页),所有内容都可以一次打开
    新增了canvas view:an expanded view of a single gadget inside of iGoogle

    It's all About the Canvas
    Google is clearly positioning iGoogle as a one-stop resource for all Google products. So far, it shared its fate with most other similar services like Netvibes. It was a good homepage for your browser, but the gadgets and widgets on the site didn't provide enough functionality to keep you coming back during the day. Now, iGoogle is basically becoming an interface to the rest of Google's product line and has instantly become far more useful.


    "Canvas view allows developers to deliver richer content, games, and UI to users on iGoogle as well as the opportunity to monetize. "

    "In addition to canvas view, we’re also replacing the tab interface with the left navigation seen in the sandbox. This allows users to jump from one canvas view to another with only one click. Going forward, we're working hard to graduate more functionality out of the sandbox and into production, such as OpenSocial."