Hi Dan, Being able to run your call handler and your MVC web application in the same process and language has some great code reuse implications. I'm sure if you are building your web app in Perl and want to leverage that logic with an Asterisk app, then you would do exactly what you are saying.
Without getting into a language or framework debate, I'll just say that Ruby on Rails has some great advantages over Perl and even Java for building database backed web applications quickly... so RAGI is just an API for Ruby and Ruby on Rails developers to bring Asterisk into the app... and letting you tap into your object models and DBs for reuse. For more on Ruby on Rails, check out: http://www.rubyonrails.org Joe On 9/12/05, Dan Littlejohn <[EMAIL PROTECTED]> wrote: <snip> > > Joe: > > You could do the same thing using PERL and strong classing. > > sub new { > my ($class) = @_; > my $this = {}; > bless($this,$class); > return $this; > } > > Why would you pick Ruby over this? (not flaming, just trying to > understand the advantages) Granted, classes in Perl or PHP are not > perfect, but If you have to setup a socket and have the overhead, what > are the advantages? > > Dan > _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
