isaac_cm Posted September 18, 2007 Share Posted September 18, 2007 Hello, Some of my friends said that ruby is better than PHP and they said some advantage , I really did not understand because I did not use ruby once before , is it ruby better ?? if not why ?? also they mention that ruby framework called "ruby on rails" is better than any PHP framework !! , If someone could tell me the difference plz Thanks Quote Link to comment https://forums.phpfreaks.com/topic/69809-ruby/ Share on other sites More sharing options...
trq Posted September 18, 2007 Share Posted September 18, 2007 There isn't really such a thing as a better language. It really depends on the job at hand. Ruby (and Ruby on rails) is slowly becoming more and more popular, but still, there isn't anythong Ruby can do that php can't. Thats being said, Ruby is a very clearly designed language, while php is pretty much a hacked together language that I find more and more faults with (design wise). PHP is still the more popular of the two and you will probably find more tutorials, help and hosting support for it. Quote Link to comment https://forums.phpfreaks.com/topic/69809-ruby/#findComment-350724 Share on other sites More sharing options...
isaac_cm Posted September 19, 2007 Author Share Posted September 19, 2007 yes, but do I have to use PHP only for finding help and host ? I know both languages can do the same job but I need the easier, powerful and faster in result because I work as independent programmer for example both language could make image gallery but which is faster ? and dont need alot of line codes ? I once saw an example of file upload with a real time progress bar created entirely with ruby , I do not saw PHP alone can do that may be it is the only thing I saw PHP cant do alone , however I like PHP alot but plz tell me the truth Thanks Quote Link to comment https://forums.phpfreaks.com/topic/69809-ruby/#findComment-350757 Share on other sites More sharing options...
trq Posted September 19, 2007 Share Posted September 19, 2007 however I like PHP alot but please tell me the truth The truth is there is no correct answer. If you already know php I would say there is little (if any) advantage to switching to Ruby. I once saw an example of file upload with a real time progress bar created entirely with ruby , I do not saw PHP alone can do that may be it is the only thing I saw PHP cant do alone , Ruby (as with php) is a server side scripting language. What you think was Ruby only was probably an Ajax/Ror script. Seriously, there is nothing Ruby can do that PHP can't. As for writting applications using less lines of code. Rails is a framework, the whole objective a frameworks is to cut down on code rewritting by making things more modular. Using any decent PHP framework will more than likely give simular results. Quote Link to comment https://forums.phpfreaks.com/topic/69809-ruby/#findComment-350765 Share on other sites More sharing options...
isaac_cm Posted September 19, 2007 Author Share Posted September 19, 2007 Thanks but I am curious what tools/ framework you use when making a big web app interface and server side script ? Quote Link to comment https://forums.phpfreaks.com/topic/69809-ruby/#findComment-350770 Share on other sites More sharing options...
trq Posted September 19, 2007 Share Posted September 19, 2007 I use my own personal framework. Quote Link to comment https://forums.phpfreaks.com/topic/69809-ruby/#findComment-350773 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.