[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Ruby on Rails and CGI::Application


At 09:50 AM 4/4/2005, Michael Peters wrote:
Owain wrote:
I read this post on Article on /.
http://developers.slashdot.org/article.pl?sid=05/04/04/1520227&tid=156&tid=1
which looked interesting since I am going to have a play with Ruby
(http://www.ruby-lang.org/en/20020101.html) and Ruby on Rails
(http://www.rubyonrails.com/) seems to fell rather similar to cgiapp in
a lot of senses.  I am "reading up" on Design Patterns and would like to
try out Ruby and this seems to be a good way to try.  Has anyone on the
list had a shot already and what are the main differences?

Rails is more of a framework than CGI::App. It think the perl equivalent is Catalyst (which is based on Maypole). And from what I can tell Catalyst is an awful lot like C::A but with more stuff.

For an intro on Catalyst... http://search.cpan.org/~sri/Catalyst-4.34/lib/Catalyst/Manual/Intro.pod

Most of the stuff added to Catalyst aren't so much a part of the application, but other stuff like a built in testing framework, testing server, etc. The code looks a lot like CGI::App though.

One problem I have already spotted is the likely difficulty of having
mod_ruby or ruby installed at an ISP good old Perl is ubiquitous.

I'm sure Rails is nice, but from what I've seen (I know, I know, I should really try it out first hand) it doesn't do anything that can't already be done with perl (Maypole, Catalyst, C::A w/TT and Class::DBI).

I just poked around with Ruby on Rails for about 15 minutes, but it seems to have one feature that I have not found easily in Perl land, that is an easy way to deal with editing tables that have one to many relationships. "Easy" meaning that it doesn't look like you have to learn much at all to do it the first time. Some CPAN modules I have looked at that can deal with this don't make things easy IMHO. That was the only thing about it that made me thing I might use it some time.

Thanks,

Eric


--
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Lead Programmer
D.M. Contact Management
250.383.8267 ext 229

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.