From: Lothar Scholz Date: 2004-04-22T04:50:15+09:00 Subject: Re: Is Ruby is better than PHP ... Hello Useko, Wednesday, April 21, 2004, 5:59:05 PM, you wrote: UN> or perhaps Java for developing web application? UN> I've develop a few applications using PHP/MySQL/Apache and its growing in UN> size. After reading the Ruby tutorial, and do a simple script, I kind of UN> like this ease of use and a much cleaner language. UN> But I have reservation about its viability as a dominant web programming UN> language/tools. As with PHP, everywhere you look its PHP, perhaps it has UN> extensive bell and whistles for web programmers to write cool and UN> sophisticate commercials grade web application. I also see Lisp (like Yahoo) and Smalltalk based web applications. There are a lot of way to do things. UN> How about its security? Is UN> it better/worse than PHP? Is Ruby thread-safe? Its worse if you have to use a shared hosting environment. Its not possible to protect different virtual hosts when using mod_ruby. Of course you can setup an FCGI ruby server for each virtual host, but this can raise your memory consumption a lot. UN> So, what's the drawback of leaving PHP and embrace Ruby as web programming UN> tools? If you must host 100 users on a 2,0 GHz Pentium with 1 GB RAM, you don't have real a choice: you must use PHP. But if you do more complicated thinks in larger applications there is no drawback in leaving PHP and moving to a new language, whatever you choose (maybe FORTH or Assembler wouldn't be really good but maybe still better then PHP :-) Virtual Servers get more popular every day, so you have the freedom to choose what you want. -- Best regards, Lothar mailto:mailinglists@scriptolutions.com