[Rubyamf-discussion] toturial worked - rails?

Aaron Smith beingthexemplary at gmail.com
Thu Apr 5 12:07:08 EDT 2007


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
>
>             <endpoint uri="http://localhost:8024/gateway.rb" 
> class="flex.messaging.endpoints.AMFEndpoint "/>
> in the config.xml to
>
>             <endpoint uri="http://localhost:3000/controller/action" 
> 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 
> <mailto: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
>     <mailto:Rubyamf-discussion at rubyforge.org>
>     > http://rubyforge.org/mailman/listinfo/rubyamf-discussion
>     >
>
>


More information about the Rubyamf-discussion mailing list