Hello EveryOne, We all know that now it is said, that Ruby on Rails Framework, is better option than PHP to build a Social Networking website. And if I tell you examples of big social networking websites built in PHP or Ruby on rails. (I think you know them). Example of PHP Social Website: Facebook.com Example of Ruby on Rails Social Website: Twitter.com What do you think I should go for? Some of the features I need in the language is: Speed, Maintainability, Scalability. Which one provide those features better. Ruby On rails or PHP? I'm not a programmer, but the language I dealt with is PHP, I mean as webmaster installing and maintaining PHP websites. and I love it would love to learn it too. But I'm asking for this specific field, Social Networking.. Which of these languages is the best. Thanks guys, I really appreciate you.
Stick with PHP, RoR is only better when used with Ruby Enterprise in combination with Passenger. This can be a huge hassle and only the very largest sites such as twitter use this. I strongly recommend PHP and ajax if you are going for a facebook type site otherwise if you are going for a twitter type site either Ruby Enterprise w/ Passenger or just php. -AustinQPT
AustinQPT, Thanks for the replay.. really appreciate it. I wonder why Ruby on Rails people didn't mention such a thing. So are you saying that Ruby On Rails and Ruby Enterprise Edition are two complete different thing? Please tell me more info, what is the difference between them? I really need to know more info regarding this point. I'm kinda hesitating.. I love PHP and I believe I will go for it. It's like I'm looking for showing me what would make me not use RoR.. More than you showing me what would make me use PHP. Thanks again.
Yes Ruby Enterprise is a version of Ruby altogether. Also in comparison to RoR's mongrel Passenger uses a lot less RAM per instance. The main benefit of using RoR is that is is a lot cleaner to program with, but otherwise php is your best bet.
Thanks for replaying. Yea, Less ram usage. I read that in the Ruby Enterprise page. Well is it because RoR it self uses more RAM by default? RoR cannot Handle high Traffic websites, without going to use Ruby Enterprise? Regards, and much appreciation.
Sure RoR can handle high traffic pages if you have the server for it, but then Passengers other benefit is that it releases unused memory freeing up server load. Basically unless you are wanting to make a twitter type site with constant heavily loads of database use I recommend sticking with php. RoR has its benefits but php will always be the dominant language do to its speed, ease of use, and constant updating of functions.
Thanks for replaying. Yes, I'm just thinking I might stay with the Idea of going for PHP/MySql. Wonder what people who likes, I mean the other guys Who like RoR, what would they say, what it their response?.. Any Opinions people? If there's any RoR professional out there, Please I'd like to read your comment regarding the whole topic. Why should I go for RoR? Let's get more opinions. Thank you!
ROR is not a language, it's a framework, based on the Ruby language. Symfony is a framework that is PHP based and close to ROR. Yahoo Answers, Bookmarks, and several other large apps have been made with Symfony. Either would be acceptable for making a large application. Use what you are most comfortable with. Once your traffic gets high enough, you will hit performance barriers no matter what platform your app is on.
Thanks jestep for joining this thread. I really would like to see your in depth response about RoR, I mean All in All, what do you think about PHP or RoR thing? What is your suggestions or opinions? Thanks for mentioning Symfony.
well im not an expert by any means. But from my experience with PHP and small testing with Ruby there speed and RAM use is about the same for most Applications. I cant really say which would be easier to program in. But I know PHP's design really nice. There is alot of programming that becomes very easy with just the built in functions. and tons of extensions come with hosting now days. With a standard hosting you could build a very complex PHP applications with just pure code and no extra outside source/third-party. Though I cant say much for Ruby so maybe its better or about the same. Still I would have to say PHP would be your better bet.
Well I think RoR websites crash so often, unless you have a dedicated server, and Use Ruby Enterprise in combination with Passenger. Well Anyone else got something to mention about RoR or PHP for Social Networking? Waiting for more responses. And guys, please check this book in amazon, I cannot post the link here because I'm not allowed to, well here's the name: RailsSpace: Building a Social Networking Website with Ruby on Rails (Addison-Wesley Professional Ruby Series) Tell me what you think of it. Thanks.