Using Ramaze to quickly rebuild mysql website?

2 views
Skip to first unread message

michael.l

unread,
Aug 6, 2008, 4:13:21 PM8/6/08
to Ramaze
Hey everyone,

I've got a task to get a MySQL website back up; the originally PHP
programmer of the site is not available and no one can figure out the
problem with the PHP. The MySQL database is fine; I'd like to use
Ramaze to quickly put up a replacement site that basically just has a
homepage which shows a daily quote from the database and a few archive
pages (list of audio, video and text available). Any thoughts or
pointers to good docs? Should I use the current Apache that is
running? Or better to use another server?

Thanks amigos --

James Britt

unread,
Aug 7, 2008, 1:39:05 PM8/7/08
to ram...@googlegroups.com

The short answer is "yes."


An important difference between PHP+apache and Ruby+apache is that with
PHP you get simpler integration.

If you go with Ramaze you'll need to tell apache to proxy to another
process, and have thin or mongrel (Or even webrick, maybe) as that other
process.

It's not terribly complex; folks here can walk you through it (or ask on
the freenode #ramaze IRC channel). But it is not quite as simple as
PHP can be.

(Actually, depending on your set up, you could just run thin or mongrel
or webrick on port 80. That has its pros and cons.)

--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Zdenek Zavadil

unread,
Aug 8, 2008, 3:58:42 AM8/8/08
to Ramaze
Hi,
you can try Apache + Phusion Passenger (aka mod_rails). I've tested
this combination recently and it was quite easy to setup. But you need
Ramaze from git or wait for 2008.08, because 2008.06 doesn't contain
some fix for Passenger.

Zdenek
Reply all
Reply to author
Forward
0 new messages