From ivorpaul at gmail.com Thu Apr 5 11:11:32 2007 From: ivorpaul at gmail.com (Ivor Paul) Date: Thu, 5 Apr 2007 17:11:32 +0200 Subject: [Rubyamf-discussion] toturial worked - rails? Message-ID: HI All I worked through the tutorial and it works nicely. I was wondering if anyone has applied this to rails applications? Regards Ivor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070405/3151718e/attachment.html From beingthexemplary at gmail.com Thu Apr 5 11:43:56 2007 From: beingthexemplary at gmail.com (Aaron Smith) Date: Thu, 05 Apr 2007 11:43:56 -0400 Subject: [Rubyamf-discussion] toturial worked - rails? In-Reply-To: References: Message-ID: <4615193C.8000707@gmail.com> Yes I've done some simple rails integration. Although I am not specifically targeting rails integration with rubyamf. I'm wanting to keep it free of rails for now. Although rails is sweet, I think having an option that doesn't have to rely an an entire rails application is smart. More work needs to be done with optimization and speed before weborb like rails integration is added. RubyInline with inline C is in the works to speed up AMF deserialization and serialization. Currently the best way to integrate rails with rubyamf is to change the services path to a (myrailsap/app/services) folder, then you would utilize the controllers and models from the existing rails application. -Aaron Ivor Paul wrote: > HI All > > I worked through the tutorial and it works nicely. I was wondering if > anyone has applied this to rails applications? > > Regards > Ivor > ------------------------------------------------------------------------ > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > From beingthexemplary at gmail.com Thu Apr 5 12:07:08 2007 From: beingthexemplary at gmail.com (Aaron Smith) Date: Thu, 05 Apr 2007 12:07:08 -0400 Subject: [Rubyamf-discussion] toturial worked - rails? In-Reply-To: References: <4615193C.8000707@gmail.com> Message-ID: <46151EAC.1010102@gmail.com> Ah, yes what you're wondering about (http://localhost:3000/controller/action), is an HTTPService. You can look at the Ruby on Rails RIA SDK from Adobe for examples of that. -Aaron Ivor Paul wrote: > Thanks, that sounds good - although, I am expecting if I were to change > > class="flex.messaging.endpoints.AMFEndpoint "/> > in the config.xml to > > class="flex.messaging.endpoints.AMFEndpoint "/> > That the framework would look for a .rhtml/.rxml view to render > instead of just passing the array/string/ActiveRecord object back. > > I havent worked with any kind of services in rails before so I may > just be wholely ignorant in which case I apologise :) > If so, can you point me to an article or two that I can read to bring > me up to speed? > > Regards > Ivor > > > > On 4/5/07, *Aaron Smith* < beingthexemplary at gmail.com > > wrote: > > Yes I've done some simple rails integration. Although I am not > specifically targeting rails integration with rubyamf. I'm wanting to > keep it free of rails for now. Although rails is sweet, I think having > an option that doesn't have to rely an an entire rails application is > smart. More work needs to be done with optimization and speed before > weborb like rails integration is added. RubyInline with inline C is in > the works to speed up AMF deserialization and serialization. > > Currently the best way to integrate rails with rubyamf is to > change the > services path to a (myrailsap/app/services) folder, then you would > utilize the controllers and models from the existing rails > application. > > -Aaron > > > > > > Ivor Paul wrote: > > HI All > > > > I worked through the tutorial and it works nicely. I was > wondering if > > anyone has applied this to rails applications? > > > > Regards > > Ivor > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Rubyamf-discussion mailing list > > Rubyamf-discussion at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > >