From: Phil Roberts Date: 2004-04-22T02:19:05+09:00 Subject: Re: Is Ruby is better than PHP ... With total disregard for any kind of safety measures "Savut" leapt forth and uttered: > Ruby and PHP are two differents thing. Ruby is used for command > line program supporting user input and run just as batch file or > linux shell script do. PHP run embedded on a webpage and it > main purpose is for website development. > Hardly. Ruby can be used for shell scripting, GUI application programming (there are 3 GUI toolkits available that I know of) and Web CGI scripting. It's a very flexible language with a very nice syntax. The only reason I can think of for choosing Ruby over PHP is the Syntax however. It's a lot more object-oriented than PHP4 and very easy to learn. But the language is still quite young in terms of available libraries. Plus it's a lot easier debugging web apps written in PHP. Basically it all comes down to the fact that PHP is aimed, first and foremost, at web applications. And most of it's features are tailored with this in mind. -- Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/