Python论坛  - 讨论区

标题:[python-chinese] 大家对Ruby on Rails怎么看?

2005年04月27日 星期三 13:53

清风 baoogle at 126.com
Wed Apr 27 13:53:41 HKT 2005

有人尝试过Ruby on Rails了吗?谈谈体会?

【转】
有一个性能测试,据说ROR>Hibernate+Spring+Struts , 居然还多15-20%。敢这样
说总有点来头的,况且开发速度要>10倍以上。

【转】
ROR is Ruby on Rails. Ruby 众所周知已经是一种非常出色的动态语言 It's
dynamic language。Simple and easy.动态语言是解释执行的,但性能上可能会打
个折扣,但不是绝对的,因为应用是复杂的,性能是一种综合性的,这个在一个流
传的测试中有回应。

Python与Ruby应该算竞争关系了,我总觉得也可以实现类似的应用,不知是否有?


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年04月27日 星期三 14:02

limodou limodou at gmail.com
Wed Apr 27 14:02:23 HKT 2005

我只看过介绍,没什么体会。好象也提不起对它的兴趣。

在05-4-27,清风<baoogle at 126.com> 写道:
> 有人尝试过Ruby on Rails了吗?谈谈体会?
> 
> 【转】
> 有一个性能测试,据说ROR>Hibernate+Spring+Struts , 居然还多15-20%。敢这样
> 说总有点来头的,况且开发速度要>10倍以上。
> 
> 【转】
> ROR is Ruby on Rails. Ruby 众所周知已经是一种非常出色的动态语言 It's
> dynamic language。Simple and easy.动态语言是解释执行的,但性能上可能会打
> 个折扣,但不是绝对的,因为应用是复杂的,性能是一种综合性的,这个在一个流
> 传的测试中有回应。
> 
> Python与Ruby应该算竞争关系了,我总觉得也可以实现类似的应用,不知是否有?
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 


-- 
I like python! 
My Donews Blog: http://www.donews.net/limodou
New Google Maillist: http://groups-beta.google.com/group/python-cn

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年04月27日 星期三 14:50

Wang Kebo mep_ at 163.com
Wed Apr 27 14:50:14 HKT 2005

RoR不应该是以性能出众,我有印象有个老外的blog说RoR开发的应用性能很低,他认为
问题在于RoR使用Ruby内置的web服务器Web Brick 导致,不记得连接了。
由于和Ruby社区的竞争,RoR一直被作为Python社区的一个缺憾。目前Python中的对应
产品Subway正在开发中(http://subway.python-hosting.com/)。

Subway并不是从头开始,而是等于Cherrypy+Cheetah+PySqlobject,开发起应用来很简
单,虽然还不能和RoR相比,当已经可以看到这几个框架的威力了。
RoR和Subway都显示的强调MVC框架。

__
Best Regards,
 
Kebo Wang


>-----Original Message-----
>From: python-chinese-bounces at lists.python.cn 
>[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of limodou
>Sent: Wednesday, April 27, 2005 2:02 PM
>To: baoogle at 126.com; python-chinese at lists.python.cn
>Subject: Re: [python-chinese] 大家对Ruby on Rails怎么看?
>
>我只看过介绍,没什么体会。好象也提不起对它的兴趣。
>
>在05-4-27,清风<baoogle at 126.com> 写道:
>> 有人尝试过Ruby on Rails了吗?谈谈体会?
>> 
>> 【转】
>> 有一个性能测试,据说ROR>Hibernate+Spring+Struts , 居然还多15-20%。敢这样
>> 说总有点来头的,况且开发速度要>10倍以上。
>> 
>> 【转】
>> ROR is Ruby on Rails. Ruby 众所周知已经是一种非常出色的动态语言 It's
dynamic 
>> language。Simple and easy.动态语言是解释执行的,但性能上可能会打
>> 个折扣,但不是绝对的,因为应用是复杂的,性能是一种综合性的,这个在一个流
>> 传的测试中有回应。
>> 
>> Python与Ruby应该算竞争关系了,我总觉得也可以实现类似的应用,不知是否有?
>> 
>> _______________________________________________
>> python-chinese list
>> python-chinese at lists.python.cn
>> http://python.cn/mailman/listinfo/python-chinese
>> 
>
>
>--
>I like python! 
>My Donews Blog: http://www.donews.net/limodou New Google 
>Maillist: http://groups-beta.google.com/group/python-cn
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kebo Wang (kebowang at gmail.com).vcf
Type: text/x-vcard
Size: 313 bytes
Desc: not available
Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20050427/2d82c0cc/KeboWangkebowanggmail.com.vcf

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年04月27日 星期三 14:58

Xingyang Hu hu.007 at 163.com
Wed Apr 27 14:58:13 HKT 2005

, 您好!

	

************下面是转发邮件************
原邮件发件人名字: Xingyang Hu
原邮件发件人地址:hu.007 at 163.com
原邮件收件人名字:mod_python
原邮件收件人地址:mod_python at modpython.org
原邮件抄送人名字:
原邮件抄送人地址:

>mod_python,您好!
>
>	
>	Thank Nicolas and Graham!
>	The solution(I use the one Nicolas gives) is: 
>
>======= 2005-04-27 05:28:47 您在来信中写道:=======
>
>>Adding that the reason is that you have specified the original  
>>PythonHandler
>>definition outside of any  directive in your configuration  
>>file.
>>
>>Quote from previous bug report from this for more detail:
>>
>>  The problem is caused by the way you have set up the Apache config  
>>file.
>>
>>  If you do not specify AddHander/PythonHandler outside of a Directory
>>  directive it will work okay.
>>
>>  Ie., use:
>>
>>  # Enable debug under /psp directory
>>  
>>  AddHandler mod_python .psp
>>  AddHandler mod_python .psp_
>>  PythonHandler mod_python.psp
>>  PythonDebug On
>>  
>>
>>  If you specify AddHandler outside of the a Directory directive, when  
>>doing:
>>
>>    dirpath = self._req.hlist.directory
>>
>>  the dirpath variable will be set to None, which then cannot be indexed.
>>
>>  The Session code should possibly check for this strange case, noting  
>>though
>>  that what you did in the first place is probably not recommended and  
>>could
>>  break other things as well.
>>
>>The previous case was for PSP, but same thing if you use publisher  
>>handlers.
>>
>>As Nicolas indicated, you can also set ApplicationPath explicitly if  
>>for some
>>reason you can't do things inside of a  directive.
>>
>>On 27/04/2005, at 6:36 AM, Nicolas Lehuen wrote:
>>
>>> Hi,
>>>
>>> If you have the same problem, then the same solution applies. Just add
>>> a line in your httpd.conf or .htaccess file containing :
>>>
>>> PythonOption ApplicationPath '/'
>>>
>>> Regards,
>>> Nicolas
>>>
>>> On 4/26/05, 胡兴洋 <hu.007 at 163.com> wrote:
>>>> Hello!
>>>>
>>>>         How to solve this problem? I have the same.
>>>>         mine: FreeBSD5.4rc3 + apache2.0.53 + python2.3 +  
>>>> mod_python3.1.4.
>>>>          
>>>> http://www.modpython.org/pipermail/mod_python/2005-January/ 
>>>> 017113.html
>>>>
>>>> Thanks!
>>>>
>>>> _______________________________________________
>>>> Mod_python mailing list
>>>> Mod_python at modpython.org
>>>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>>>
>>>
>>> _______________________________________________
>>> Mod_python mailing list
>>> Mod_python at modpython.org
>>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>
>>
>
>= = = = = = = = = = = = = = = = = = = =
>			
>
>        致
>礼!
> 
>				 
>        Xingyang Hu
>        hu.007 at 163.com
>          2005-04-27
>

= = = = = = = = = = = = = = = = = = = = 
  
        致
礼!

  
        Xingyang Hu
        hu.007 at 163.com
          2005-04-27 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号