From ivorpaul at gmail.com Mon Mar 19 09:49:16 2007 From: ivorpaul at gmail.com (Ivor Paul) Date: Mon, 19 Mar 2007 15:49:16 +0200 Subject: [Rubyamf-discussion] mongrel? Message-ID: Hi All I started working in flex at the end of last year. Before that I worked as a ROR developer. I have just completed a rails backend for a flex app using httpService. I haven't used AMF at all but I am very keen to learn, if it means that I can code in ruby more! I see talk of webrick but none of mongrel. Are there plans to port this to mongrel? Are there any docs/blog posts that you can suggest that I start out reading to get up to speed with what rubyamf is all about? Ivor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070319/4152a44d/attachment.html From beingthexemplary at gmail.com Mon Mar 19 11:22:39 2007 From: beingthexemplary at gmail.com (Aaron Smith) Date: Mon, 19 Mar 2007 11:22:39 -0400 Subject: [Rubyamf-discussion] mongrel? In-Reply-To: References: <45FE9AFE.9020101@gmail.com> Message-ID: <45FEAABF.4070807@gmail.com> Rubyamf allows you to pass native Objects back and forth between Flash / Flex and Ruby. So from Flash/Flex if you send an array to a service method in Rubyamf, you receive it as a ruby array. If you return an ActiveRecord, it returns to Flash as a Recordset. Take a look here: "http://rubyamf.org/wiki/show/AMF+Type+Conversions" these are the type conversions when sending back and forth between client and server. Rubyamf won't necessarily replace other languages. Such as javascript or anything. What it does is take out steps that are usually needed in client <-> server communication. For example, a lot of times when dealing with remote services, usually XML is the first place people look. XML requires a few more steps in the whole process. XML generation on the server side, and XML parsing on the client side - which when dealing with a lot of data is a huge performance hit. Those two steps alone add a lot of complexity to the process. With an application gateway such as rubyamf, you simply remove those steps and work with native types only. I'll keep the list posted as soon as tutorials are posted. -Aaron Ivor Paul wrote: > thanks for the response! > > looking forward to playing around with this. > > I have mostly been doing client side flex applications recently and > must say my exposure to the server side flash technologies are limited. > > What are the kind of things that I will be able to do with RubyAMF? > What are the typical uses that you see and what are the technologies > that rubyamf replaces in other languages...basically I want to read up > to understand where this fits in, and what are the things related to > flex that I can now do using, as you put it, the wonderful language of > ruby ;) > > I guess these questions will all be answered when the > examples/tutorials go up but if there are some quick easy answers I > will greatly appreciate it. > > Regards > Ivor > > Ps. how new is the forum? > > On 3/19/07, *Aaron Smith* > wrote: > > Hey Ivor, > > You can check out rubyamf.org for more > information. This will integrate > with mongrel, however there is no documentation on that particular > subject yet. Rubyamf has it's own standalone application servers > available, much like rails. Currently webrick(win mac) and > lighttpd(mac). There are fcgi and cgi gateways. So for mongrel / > apache > / lighttpd you just use the fcgi gateway. > > Rubyamf will integrate with rails. The best bet for rails > integration is > using the models you've developed. There is some documentation on > rails > integration over at rubyamf.org . Tutorials > and more documentation will > be coming shortly. > > Let me know if you have anymore questions. > > -Aaron > > > > Ivor Paul wrote: > > Hi All > > > > I started working in flex at the end of last year. Before that I > > worked as a ROR developer. I have just completed a rails backend > for a > > flex app using httpService. I haven't used AMF at all but I am very > > keen to learn, if it means that I can code in ruby more! > > > > I see talk of webrick but none of mongrel. Are there plans to port > > this to mongrel? > > > > Are there any docs/blog posts that you can suggest that I start out > > reading to get up to speed with what rubyamf is all about? > > > > Ivor > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Rubyamf-discussion mailing list > > Rubyamf-discussion at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > > From beingthexemplary at gmail.com Sun Mar 25 03:19:40 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Sun, 25 Mar 2007 03:19:40 -0400 Subject: [Rubyamf-discussion] Tutorial Message-ID: Hey All, I just put up a tutorial over at rubyamf. Check it out, let me know if there are any questions.. http://www.rubyamf.org/wiki/show/Tutorials -Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070325/908fce02/attachment.html