Solved

PHP vs Ruby on Rails

Posted on 2014-03-03
3
487 Views
Last Modified: 2014-03-18
Questios: Is Ruby on Rails better than PHP? Why would you use one over the other? Is one better than the other, etc...
I'm just wondering.
0
Comment
Question by:rgranlund
3 Comments
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 83 total points
ID: 39901225
Yes, Ruby on Rails is better.  It's a truly object-oriented language that favors convention over configuration, making the programmer's task much simpler.  It's often used for initial mockups of web sites because it is so much faster to create when compared to PHP scripts.

You would use Ruby on Rails when you want to get something going fast.

You would use PHP if you already knew PHP and did not know Ruby on Rails, or if you were a novice to programming and the principles of computer science.  PHP has a much lower "learning curve."
0
 
LVL 34

Assisted Solution

by:Slick812
Slick812 earned 83 total points
ID: 39901295
I did not find that ruby or "Ruby on Rails" was a good fit for me and my framework "expectations", however "Ruby on Rails" is a very different language for use and syntax than PHP and the other server side languages. Some say that you can develop web sites "Faster" wid "Ruby on Rails", but that depends on the web site,  the database setup and the developer (you). If you have not used either before, I would recommend going with PHP, but "Ruby on Rails" does have it's advantages and very many enthusiastic users. Try it out to find if you like it, or which is mo-better for u. As all things are not the same (or even close) for all the different web developers out there.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 84 total points
ID: 39901471
I believe that the Ruby programming language has to be installed at the OS level.  That means you can't just add it to your hosting package.  It must be supported by your host before you can use Ruby on Rails.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question