<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d4684235500622716427\x26blogName\x3dCaiwangqin\x27s+blog\x26publishMode\x3dPUBLISH_MODE_HOSTED\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://blog.caiwangqin.com/search\x26blogLocale\x3dzh_CN\x26v\x3d2\x26homepageUrl\x3dhttp://blog.caiwangqin.com/\x26vt\x3d3393395200455623441', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Caiwangqin's blog

Focus on Life, Cloud Service, Smart Hardware, Architecture, Technic and beyond…

Interview with Jesse Cai(中文翻译)

2008年8月11日星期一

Interview with Jesse Cai(中文翻译)


与蔡望勤的访谈录


I mentioned in my original article on working in beijingthat I would be chronicling a series of interviews with prominent Rails developers in China. The first person I was able to catch up with is Jesse Cai, founder of chinaonrails.com.


原文中曾提及在北京工作时,我会收录一系列与中国几位比较突出的Rails开发者的访谈。我有幸能够采访到的第一位就是chinaonrails.com的创始人 - 蔡望勤。


Tell us a little about your background (personal and technical)


I’m Jesse Cai, my chinese name is 蔡望勤 (Cai Wang Qin). I started programming in 1997 with Pascal, then Trouble C 2.0, and then 8086 assembly. I lived in southern China from 2001 to 2005, where I worked as a technical consultant for Cyberway, P&G. and made HRMS (human resources management systems) for Flextronics, AutoTec, and EuroTec. My previous experience includes ASP/PHP for 1 year, .NET for 1.5 years and Java for 2.5 years.


I started bloggingin July, 2005 and joined UUZone Inc. at the end of 2005, which was the biggest social networking site in China at the time.


Now i’m based in Beijing working for P1.cn, a fashion oriented social network focused on the emerging Chinese market. Of course, we’re using Rails.


请给我们介绍以下您的背景(个人及技术方面)



我是Jesse Cai,中文名叫蔡望勤。我最早接触编程是在1997年使用Pascal语言,之后依次使用过Trouble C 2.0以及8086 assembly2001年至2005年,我住在中国南方,并为宝洁公司(P&G) ,Cyberway担任技术顾问。同时,为FlextronicsAutoTecEuroTec编写了HRMS(人力资源管理系统)。我的个人经验还包括1年的ASP/PHP1.5年的.NET2.5年的Java编程。



我从20057月开始写博客。在2005年底,加入了当时中国最大的社交网络平台UUZone公司。


目前我住在北京,并在活跃在中国市场的时尚社交网络公司P1.cn工作,当然,我们使用的就是Rails




How did you first happen onto Rails?


When i started working for UUZone at the end of 2005, many web2.0-type sites were emerging and many of them had cool mashup applications. We saw this as an opportunity to join the trend and give give our members the latest and greatest user experience. At the time, we were using Java, and thought that if we built our new mashup application in Java, it would take too long to release. So we thought about using another language or framework optimized for web/mashup development.


Since we were Java oriented, we first found Groovy. It’s a Java-based scripting language, and we can use our existing packages and code, so that seemed pretty cool. But Groovy at that time was 1.0 beta, and there were almost no production applications using Groovy. We used Groovy to prototype an internal version of Delicious for UUZone members, and we finished it in 1 week, so that’s how we got turned on to the rapid prototyping of scripting languages. We then wanted to use Groovy for larger applications, but it wasn’t ready for production. I even exchanged several emails with the Groovy PM and received very fast response. But we never stopped looking for better, simpler way for web development, which lead me to Grails 0.3. Nobody was using it at the time, but that was how I came across Ruby on Rails 0.6, from the Grails site. I watched the video and tried Rails and found it simple and fast enough. Many people said it has performance problem, so I did many performance tests myself and found the results adequate. So I implemented my first Rails app: a UUZone members/photos and Google Map Mashup. After we debuted our app to our members, it received very positive feedback and the project was a very big success. I loved programming like this, so I stuck with Rails ever since.


你最初是如何结识Rails的?


2005年底,在我刚开始为UUZone工作的时候,很多Web2.0类型的网站浮出水面,并带有很多很酷的Mashup程序。我们认为这是一个很好的机会进入到这股潮流中并给我们的会员带来最新最棒的用户体验。那时我们使用的是Java,觉得如果使用Java搭建我们的Mashup程序,会需要太长时间才能上线。所以我们考虑使用另外一种更优化的web/mashup开发语言或框架。


由于我们的技术是Java导向的,我们最先发现了Groovy。这是一种基于Java的编程语言,它支持我们现有的程序包和代码,看起来不错。Groovy在那个时候还处于1.0beta版,而且市面上几乎没有使用Groovy编写的程序产品。我们使用Groovy1周时间内部编写了一套原型:Delicious for UUZone会员。这就是我们如何一步步转化到编程语言的快速成型。从那以后我们就考虑使用Groovy编写更大的程序,但从生产角度来看发现它并没有准备好。我甚至为此和GroovyPM做过几次邮件交流,并得到了很快的回复。但我们并没有因此放弃寻找更好、更简便的网络开发方法。这把我带到了Grails 0.3。那时候并没有人使用它,但这恰恰让我从Grails网站结识了Ruby on Rails 0.6。我看了视频并试用了Rails,觉得它够简单够快。很多人说它工作有问题,所以我自己对其工作做了一系列测试,对结果还是比较满意的。于是我编写了我的第一个Rails程序:一个UUZone会员/照片和Google地图Mashup。在程序首次和会员见面后,得到了很好的凡响,项目非常成功。我非常喜爱这样的编程方式,所以从此就和Rails结下了不解之缘。


Being the creator of Chinaonrails.com, you have a good pulse on the Rails community in China. What are your general thoughts on Ruby/Rails in China?


I created ChinaonRails.com at the beginning of 2006. There were only two books for Ruby on Rals, one was Programming Ruby, another one was Agile Web Development with Ruby on Rails. There were no Chinese books at all, and no Chinese community for Rails. As you know, the best part of Rails is its community!


For Ruby, I think many (Chinese) people have prejudice against it. I don’t know if it’s because it came from Japan or what. Maybe the Chinese education is too focused on Microsoft technologies since they teach Windows in school. Not a lot of people know linux or open source very well. For Rails, there are two kinds of people who use it: one is a senior programmer, they were expert in Java or other language, and the other is a newbie. In China, there are two kinds of companies using Rails: one is outsource consultancy and the other is startups. I haven’t seen many traditional commercial companies using Rails in China, and so it’s a little bit hard to find good Rails developers. I gave a talk at Beijing Institute and Technology University for Rails. The students ddin’t seem very interested, i don’t know why.


Fortunately, the Rails community in China is still growing and more and more good people are starting to be more curious about it.


作为Chinaonrails.com的创始人,你应该非常了解Rails的中国社区。你对中国Ruby/Rails的大体想法是什么?


我在2006年初创建了ChinaonRails.com。那时只有两本关于Ruby on Rails的书籍,一个是Programming Ruby,另一个是Agile Web Development with Ruby on Rails。根本没有Rails的中文书籍和中文社区。你知道的,Rails最好的部分就是它的社区。


我认为很多(中国)人对Ruby存在偏见。我不知道是不是因为它源于日本。也许中国式教育太专注于微软科技,他们在学校都教Windows。没有很多人知道或了解Linux和开源。有两种人群使用Rails:一个是高级编程人员,他们在Java或其它语言上是专家。另一种人群就是初学者。在中国有两种公司使用Rails:一些是外源咨询公司,另一些是刚起步的。我还没有看到多少中国传统商业公司使用Rails,因此找到好的Rails开发者是比较困难的。我曾在北京理工大学针对Rails做过一次讲义。不知道为什么,学生们并不是很感兴趣。


Why hasn’t Rails taken off in China as much as the US or Europe?


As i said, not so many people know it. I think another big reason is there was no organization to push Rails in China. Is US and Europe, there are many RailsConfs, barcamps, but not in China. And the final reason is how do people make money using Rails in China?


为什么Rails在中国还未像在美国欧洲那样普及?


就像我说的,很多人都不知道Rails。而且另外一个主要原因是没有一个组织推进Rails在中国的发展。在欧美有很多RailsConfsbarcamps,但是在中国就没有。还有最后一个原因就是大家如何在中国通过Rails赚钱?


What blogs or podcasts are you a fan of?


Many, I have more than 100 ruby on rails feeds in Google Reader. I especially like peepcode podcasts and Railscasts. I’m learning so many things through blogs and podcasts.


你对什么博客或播客感兴趣?


很多,我在Google Reader有过100的回复。我特别钟爱peepcode播客和Railscasts。我从博客和播客学到了很多东西。


Who would you like to buy a beer for in the Chinese Ruby/Rails community?


bd7lx, he is a hero in the Ruby/Rails community in China. He always brings Ruby/Rails news to the Chinese community, and answers questions frequently.


在中国Ruby/Rails社区你会请谁喝啤酒?


bd7lx, 他是中国Ruby/Rails的英雄人物。他总会给中国社区带来Ruby/Rails的最新消息,并积极答疑。


Who would you like to buy a beer for outside of China?


Hmm, the first guy of course is DHH, but probably many people buy beers for him, so I will take someone else :) . There’s Jason from http://railsenvy.com, Ilya Grigorik from http://igvita.com, Josh Susser from http://blog.hasmanythrough.com, anyone from http://www.engineyard.com, I may need help from them soon, and you - you help bridge the Rails communities in China and English speaking world.


在中国以外的地区你会请谁喝啤酒?


第一个人当然是DHH,不过估计很多人都会给他买啤酒,所以我还是选别人吧 :)。有一个来自http://railsenvy.comJason,来自http://igvita.comIlya Grigorik,来自http://blog.hasmanythrough.comJosh Susser,任何来自http://www.engineyard.com的人,我可能都会很快需要他们的帮助,还有你 - 你帮我为Rails中国社区和英语国家建起了桥梁。


标签:

posted by Caiwangqin, 08:03

0 Comments:

发表评论

订阅 博文评论 [Atom]

<< 主页