Archive

Archive for the ‘Tech’ Category

QCon Beijing 2010 BaaP Track | 2010年4月25日

March 14th, 2010

基于浏览器的富客户端应用开发


最近几年,得益于用户体验、开发者和浏览器厂商的不断推动,浏览器或者说前端在公共应用甚至企业级应用中彰显出更加突出的作用。因为有了Ajax和RIA技术(Dojo、jQuery和Silverlight)的推陈出新,新兴浏览器(Chrome、Firefox)对市场的不断搅动,更加高效的浏览器引擎(V8、Rhino),更加强大的浏览器本地API(Gears、 Database API),被合力推进中的JavaScript语言本身和HTML5,我们看到的是在以往桌面应用中看不到的繁盛景象:更加即时的数据响应、更加优雅的用户体验和更加丰富的产品应用(SaaS、Cloud)。如果说过去浏览器应用还在千方百计向桌面应用靠拢,学习模拟桌面应用带给最终用户的界面和体验的话,那么现在浏览器端完全成为了一个可以自给自足的平台,甚至可以期待的是,在不久的将来我们会在移动终端上看到同样强大而优异的浏览器……

主持人 张凯峰

时间 4月25日
13:10 – 14:00 淘宝网前端应用与发展

赵泽欣

14:10 – 15:00 使用Silverlight构建企业级RIA经验分享

吴磊

15:30 – 16:20 基于浏览器的应用开发 – 待定

(陈明杰)

16:35 – 17:20 JavaScript的现状和未来

Douglas Crockford

via QCon Beijing 2010 Tracks | 2010年4月23日~25日 – 北京京仪大酒店.

admin Tech

InfoQ: Facebook架构师QCon北京2010演讲:扩展Memcached实战

March 1st, 2010

Memcached堪称Facebook的神经系统,虽然其并不复杂,但是如果没有Memcached的话,Facebook繁杂的系统间交互就比较困难。而且,随着Facebook的快速发展,研发团队也不得不改进和扩大Memcached系统。在QCon北京2010大会上,Facebook的架构师Marc Kwiatkowski将分享这一国际领先社交网站的扩展Memcached实战。

via InfoQ: Facebook架构师QCon北京2010演讲:扩展Memcached实战.

admin Tech, 职场

全面提升 Web 2.0 应用程序的性能,第 1 部分: Web 2.0 应用的性能分析概述和新的挑战

February 24th, 2010

由此可见,Web 2.0 的应用给性能工程带来了两大挑战,而这两大挑战恰恰是在传统互联网应用中可以被忽略的性能盲点。在 Web 2.0 应用中它们不能再被忽略:

* 盲点 1:浏览器渲染时间

在传统的互联网应用架构中,绝大多数的工作是在服务器端完成的。所有的业务逻辑是服务器端完成的,并且服务器端生成了完整的 HTML 页面,浏览器只要呈现就可以了。 而在 Web2.0 架构中,很多工作被移到了浏览器端,浏览器用 Javascript 直接操作 DOM 来生成 HTML。而且部分义务逻辑也可以在浏览器端完成。同时,随着异步 HTTP 请求的大量使用,HTTP 请求的发起时间由 JavaScript 逻辑控制。这使得 HTTP 请求的并发度下降,而影响到页面下载的完成时间。这些都使得很多的响应时间消耗在浏览器端。所以浏览器渲染时间不能被忽略。

* 盲点 2:网路传输时间

在传统的互联网应用架构中,逻辑是有 Java 或其他语言在服务器的执行的。这些代码不也就驻留在服务器端而不需要被传输。而在 Web 2.0 架构下,这些代码是很有可能用 Javascript 实现并在 Browser 端执行的。这必然涉及到 Javascript 及其他相关联资源在互联网上的传输。这使 Web 2.0 架构可能会牵涉多的多的 HTTP 请求。而这可能或大大的增加网络传输时间,细节容后再述。

浏览器响应时间= 服务器端响应时间+ 页面装载时间+ 浏览器渲染时间

via 全面提升 Web 2.0 应用程序的性能,第 1 部分: Web 2.0 应用的性能分析概述和新的挑战.

admin Tech

InfoQ: Erich Gamma确定QCon北京演讲:设计模式15年

February 23rd, 2010

Erich Gamma是IBM的杰出工程师,Jazz项目的主要领导者。此前他曾担任Eclipse的Java开发环境JDT项目的领导,目前是Eclipse的项目管理委员会成员,被业界称为“Eclipse之父”。另外,Erich也是经典书籍《设计模式》的作者四人帮之一,他还一直与Kent Beck一起开发JUnit,并编写书籍《为Eclipse做贡献:原则、模式与插件》。

在4月23日~25日举行的QCon全球企业开发大会(北京站)2010上,Erich Gamma将进行题为“设计模式15年——向设计模式2.0迈进”的主题演讲,和与会者分享他在设计模式领域的最新研究成果

InfoQ: Erich Gamma确定QCon北京演讲:设计模式15年.

admin Tech

51 Elliot: Selenium IDE Flow Control – Goto and While Loops

February 21st, 2010

51 Elliot: Selenium IDE Flow Control – Goto and While Loops.

This exension provides goto, gotoIf and while loop functionality in Selenium IDE. Selenium IDE is a plugin for Firefox that automates the testing of web-based applications. There is an excellent flow-controll extension for the Selenium Server and TestRunner components, but it does not work with Selenium IDE (the Firefox plugin) directly. This makes it difficult to develop controlled test cases within Selenium IDE, and there are times when the frame-based TestRunner cannot be used (such as when the website under test employs a frame-buster script).

I’ve ported the existing control-flow extension to work in the Selenium IDE Firefox add-on. The image below shows a sample test case using goto, gotoIf and a while loop, all running successfully in Selenium IDE.


The file linked at the end of this post should be saved as “goto_sel_ide.js” to your hard drive. Then the Options settings in Selenium IDE should set the Selenium Core extensions to include the path of this file, similar to the image below.


Link:

Download goto_sel_ide.js here

Copy & Paste the contents into a new file and save it as “goto_sel_ide.js” in a location such as C:\Documents and Settings\goto_sel_ide.js and configure the Selenium Options tab as shown.  NOTE: please copy and paste the text rather than downloading the file – some people have had formatting issues that prevented the dowloaded file from working. So COPY & PASTE and you should be fine.

Update 26 February, 2006:
This mod of the FlowControl extension works only with the Selenium IDE Firefox add-on. If you want to use the TestRunner component or Selenium RC, please use the original FlowControl extension.

admin Tech

So you want to become an automated tester

February 16th, 2010

Geeks-R-Us: So you want to become an automated tester.

都来做自动化测试开发吧,这是给经验较少的手工测试工程师来看的。

admin Tech, 职场 ,

InfoQ: JSON作者、Yahoo!资深架构师Douglas确认QCon北京2010演讲题目

February 10th, 2010

InfoQ: JSON作者、Yahoo!资深架构师Douglas确认QCon北京2010演讲题目.

这是即将在今年4月23-25日知春路京仪大酒店举行的QCon 2010技术大会中,Browser as a Platform(简称BaaP)主题中会带来分享题目的诸位讲师。这会是此界QCon中非常有亮点的主题,在前端工作日显重要的今天。

————————–

对下届QCon的一点想法:移动开发,尤其是在企业级中的应用,应该会是一个很好的主题。

admin Tech, 随笔