Profile老王的网络日志BlogLists Tools Help
    7/9/2006

    RoR风潮的背后

    RoR的流行速度确实很有点出人意料,老实说,RoR在技术上没有大的创新,而且在php里早就有类似的尝试,别的不说,RoR作者在写RoR之前,就是一个php程序员,也有一个php版本的RoR,不过同样的东西在php阵营里却没有产生任何反响,反倒是Ruby阵营里红透半边天。为什么会有这样的情况出现,是一个值得思考的事情,一方面,php阵营内framework数量众多,用户有很多选择,这点和java类似,任何一个framework都很难达到RoR在Ruby阵营里那种一呼百应的效果,因为对于Rubyer来说,他们没有别的选择,RoR是唯一的framework,这样的垄断地位,某种程度上加速了RoR的火爆。另一方面,Ruby本身也确实存在一些php不及的优点,如完整的动态语言的特性。但在我看来,从一个长远的角度来看,php的表现仍然会优于ruby,原因如下:php有更好的用户群,10多年的积累不是初出茅庐的ruby能在短时间内超越的,而且,ibm, oracle都开始对php提供了企业级的支持,再者,php的社区是活跃的,语言级别上的一些不足之处会在未来的适当时候得到袮补。
     
    btw:在说说ror本身,很多人认为它是web开发的终极杀手,我一直有点怀疑,它只不过是一个Active Record的应用而已,本质上讲,RoR是以数据库为中心而设计的只适用于那些业务逻辑和数据结构十分相似的项目,可能是受了这几天看《领域驱动设计》这本书的影响,我一直认为这样的设计在一定的前提下是可以的,但不能体现OOP的真谛,从某种程度上来说,它掩盖了问题的实质:领域对象的价值!唉,全世界的程序员辛辛苦苦的研究了面向对象几十年,一觉醒来,被RoR打回解放前。

    Comments (9)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    July 31
    Oct. 27
    No namewrote:
    代孕 淘宝刷信用北京发票 代开发票餐饮发票 住宿发票广告发票 对讲机传世私服 传奇世界私服新开传世私服 传奇私服天龙八部私服 天龙私服苏州办证手机窃听器 手机窃听器手机窃听器手机监听器手机监听器手机窃听器代写论文 代写论文北京办证 办证代孕 代孕网代孕 代孕代孕 试管婴儿代写论文 代写论文代写代发 论文代写 dhl皇冠开户 皇冠平台出租 明星代言 明星经纪公司制动单元 铝壳电阻modern abstract art sofa manufacturer净水器 开水器 净水机 净水 软水机 软水 直饮机 家用净水 家用净水器 家用净水机 中央净水 中央净水器 水家装 水家电 水卫士 混合机过滤机 DHL快递 俄罗斯签证 回转支承保险箱 法兰 法兰标准polycarbonate sheet 回流焊 波峰焊压球机 注册上海公司 儿童摄影牛皮癣 皮肤病 制氮机食堂售餐机 校园一卡通学校一卡通 ic卡售饭机食堂售饭机 深圳一卡通广东售饭机 机电设备安装北京发票 代开发票餐饮发票 住宿发票广告发票网络电话 免费网络电话假发 补发织发 植发压滤机 板框压滤机蒸馏水机 纯蒸气发生器上海搬家公司 上海搬场公司大众搬家 大众搬场张家界旅游 香港旅游深圳旅行社 打包机收缩机 对讲机 电源模块血管栓塞剂售饭机 水控机 水控器萎缩性胃炎 neoprene laptop bagsSEO优化SEO优化 计量泵胃炎 胃病冷水机
    Oct. 27
    Oct. 27
    Oct. 27
    Sept. 19
    Sept. 5
    Picture of Anonymous
    jww wrote:
    The joyous Mid-Autumn Festival was celebrated on theffxi gil fifteenth day of the eighth moon, around the time of the autumn equinox. Many referred to it simply as the "Fifteenth of the Eighth Moon". This day was also wow goldconsidered as a harvest festival since wow goldfruits, vegetables and grain had aoc goldbeen harvested by this time and food was abundant. Food offerings were placed on an altar set up in the courtyard. Apples, pears, peaches, grapes,maple story mesos pomegranates, melons, oranges maplestory mesosand pomelos might be seen. Special foods for the festival included moon cakes, cooked taro and water caltrope, a type of water maple story mesochestnut resembling black buffalo horns. Some people insisted that cooked taro be included because at the time of creation, aoc goldtaro was the first food discovered at night in the moonlight. Of allthese foods, it wow goldcould not be omitted from the Mid-Autumn wow goldFestival.The round moon cakes, measuring about three inches in diameter and one and a half inches in thickness, resembled Western fruitcakes in taste and consistency. These wow goldcakes were made with melon seeds, lotus seeds, almonds, minced meats, bean paste, orange peels and lard. A golden yolk from a salted duck egg was placed at the wow goldcenter of each cake, and the golden brown crust was decorated with symbols of the festival. Traditionally, thirteen moon cakes were piled in a pyramid to symbolize the thirteen moons of a "complete year," that is, twelve wow goldmoons plus one intercalary moon. The Mid-Autumn wow goldFestival is a traditional festivity for both the Han and minority nationalities. The custom of worshipping the moon can be traced back as far as the wow goldancient Xia and Shang Dynasties (2000 B.C.-1066 B.C.). In the Zhou Dynasty(1066 B.C.-221 B.C.), people hold wow goldceremonies to greet winter and worship the moon whenever the Mid-Autumn Festival sets in. It becomes very wow goldprevalent in the Tang Dynasty(618-907 A.D.) that people enjoy and worship the full moon. In the Southern Song Dynasty (1127-1279 A.D.), however, people send round moon cakes to their relatives as gifts in expression wow goldof their best wishes of family reunion. When it becomes dark, they look up at the full silver moon or go sightseeing on lakes to celebrate the festival. Since the Ming (1368-1644 A.D. ) and Qing Dynasties (1644-1911A.D.), the custom of Mid-Autumn Festival celebration becomes unprecedented popular. Together with the celebration there appearwow gold some special customs in different parts of the country, such as burning incense, planting Mid-Autumn trees, lighting lanterns on towers and fire dragon dances. However, the custom of playing under the moon is not so popular as it used to be nowadays, but it is not less popular to enjoy the brightwow gold silver moon. Whenever the festival sets in, people will look up at the full silver moon, drinking wine to celebrate their happy life or thinking of their relatives and friends far from home, and extending all of their best wishes to them.
    Sept. 4
    Picture of Anonymous
    Sept. 4

    Trackbacks (1)

    The trackback URL for this entry is:
    http://sushener.spaces.live.com/blog/cns!BB54050A5CFAFCDD!596.trak
    Weblogs that reference this entry