由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
StartUp版 - ruby on rails 和 php
相关主题
请教有哪些 effective 的网站推广方式想找一个FULL TIME WEB DEVELOPER,在哪里贴广告呀
有个发布开发任务,找程序员的网站是什么请教该如何学习才能搞定工作 (转载)
这个域名用做java consulting怎么样?J2EE和未来工作问题
fastcgi or mod_php?请问公司里用Java主要干啥?
请教关与DOMAIN REGISTRATION的事jsp和j2ee什么关系?
做软件怎么创业,想听听大家的意见各位大神帮看看[有包子]
这个网站USCIS 做e-request的网页down了吗?
网站开发技术探讨jBuiler 4白皮书(来自inprise网站)
相关话题的讨论汇总
话题: php话题: java话题: ruby话题: rails话题: j2ee
进入StartUp版参与讨论
1 (共1页)
f*********y
发帖数: 43
1
发信人: fuzzymemory (提问前注意考古), 信区: Programming
标 题: ruby on rails 和 php
发信站: BBS 未名空间站 (Sun Apr 20 14:22:44 2008)
RoR到底是个什么东东,能举个例子说说它和php的关系吗?是不是类似j2ee和java的关
系?为什么很多小startup都用这东西作de facto工具。
s*******h
发帖数: 2148
2
我就看过一点ruby on rails,感觉跟php没啥关系

【在 f*********y 的大作中提到】
: 发信人: fuzzymemory (提问前注意考古), 信区: Programming
: 标 题: ruby on rails 和 php
: 发信站: BBS 未名空间站 (Sun Apr 20 14:22:44 2008)
: RoR到底是个什么东东,能举个例子说说它和php的关系吗?是不是类似j2ee和java的关
: 系?为什么很多小startup都用这东西作de facto工具。

l***s
发帖数: 259
3
对J2EE不熟,但ROR是个FRAMEWORK,智能程度高,手熟的话,比PHP写网站快,比如经常有人
BSO一个小时写出个BLOG网站等等.当然也比PHP运行慢.
f*********y
发帖数: 43
4
如果是framework, 那这个ror和drupal属于同类产品?
drupal下面用得语言是php。

【在 l***s 的大作中提到】
: 对J2EE不熟,但ROR是个FRAMEWORK,智能程度高,手熟的话,比PHP写网站快,比如经常有人
: BSO一个小时写出个BLOG网站等等.当然也比PHP运行慢.

l***s
发帖数: 259
5
没用过drupal
ruby is the language <-> php
rails is framework
所以叫ROR
s*******h
发帖数: 2148
6
drupal好像是个cms,用php写的

【在 l***s 的大作中提到】
: 没用过drupal
: ruby is the language <-> php
: rails is framework
: 所以叫ROR

g********g
发帖数: 2172
7
Ruby is language
Rails is the framework
Overall:
J2EE is good for large and complex enterprise application
.Net is good for small to medium size enterprise application
PHP, ASP is good for websites that do not need a lot of backend integration
and interface with other site.
Ruby on Rails is good for beginner who want to learn and compose a site in
the shortest time.
.cgi is good for site need the best performance.
Cold Fusion is easier than PHP and ASP but not as good.
These are just a rough imp

【在 f*********y 的大作中提到】
: 发信人: fuzzymemory (提问前注意考古), 信区: Programming
: 标 题: ruby on rails 和 php
: 发信站: BBS 未名空间站 (Sun Apr 20 14:22:44 2008)
: RoR到底是个什么东东,能举个例子说说它和php的关系吗?是不是类似j2ee和java的关
: 系?为什么很多小startup都用这东西作de facto工具。

a**e
发帖数: 5794
8
CGI的性能不可能是最好的,至少Servlet/JSP都比它好。

integration

【在 g********g 的大作中提到】
: Ruby is language
: Rails is the framework
: Overall:
: J2EE is good for large and complex enterprise application
: .Net is good for small to medium size enterprise application
: PHP, ASP is good for websites that do not need a lot of backend integration
: and interface with other site.
: Ruby on Rails is good for beginner who want to learn and compose a site in
: the shortest time.
: .cgi is good for site need the best performance.

t*****y
发帖数: 445
9
RoR需要专门的hosting
不如php、aspx hosting的site多

integration

【在 g********g 的大作中提到】
: Ruby is language
: Rails is the framework
: Overall:
: J2EE is good for large and complex enterprise application
: .Net is good for small to medium size enterprise application
: PHP, ASP is good for websites that do not need a lot of backend integration
: and interface with other site.
: Ruby on Rails is good for beginner who want to learn and compose a site in
: the shortest time.
: .cgi is good for site need the best performance.

g********g
发帖数: 2172
10
其实Servlet/JSP 是在性能最差之列, JSP 本质上就是Servlet, 根本原因是it要在JVM
上run. Application Server 的 Overhead 也很高, 如果再构架的不好, 用上一堆
third party .jar files, 那基本上慢得不能用, .NET 也一样, 要在CLR上RUN. CGI
如果用 C 之类的写, 可以直接编译成NATIVE CODE. 我以前看过一个BENCHMARK 说, 同
样的操作, 用CGI在一定的时间内可以RUN 300次, PHP/ASP可以100次, J2EE和.NET只能
30次, COLD FUSION比PHP/ASP稍微慢点. 当然和PHP/ASP之类的比, Servlet/JSP也不是
任何时候都慢, 比如大量数学计算, JAVA要比SCRIPT LANGUAGE快, 但还是远比不不上C
之类的可以编译成机器语言的语言.

【在 a**e 的大作中提到】
: CGI的性能不可能是最好的,至少Servlet/JSP都比它好。
:
: integration

相关主题
做软件怎么创业,想听听大家的意见想找一个FULL TIME WEB DEVELOPER,在哪里贴广告呀
这个网站请教该如何学习才能搞定工作 (转载)
网站开发技术探讨J2EE和未来工作问题
进入StartUp版参与讨论
g********g
发帖数: 2172
11
Agree, 从HOSTING 角度来说, PHP > .net, ASP >> others.

【在 t*****y 的大作中提到】
: RoR需要专门的hosting
: 不如php、aspx hosting的site多
:
: integration

K*Q
发帖数: 1001
12
原来的CGI比较吃资源吧,要开很多进程
现在可能好了,没怎么跟踪过

JVM
上C

【在 g********g 的大作中提到】
: 其实Servlet/JSP 是在性能最差之列, JSP 本质上就是Servlet, 根本原因是it要在JVM
: 上run. Application Server 的 Overhead 也很高, 如果再构架的不好, 用上一堆
: third party .jar files, 那基本上慢得不能用, .NET 也一样, 要在CLR上RUN. CGI
: 如果用 C 之类的写, 可以直接编译成NATIVE CODE. 我以前看过一个BENCHMARK 说, 同
: 样的操作, 用CGI在一定的时间内可以RUN 300次, PHP/ASP可以100次, J2EE和.NET只能
: 30次, COLD FUSION比PHP/ASP稍微慢点. 当然和PHP/ASP之类的比, Servlet/JSP也不是
: 任何时候都慢, 比如大量数学计算, JAVA要比SCRIPT LANGUAGE快, 但还是远比不不上C
: 之类的可以编译成机器语言的语言.

g********g
发帖数: 2172
13
Agree, CGI 就是开发管理起来太麻烦, 现在也基本没人用了.

【在 K*Q 的大作中提到】
: 原来的CGI比较吃资源吧,要开很多进程
: 现在可能好了,没怎么跟踪过
:
: JVM
: 上C

b******y
发帖数: 9224
14
I am a java guy. I don't like those scripting languages for performance
critical situations. So, php, ruby on rail, those to me, are out of the
question.
To be frank, to me those are "kids" stuff.
If c/c++ could be run on all platforms, I would be happy to use a compiled
language like c/c++. Right now, the closest to me is java.
e******x
发帖数: 925
15
但是Servlet/JSP对服务器的要求高。PHP的空间很便宜就能找到,
Servlet/JSP就要花大价钱了。

【在 a**e 的大作中提到】
: CGI的性能不可能是最好的,至少Servlet/JSP都比它好。
:
: integration

a**e
发帖数: 5794
16
你见过哪个OS上没有C/C++程序的?

【在 b******y 的大作中提到】
: I am a java guy. I don't like those scripting languages for performance
: critical situations. So, php, ruby on rail, those to me, are out of the
: question.
: To be frank, to me those are "kids" stuff.
: If c/c++ could be run on all platforms, I would be happy to use a compiled
: language like c/c++. Right now, the closest to me is java.

t*****y
发帖数: 445
17
I think php can be compiled
aspx definitly will be compiled

【在 b******y 的大作中提到】
: I am a java guy. I don't like those scripting languages for performance
: critical situations. So, php, ruby on rail, those to me, are out of the
: question.
: To be frank, to me those are "kids" stuff.
: If c/c++ could be run on all platforms, I would be happy to use a compiled
: language like c/c++. Right now, the closest to me is java.

c***c
发帖数: 21374
18
fastcgi,mod_perl很快

【在 a**e 的大作中提到】
: CGI的性能不可能是最好的,至少Servlet/JSP都比它好。
:
: integration

I****7
发帖数: 47
19
传统的cgi不管是用c/c++,perl,sh 或 php,也就是 一个request,一个process
正在被淘汰。现在的fastcgi和各种 mod_*或许可以改进cgi的performance。但是我还
是最爱 servlet/jsp,我的网站都是用 java,正确使用 servlet/jsp 给你最安全最能
scale 的 application。最讨厌的是 struts 和 hibernate,那是忽弄那些想在公司
混的,创业的人傻瓜才用它们。
b******y
发帖数: 9224
20

IT8097, I totally agree with you. I think java performance has improved a
LOT these couple of years. Also, it is a good trade off using Java. You gain
the easy development using Java, but also good performance in runtime.
I don't like struts or hibernate either. struts is too complicated.
hibernate is like another shell around database. So, from my past experience
, struts or hibernate won't deliver the good performance for the website.

【在 I****7 的大作中提到】
: 传统的cgi不管是用c/c++,perl,sh 或 php,也就是 一个request,一个process
: 正在被淘汰。现在的fastcgi和各种 mod_*或许可以改进cgi的performance。但是我还
: 是最爱 servlet/jsp,我的网站都是用 java,正确使用 servlet/jsp 给你最安全最能
: scale 的 application。最讨厌的是 struts 和 hibernate,那是忽弄那些想在公司
: 混的,创业的人傻瓜才用它们。

相关主题
请问公司里用Java主要干啥?USCIS 做e-request的网页down了吗?
jsp和j2ee什么关系?jBuiler 4白皮书(来自inprise网站)
各位大神帮看看[有包子][转载] 请推荐关于Servlet和JSP编程的书
进入StartUp版参与讨论
g********g
发帖数: 2172
21
struts or hibernate, EJB, 甚至J2EE都不是用来做一般的网站的, struts or
hibernate用来做大型的ENTERPRISE APPLICATION的, 把多个层之间的结构理清的确比
较容易构架,容易分工.
用J2EE来做一般的网站注意点的话的确performance 还可以, 但万万比不过PHP之类的,
好象连.NET都比不过, .NET的JIT做得比JAVA性能好, J2EE来做一般的网站的最大问题
是开发周期太长, 用PHP之类一小时能干的事情, J2EE可能要两三小时或更长. STARTUP
可能损失不起这个时间. 当然JAVA 有很多好的PACKAGE, 比如Lucene, 要用这些的话
可能只好用J2EE.

gain
experience

【在 b******y 的大作中提到】
:
: IT8097, I totally agree with you. I think java performance has improved a
: LOT these couple of years. Also, it is a good trade off using Java. You gain
: the easy development using Java, but also good performance in runtime.
: I don't like struts or hibernate either. struts is too complicated.
: hibernate is like another shell around database. So, from my past experience
: , struts or hibernate won't deliver the good performance for the website.

b******y
发帖数: 9224
22
I don't quite agree. I think Java is better compared to dot not ;-)
For example, indeed.com, is written in java.
Also, become.com, is written in java too.
There are LOT of performance oriented websites that are coded using java and
they are just great.
g********g
发帖数: 2172
23
There are many sites use java right. Indeed used the lucene engine of java.
If you looked at the top 100 sites or top 1000 in alexa and see how many
sites actually used java, you will get the idea.

and

【在 b******y 的大作中提到】
: I don't quite agree. I think Java is better compared to dot not ;-)
: For example, indeed.com, is written in java.
: Also, become.com, is written in java too.
: There are LOT of performance oriented websites that are coded using java and
: they are just great.

1 (共1页)
进入StartUp版参与讨论
相关主题
jBuiler 4白皮书(来自inprise网站)请教关与DOMAIN REGISTRATION的事
[转载] 请推荐关于Servlet和JSP编程的书做软件怎么创业,想听听大家的意见
Servlet里面怎样简单设置数据库路径这个网站
问一个J2EE和Tomcat问题网站开发技术探讨
请教有哪些 effective 的网站推广方式想找一个FULL TIME WEB DEVELOPER,在哪里贴广告呀
有个发布开发任务,找程序员的网站是什么请教该如何学习才能搞定工作 (转载)
这个域名用做java consulting怎么样?J2EE和未来工作问题
fastcgi or mod_php?请问公司里用Java主要干啥?
相关话题的讨论汇总
话题: php话题: java话题: ruby话题: rails话题: j2ee