先看一张照片
http://www.felixwoo.com/wp-content/uploads/attachments/200803/24_013031_img_0179.jpg
  昨天在硅谷的Apple店看见这样一幕,一个衣衫褴褛又脏又臭的乞丐在苹果店里用Mac在上网,桌子下面扔着垃圾袋,真是叹为观止令人瞠目结舌。第一反应是感叹美国的乞丐真有文化。第二反应是苹果竟然不会把这样的乞丐扫地出门,这是何等的气度与胸怀。都说资本主义阶级分离阶层分化,但我眼前看到的确是面对大众人人平等,无论你是否有成为苹果消费者的潜力,苹果对待所有客户都是一视同仁的。那个乞丐可能会一直免费的享用苹果的服务,但是被这样的细节深深打动的人们会心甘情愿的成为拥有如此气魄公司的消费者。

第二节课主要是讲GI的事件,这部分比较抽象,因此用图形来说明问题。
http://www.felixwoo.com/wp-content/uploads/attachments/200803/19_060908_event.jpg

GI之父Luke每周的培训讲座是这次来美国难得的收获,把每节课的总结发表出来和大家分享。第一节课主要内容是GI的Box模型,因为要跟整个团队分享,所以用英文写的,大家凑合着看吧。

1, What is GI?
The definition of GI on TIBCO’s website is “TIBCO General Interface™ Builder is the award winning AJAX solution for rapidly building and easily deploying Rich Internet Applications (RIA), AJAX components and portlets that look and feel like desktop software.” Actually, this definition focuses on what GI can do but not what GI is. Technically speaking, GI is a client-side server which also has the Model, View and Controller as the same as server application. The general server application generates data for client side, but GI generates the data and page for browser. In fact, the core of GI is a Page Server which takes charge of rendering data and view for web browser.

2, Outside-In & Inside-Out
Different web browsers have different understanding on the same HTML and CSS. Generally, there are two types of HTML box model explaining, one is Outside-In, another one is Inside-Out. For example, the code <span style=”width:100;height:100;padding:10;border:10 solid”/> illustrate a box in the browser. In the Outside-In model, the real width and height are both 100, and the border and padding are painted inside the box. However, in the Inside-Out model, the real width and height of box are both 140. Because the Inside-Out model is document-centered, that is to say the content in the box possess the 100 width and height, and the padding and border are expanded outward by the content (See the picture below).

The Inside-Out model is friendly for content, but not easy for size controlling and not suitable for the web application. Therefore, GI chosen the Outside-In model. The problem is different browsers draw different boxes according to the same HTML code (e.g. IE6 is Outside-In, but IE7/8/Firefox are Inside-Out). So, what GI has to do is translating the box definition to make all the web browsers behave the same. For example, if you want to get a box with 100*100 dimension, 10px border and padding inside in Firefox. GI will generate <span style=”width:60;height:60;border:10 solid; padding:10;”> for Firefox, and “width:100;height:100″ for IE6.

http://www.felixwoo.com/wp-content/uploads/attachments/200803/19_060258_boxmodel.jpg

3, How is a GI box painted?
Every GI box model is extended from the object model which owns the basic property, such as id, name, etc. And the box model has some more properties which illustrate how the box looks like. Then, the GI will generate the HTML according to the box definition by executing paint method. Finally, the browser display the box on screen.
http://www.felixwoo.com/wp-content/uploads/attachments/200803/19_060358_boxmodel2.jpg

4, How does a GI box resize?
When the browser window size is changed, the outside parent block will notify the inside child block that “My size is changed, your space is also changed.” Then, the parent tell child how much space the child has. Finally, GI repaint the child according to the new size.

  昨天有幸参加了TIBCO 20周年庆典,庆典在旧金山的市政大厅举办。第一次感受比较上层次的美国生活,早在来美国前就被通知要带西装,穿便装是禁止入内的。TIBCO包下了整个市政大厅,排场相当宏大和奢华。整个庆典活动分成几个大厅,有蹦迪的,有吃自助的,有听现场音乐的,还有赌博的等等。另外,公司还请了很多画师和摄影师,可以免费画肖像画。总之,所有的娱乐全是免费的,据说整个活动花费30万美元,手笔确实不小。这个晚上,所有的人都放下了烦恼,尽情的享受音乐和美食,连CEO也在舞池里热情扭动,和其他人的区别只是他身边总有很多美女。Party一直持续到了晚上12点,见到了很多老朋友,结识了一些新朋友,吃饱了,玩累了,输光了,旧金山疯狂夜也结束了。这样的社交活动让我更加深入的了解的美国生活和文化,很庆幸我见证了20岁的TIBCO。

阅读全文

继Jesse之后,今天TIBCO UX组送走了另一位型男。Chuck Moore,UX组核心成员,两年内协助创立了TIBCO用户体验组,负责产品界面和用户交互设计,因其wireframe而相识。今天是他在公司的最后一天,告别午餐为他送行。David说Chuck离开对于公司损失很大,我对David说:Business is a while, friend is forever.
今天令人激动的是体验了David的敞篷奥迪TT,人生完整了。

http://www.felixwoo.com/wp-content/uploads/attachments/200803/07_073018_iphone.jpg
  先看看发布会的视频,给我一个你不为之震撼的理由。http://stream.qtv.apple.com/events/mar/rtp20e92/m_08770365506i_350_ref.mov
  SDK的发布意味着开发者可以自己开发iPhone的原生程序。可以利用iPhone的多点触摸、加速度感应、3D加速、多媒体和各种特性全面挖掘iPhone的潜在应用。看过视频后才能真正理解iPhone的伟大,他不仅仅是一部手机,而是一件革命性的艺术品。
  最令人激动的还有iPhone的开发工具,从开发、设计、调试到部署都非常简单。开发者不仅可以在Mac上的iPhone模拟器上调试,也可以在iPhone上远程调试,甚至可以实时捕捉iPhone上程序运行的效率,从而对程序进行优化。从未见过如此令人激动的开发平台,iPhone really rocks me!
  SDK下载:http://developer.apple.com/iphone/program/

http://www.felixwoo.com/wp-content/uploads/attachments/200803/07_073704_phoenix.jpg
服务器终于恢复了,宕机快一个星期,估计很多网站已经去掉了ThinkPage的天气服务,也好,减轻服务器的负担。
这次服务器宕机主要是因为硬盘故障,2块300G的硬盘做的Raid1,估计是出现了数据同步错误,把其中一块硬盘rebuild一下就搞定了。虽然不是什么大问题,不过因为身在异乡所以也爱莫能助了。感谢幼豹从海南旅游回来后就迅速的解决了问题,要不真要憋坏了,连个发泄的地方都没有了。
虽然来美国才一星期,感觉像是过了一个月,生活极度空虚和无聊,能玩的地方都玩了,想买的东西都买了。对美国的新鲜感早已荡然无存,所有的一切都是那么的熟悉,不过物是人非了。操着一口流利的中国英语完全不惧老外,听不懂我是他们的问题。在这个地球的另一边,没有手机和短信的骚扰,没有饭局和娱乐的机会,每天上班可以看到青山白云,每天下班可以仰望灿烂星空,突然发现,无聊的生活其实很惬意,惬意到你会为自己的懒散而感到愧疚。简单的生活可以做出不简单的事,丢掉中关村的浮躁,感悟硅谷的宁静。
这次美国出差的照片发布在这里,http://www.flickr.com/photos/felixwoo/collections/72157604049715480/ 。估计大部分都会用iPhone来拍,因为好的照片和相机是无关的,就像陈冠希一样。

京ICP备05053527号
经过26次查询历时3.516秒终于生成了此页面
Powered by WordPress & Designed by Felix © 2008