Solved

PHP vs Ruby on Rails

Posted on 2014-03-03
3
484 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 109

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 33

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
selecting both the price and sum(price ) with mysql statement 5 45
Fulfillment API php code sample 1 40
error log using ftp 7 40
PHP AJAX JSON 2 61
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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

770 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