What’s better? Ruby on Rails vs. PHP
A friend of mine has a project where he wants to make a social community and was unsure which way to go. He asked me to ask you guys of help. It is the question which is discussed everywhere - Ruby on Rails vs. PHP - but most of them are not very neutral. Many of them are too pro for Ruby on Rails or too pro for PHP.
Ruby on Rails is a relatively new and young programming language. By doing a research for advantages and disadvantages. PHP is easy to learn and many people have experience with it. In our mind are some more important questions.
What’s about:
- Performance?
- Security?
- Scalability?
This is an invitation for all of you to make your point of view clear, so that this question will be asked the last time!
It’s your turn: What’s the best- Ruby on Rails or PHP?
Share the love
BTW: Good Quality Brochures Online Color Printing at PsPrint.Spread this KnowTe
Digg Del.icio.us Stumble Facebook Float Technorati BumpRelated KnowTes
Subscribe
If you liked this KnowTe, why not subscribe to our RSS feed?
advertising browser chat cms coding css design email facebook fonts freebies google graphics hosting icons ideas inspiration iphone javascript jquery marketing mobile office pdf photos photoshop php plugins rss search engine seo social media stock technology templates themes tools trends tutorials twitter usability webdesign webhosting wordpress workflow
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 7 or better.
Subscribe to KnowTeBook
Loved KnowTes
- SEO: Create Advanced Sitemaps with A1 Sitemap Generator
- iPhone App for Designer: Proportions Calculator by Erik
- 20+ Amazing Video Apps for Twitter
- Create and Share Reviews Using New Adobe CS Review
- WordPress: Custom CSS stylesheets for Posts or Pages
- Social Media: How to Create Automatic If This Then That Tasks
- 100+ Brilliant Free Go Green Eco Friendly Vector Graphics and Icons
- UI Inspiration: A Showcase of Beautiful User Interfaces
- 10 Awesome And Creative Google+ Brand Pages
- Combine Wordpress, PHPBB and 4Images together without multiple user-registrations
- Go Google: Socialize Your WordPress Blog without Using Plugins
- Seven Big Mistakes Of A Twitter Addict
- Web Strategy: Get real-time comments built for the social web with Lifefyre
- What Does Google Wallet do for Mobile Marketing?
- Facebook vs. Google: How Marketers Can Learn Out Of the Recent Smear Campaign?
- Selected Free Wallpapers That Rock - Volume 1
- Convert your Image To Vector Online For Free
- 350+ Free eCommerce Icons for Web Design Projects
- 80 Free Mobile Device Icons Including BlackBerry Special
- Free iPad Vector GUI Elements for Adobe Illustrator
- 56 Free Vector Arrow Symbols & Icons
- Free Hand Drawn Social Media Icon Set as Vector for Bloggers
- 20 Amazing Mobile Friendly Tips and Tools for your Website
- Icons: Free Social Media Icon Set With Bubbles
- 8 Free Brand Logo Download Websites You Should Know
- Free Photoshop Case Templates For DVD, CD and Cassette
- How To Create a Retro Wallpaper
- Styling Website Comments: Correct Markup and Free Examples
- 8 Heatmap Tools and Why / How to use them
- 35 Free Beautiful Japan Theme ICONS
- Brilliant 3D Flash Image Slider For Websites
- 10 Hot Facebook Plugins For Wordpress
- 125 FREE Oldschool Pattern Swatches for Illustrator
- Introducing New RSS Generation - What is pubsubhubbub?
- 11 Hot Tips and Tricks to Speed Up Wordpress
- 28 Free Twitter Background PSD Templates
- Mega Drop-Down Menu Inspiration
- Impressive Ways to Present Your Portfolio or Media Files
- 800+ Free HTML Newsletter Templates for Startups
- 160+ Brilliant Web Design Templates & Tutorials
- Semantic Wordpress - Automatic Semantic Metadata for Your Content
- Hot Trends and Insights On Web 3.0
- Analyzing A Trademark Brand: Absolut Vodka
- How To Build a Clean Modern Website Design From Scratch
- Awesome Slideshow jQuery Plugin For Portfolios with SlideDeck
- 72 Questions to Ask New Web Design Clients
- 20 web-based business collaboration tools that lets make you breathless
- How To Easily Move or Export Your Thunderbird Mails to Outlook
- Free iPhone Design Set for Photoshop
- Gpanion - A new google workspace with all your apps
- How To Add License Free Images To Any website - PicApp
- How Workstations Of Designers and Bloggers look like
- Inspiration: What If Google Ruled The World
- Small and Accessible News Slider in JQuery
- What’s better? Ruby on Rails vs. PHP
- Use A Body ID To Style Your Website In CSS
- 17 Free Brilliant Photoshop Browser Templates
- Free Icons: Digg, Twitter, Stumble, RSS, Delicious & Reddit
- How To Create A Webdesign Company Layout in Photoshop
- Old eMail - New eMail: Google ReNews Email Communication
Community Links
- 15 Useful and Free Twitter Tools
Twitter goes on to put in an astonishing quantity of 460,000 users on a daily basis.
- 30 Cool and Creative 404 Error Pages
We presented several collections on cool and creative error pages in the past as well and this time,
- 20 Mind Melting Examples of Light Painting
Photographers utilize their knowledge of the different colors produced by various lights, and how they interplay with white balance settings. Light paint brushes can be as simple as a flash light, laser pen, old lantern, or even off-camera flash combined with colored gels.
- KP Design
Inspiration for all - photography, design, art, travels, and more!
- 30 Free Christmas Icon Sets for Designers
Christmas is just around the corner and this is the time when designers need loads of different resources and material to design Christmas related themes,
- Domain Name Selection: How to choose the best
To have an appropriate domain name is always the cause of worry for most website owners, the reason being, it is the primary step to ensure the success of a website or an online business. But there are several other benefits of having a right domain name such as it helps in effective marketing, branding, attracting visitors, building credibility, etc.
- 60 Remarkable Examples Of Typography Design #6
It’s been a really long time since we did our last installment series of “Remarkable Examples Of Typography Design.” To be precise, the last post was way back in June, 2011. Christmas is right around the corner and many designers are using their creativity at a maximum expense.
- Make Forms More Usable With HTML5
html5 introduces new form elements, new input types, and new attributes to help making building and using forms easier.
- Examples of Street Art and Graffiti Art
With today’s collection, we aim to pay tribute to some of the best street art that will simply blow your mind away.
- Showcase of Beautiful iPhone Wallpapers
Acknowledging the fact that the design and development community love to decorate their devices with stylish and classy wallpapers,
- Beautiful Tera Environment Concept Art & Character Design
Developed by Korean game developer Bluehole Studio and published by Frogster who also manage Runes of Magic, these environments are breathtaking with some being just concept art and not the final version they show that the world will be beautiful. In addition featuring detailed character design I can not wait for the release of Tera next year.
- web 2.0 templatesWeb 2.0 templates with simplicity, cleanliness, and elegance in design and the less number of columns and work great for all your needs and have all the great features of Web 2.0 technology.
KnowTeBook.com
UserTalk
спортни стоки: That gives me ideas what to do with mine. :)
BestBit: Very interesting free tool, but if you have a big site, with more than 500 pages, you have to pay for it.
andrew: cool
Randy: I am thinking of using Lifefyre but maybe for now, I’ll use Disqus. I have a friend from peak...
Niringalpha: Wow, this is soooooo cooool . Guy’s if ya want to seek out cool wallpapers , take a peek out...
Friends
- Business Cards Online
- Craig Farrall’s Blog
- CSS Built
- Design Inspiration
- Design Resources
- Design Tutorials
- Dezignus
- Flash Mint Design Blog
- Free Photoshop Brushes
- fudgegraphics
- Fuel Your Creativity
- Just Creative Design
- Logo designs
- My Ink Blog
- NaldzGraphics
- Onextrapixel
- Pelfusion
- Photoshop Girl Tutorials
- spidanet.de
- Tasarimini | Graphic Tools
- The most stylish websites
- Vector Pack
- Wallpapers
- Website templates
- Webtoolkit4.me
Random KnowTes
- Free iPhone Design Set for Photoshop
- Google Updates Privacy Policy Without A Big Deal - Deal with it?
- Free creative fonts
- Free Icons: Digg, Twitter, Stumble, RSS, Delicious & Reddit
- New Free Portfolio Theme For Wordpress: WPESP
- Photos: Free Stock Images from Stockvault
- Wordpress: Reach any admin page in one click with Admin Drop Down Menu
- 55 Tricks Spam-Filter zu vermeiden


Kalpana
Sep 24, 2011
No: 18 / ID: 9540
Thanks for this opinion
LionHeart
Jun 25, 2011
No: 17 / ID: 8629
Thanks for this post. After reading all comments I decided on PHP instead because I’m expecting a lot of Flex/Flash integration and it seems PHP has a lot tutorials and help resources.
Dhawal
Mar 28, 2010
No: 16 / ID: 5911
used both Rails and PHP’s CakePHP & Zend Framework. I prefer Rails just because Rails use Ruby. But if you are planning to add RIA (Flex) in future I would say go with PHP’s Zend Framework, I find more resources helping me integrate Flex with PHP then rails. If you are planning to integrate something then think before choosing rails, else rails is clear winner.
paris d’argent
Mar 17, 2010
No: 15 / ID: 5840
Some good points here thanks. Another good practice is to keep your includes, application logic and class files in a directory not accessible by the web root. What I ofter do is to provide my clients with both a public and private directory so that they practice this concept. Then I tell apache that it only handles requests out of the “/usr/home/web/user1/public” directory so that they can place all of their application files in the “/usr/home/web/user1/private” directory and theres no way it will get served up by apache.
WeaponsTheyFear
Mar 16, 2010
No: 14 / ID: 5824
Having experience with both, I have to say go with what you are more familiar with, and with what your developers are capable of. Note, it is much easier to find PHP programmers than Ruby/Rails developers.
Many argue pro RoR, thinking strickly that rails performs better, but then again Facebook uses PHP, so it can’t be that great. Even Google uses PHP.
My preference lays in favor of PHP, because I prefer the C style syntax, although Ruby has many great advantages in its code (namely many shortcuts for iterations).
Birjesh
Jan 20, 2010
No: 13 / ID: 5535
Php is batter the ROR
Kyle
Jan 04, 2010
No: 12 / ID: 5458
From What I know many php programmers migrated to ruby on rails because of it’s agile development and other things. But I never heard anyone use ruby and migrated to php…
Knowtebook
Oct 09, 2009
No: 11 / ID: 5032
hey zippo, thanks for your comment. very interesting. can you tell us, where you would use php and when you would use ruby then?
zippo
Oct 08, 2009
No: 10 / ID: 5028
Nobody gave a reason why you can’t compare a scripting language to a framework. You say that because it just hears strange, but that’s OK…
What you can’t compare is PHP to Ruby, because they both has another targets.
What makes Ruby comparable with PHP is it’s frameworks.
Knowtebook
May 17, 2008
No: 9 / ID: 863
thanks peat for your opinion. the problem we are meeting since 2 months of searching a programmer is that if we ask a php developer, he would do it in php of course, and if we ask a ruby developer he says ruby would be the best. what we were looking for are people with knowledge of both and who can advise us. it seems to be more difficult that we thought.
what is so special about seaside?
Peat Bakke
May 16, 2008
No: 8 / ID: 847
@randal, @james — Seaside is impressive to see in action. One of these days I’ll have to spend some time tinkering with it!
@knowtebook —
From your brief description, there isn’t anything about your project that seems to demand a particular framework or language, so it sounds like you should focus on finding good developers who have built similar types of projects, regardless of the language they use.
If this were my project, I’d probably build the core site on Rails, and those widgets and plugins may have to be written for whatever kinds of blogs you’re targeting. PHP for WordPress blogs, for example.
Regarding Ruby not being compiled: this shouldn’t be a problem, as people visiting your web site don’t have access to the source code (it never leaves the server). Same goes for PHP, or any other scripting language used for building web apps. Of course, if someone breaks into your server they can look at whatever they want, but access to the source code is probably going to be the least of your worries.
Knowtebook
May 16, 2008
No: 7 / ID: 844
Okay thank you guys. I understand the question between ruby and ruby on rails. Of course i meant Ruby then. seaside sounds really new and i doubt it is already time for it, since the community seems to be smaller. nevertheless. lets compare it too! what do you think is and why is it better: seaside or ruby?
@Peat Bakke:
Well we want to make a whole site with frontend and backends from scratch. We also need an ad management and billing system for free and premium users so the point of security comes in place. in addition to that we need the whole variety of social community extensions like toolbars oder widgets for your own blog. I think there is much potencial for extending the site and thats were another friend of mine said it would make more sense to use ruby.
On the other hand, i heard that ruby will not be compiled and the source code is available to anybody which knows how to get to it. If that is true, the point of copyright law and security makes me afraid. What would you guys say to that?
Peat Bakke
May 16, 2008
No: 6 / ID: 842
Before I can answer, I have a question for you: what are you trying to build?
That’s the question that defines that language or framework is right for the task. Performance, security, and scalability are all qualitative terms — you should offer up a specific scenario (or even better yet, a set of wildly differing scenarios) and see which fills the bill.
For example … if I’m working with a company that has an existing database in place that they want to tap into with their web application, I’m probably going to pick PHP or Java over Rails, because Rails has strong opinions about the structure and style of databases it works easily with.
On the other hand, if I’m under the gun to produce a typical volume web application (like a blogging system, or an e-commerce site) from scratch that’s expected to serve thousands of people per month, I’m definitely going to go with Rails.
Building a banking application? Java.
Working with a lot of Microsoft server components? .Net
Context is everything for these sorts of questions.
Randal L. Schwartz
May 15, 2008
No: 5 / ID: 839
For performance, security, and stability, you should strongly consider Seaside instead of either Rails or PHP. (http://seaside.st)
EllisGL
May 15, 2008
No: 4 / ID: 838
This question is invalid, since Ruby on Rails is a frame work for the Ruby language. The question should be Ruby vs PHP.
As for my preference, I chose PHP over Ruby for the language syntax and the large community. Never mind the fact I’ve been working with PHP for about 10 years now.
James Robertson
May 15, 2008
No: 3 / ID: 837
You might want to add Seaside (Smalltalk) to your list of web frameworks to consider. Have a look here:
http://www.seaside.st
Tim
May 15, 2008
No: 2 / ID: 836
You make me want to cut myself.
You can’t go around comparing a framework to a scripting language. At least compare it to something like CakePHP.
Was ist besser? | Helmeloh's Notizblog
Oct 01, 2010
ID: 1
[…] hasse diesen Schwachsinn, like What’s better? Ruby on Rails vs. PHP. Na, wer von euch hat wohl den Längsten? Äußerst interessant, fragt sich nur für wen. Wie kann […]