From: lkfken Date: 2010-11-17T04:30:19+09:00 Subject: Re: Ruby vs PHP for the web On Nov 3, 5:49 pm, Ruby Me wrote: > Hi > > I am not here to say that PHP is better or the opposite, I am here to > ask, how web development in Ruby compared to PHP. Does Ruby use the same > tools? for example MySQL and Apache? > > And the most interesting point, which language can create a web > application with less code? (I am talking about the languges not the > frameworks). > > Thanks. > > -- > Posted viahttp://www.ruby-forum.com/. I wrote programs in Assembly. I wrote programs in BASIC (i know...but it was considered IN during the 70s/early 80s), then PASCAL, JAVA, and now Ruby. If you have develop programs in Assembly before, then you'd know you have write so many lines in order for it to do so little... Thus comparing number of lines is really pointless, because if you want, you could add a lot more lines yourself by not using any "standard libraries" This is one of the reasons why OOP is the mainstream now -- re- usability. But the trade off of this re-usability is "performance". This is due to all the overheads you added by using the "standard libraries" But this could be neglected with better hardware performance... So to answer your question, you have to tell us WHY you want to create a web application with less code? If you answer is "Performance," then you picked a wrong measurement (# of lines). Instead you should use "number of cycles" Kenneth Leung