# Ruby on Rails and other sites use PHP?

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374>\
**Category:** Rails\
**Created:** [February 5, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374 "2006-02-05T20:10:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 5, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/1 "2006-02-05T20:10:56Z")

</div>

I can’t think of a good reason, other than it’s legacy code which hasn’t  
gotten around to being changed to RoR.

> **[Ruby on Rails](https://rubyonrails.org/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42)**
>
> A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.

> **[37signals](https://37signals.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42)**
>
> A catalog of ideas — signals — that drive us.

> **[Project management software, online collaboration](https://basecamp.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42)**
>
> Trusted by millions, Basecamp puts everything you need to get work done in one place. It’s the calm, organized way to manage projects, work with clients, and communicate company-wide.

> **[Project management software, online collaboration](https://basecamp.com/)**
>
> Trusted by millions, Basecamp puts everything you need to get work done in one place. It’s the calm, organized way to manage projects, work with clients, and communicate company-wide.

[http://www.loudthinking.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42](http://www.loudthinking.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42)

See this post - “PHP Easter Eggs”:

> **[PHP Easter Eggs, by Chris Shiflett](https://shiflett.org/blog/2006/php-easter-eggs)**
>
> Chris Shiflett is an entrepreneur working at the intersection of science, design, and technology.

Joe

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 5, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/2 "2006-02-05T22:16:52Z")

</div>

Joe wrote:

> I can’t think of a good reason, other than it’s legacy code which hasn’t  
> gotten around to being changed to RoR.

Use the right tool for the job. PHP is excellent for glueing some  
includes together with some HTML and CSS.

For the record, the RoR website also runs Python. I don’t see what the  
big deal is, to be honest.

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 5, 2006, 10:21pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/3 "2006-02-05T22:21:01Z")

</div>

Jakob L. Skjerning wrote:

> Joe wrote:
> 
> > I can’t think of a good reason, other than it’s legacy code which hasn’t  
> > gotten around to being changed to RoR.
> 
> Use the right tool for the job. PHP is excellent for glueing some  
> includes together with some HTML and CSS.

So is Rails. And Ruby. And Perl. And SHTML. And many others.

> For the record, the RoR website also runs Python. I don’t see what the  
> big deal is, to be honest.

It’s like Sun running .Net. Or Microsoft running Linux. A front page is  
trivially easy in Rails…

Joe

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 5, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/4 "2006-02-05T22:37:56Z")

</div>

While I agree with your point, I’d rather have David and the team keep  
working on Rails then convert their website over. I’m sure that if  
someone  
wanted to volunteer to do all the work, they would give it some thought.

Bob S.  
[http://www.railtie.net/](http://www.railtie.net/)

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 5, 2006, 10:43pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/5 "2006-02-05T22:43:58Z")

</div>

On Sun, Feb 05, 2006 at 10:21:01PM +0100, Joe wrote:  
} Jakob L. Skjerning wrote:  
} \> Joe wrote:  
} \>\> I can’t think of a good reason, other than it’s legacy code which  
} \>\> hasn’t gotten around to being changed to RoR.  
} \>  
} \> Use the right tool for the job. PHP is excellent for glueing some  
} \> includes together with some HTML and CSS.  
}  
} So is Rails. And Ruby. And Perl. And SHTML. And many others.  
}  
} \> For the record, the RoR website also runs Python. I don’t see what  
the  
} \> big deal is, to be honest.  
}  
} It’s like Sun running .Net. Or Microsoft running Linux. A front page  
is  
} trivially easy in Rails…

It’s more a matter of eating your own dog food. If what you are  
promoting  
(particularly relevant for [rubyonrails.org](http://rubyonrails.org) and 37signals) isn’t good  
enough  
for you to use yourself, why should anyone else use it? There is also  
something to be said for forcing people to use what they are working on.  
Look up the history of the transition from SunOS to Solaris.

} Joe  
–Greg

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 6, 2006, 3:57am UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/6 "2006-02-06T03:57:39Z")

</div>

> It’s more a matter of eating your own dog food. If what you are promoting  
> (particularly relevant for [rubyonrails.org](http://rubyonrails.org) and 37signals) isn’t good enough  
> for you to use yourself, why should anyone else use it? There is also  
> something to be said for forcing people to use what they are working on.  
> Look up the history of the transition from SunOS to Solaris.

I agree. You should eat your own dog food. So for web _applications_  
we built specifically for [rubyonrails.org](http://rubyonrails.org), we wouldn’t dream of using  
anything but Rails. Thus, we use Typo (weblog), Hieraki (manuals), and  
i2 (wiki). All open-source Rails applications.

For wiring together static pages? I rather like PHP. I wouldn’t  
recommend anyone to use Rails for something as simple as wiring  
together a couple of static pages with headers and footers.

If [rubyonrails.org](http://rubyonrails.org) was to get a real content-management system  
running, then yes, of course we should be using Rails (unless there  
was a good existing system in another language).

## Note that we also use Python for Trac and I think Perl is involved with running the mailing list.

David Heinemeier H.  
[http://www.loudthinking.com](http://www.loudthinking.com) – Broadcasting Brain  
[http://www.basecamphq.com](http://www.basecamphq.com) – Online project management  
[http://www.backpackit.com](http://www.backpackit.com) – Personal information manager  
[http://www.rubyonrails.com](http://www.rubyonrails.com) – Web-application framework

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 6, 2006, 9:49am UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-other-sites-use-php/101374/7 "2006-02-06T09:49:59Z")

</div>

David  
\> For wiring together static pages? I rather like PHP. I wouldn’t  
\> recommend anyone to use Rails for something as simple as wiring  
\> together a couple of static pages with headers and footers.

Why is PHP better than Rails at that simple but frequent kind of tasks?

That’s why people keep saying : “eat your own dog food”. If you do, then  
you’ll feel pain in places you normally never exercise, and maybe you’ll  
want to start acting on it.

Alain
