Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ruby on Rails v PHP

Featured Replies

Hi folks

 

I've come across a client who has an old ecommerce site that needs updating. It was written in asp but the backend is a nightmare, therefore he's asked me to look into a new site for him.

 

I'm more of a frontend developer so I could do with any advice.

 

I've been given 2 x prices from coders that I know; one for building the site in Ruby on rails, the other for using php.

 

The problem is that the ruby coded site would come out at double the cost than the php coded site.

 

Now I know that my ruby coder is very very good and I'm pretty sure the php coder is as well so I'm going to give the client 2 x prices to let him decide.

 

But what in your opinion are the added advantages of rails over php? (I assume there are) But not only from a coding point of view but that the client can see as well?

 

Thanks in advance - you guys always seem to come up with the answers !

I have never used Ruby before, which means i actually shouldn't post here. But as far as i know, ruby is more then just a document file where you insert the code. There's a bigger package needed to be installed and therefor, not many hosting solutions support it. PHP however, should exist everywhere.

unless your client plans on maintaining the code themselves, there is no value difference whatever to your client in respects to what technology is provided (I mean if it was written in ADA and for-filled their requirements it would not matter).

 

What you need to look at is what these contractors will provide.

 

Fully object oriented, documented code full of unit tests, or some horrible spaghetti code that's had no unit testing and ambiguous to its actual functionality. One might be packed with useful AJAX functionality and a more robust database design, one might perform far better than the other.

 

IMH0 having some cleanly written, well documented and tested code is worth twice as much easily. It will be more maintainable, more piece of mind that it will work as specified more likely to be cheaper/quicker to fix or upgrade in the future.

 

Oh and also of course how well their designs are skin-able/template-able, how easily your html/css designs can be implemented.

 

And non of this has anything to do with the language, but how well designed and written the code is.

 

Cheers, Nick.

I've heard that ruby on rails is faster and better for handling orders but i cant say as i have no experience in this. I have just started learning php and it seems very nice to use and very functional for a decent ecom site. :)

I've heard that ruby on rails is faster and better for handling orders but i cant say as i have no experience in this. I have just started learning php and it seems very nice to use and very functional for a decent ecom site. :)

That makes no sense at all ;)

That makes no sense at all ;)

 

Correct me if im wrong? lol

The language is irrelevant - the similarities are greater than their disparities. The key is in the architecture of the app, which, unless you're a coder, you may not be able to grasp. The main things to worry about are how secure it is, how the interface works, and how fast it is (I suspect that PHP will be faster than Ruby).

 

On a more practical note, PHP will be easier to host, easier to source developers in the future. Ruby's a great language, but it's more niche (in the UK, lot bigger in the US)

Correct me if im wrong? lol

 

There isn't anything to correct.. Your post just doesn't make any sense "better for handling orders" - what do you mean by that, can you please elaborate?

 

RoR vs PHP - RoR is not a language, it's a Framework.

There isn't anything to correct.. Your post just doesn't make any sense "better for handling orders" - what do you mean by that, can you please elaborate?

 

RoR vs PHP - RoR is not a language, it's a Framework.

 

O, someone said to me that ROR is faster and thats why they use it in there order system online. so there website. I guess they didnt really know what they where talking about then :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.