Solved

PHP vs Ruby on Rails

Posted on 2014-03-03
3
475 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 108

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 82

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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 …

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now