Vixiom Axioms

July 19, 2007

Flex RubyAMF Screencasts

Filed under: Flash, Flash Remoting, Flex, Ruby on Rails Alastair @ 9:25 am

There are some new RubyAMF screencasts up, Aaron Smith walks you through tutorials on…

Flex with stand-alone RubyAMF
Flex with the RubyAMF Rails plug-in
Flash and authentication
Flash and custom fault objects

RubyAMF is also now 1.2 with respond_to functionality, so you can use one controller action to return anything your heart desires RHTML, AMF, XML, JSON you name it.

def MyController < ActionController::Base
  def list
    respond_to do |format|
     format.amf { render :amf => User.find(:all) }
    end
  end
end

Of course AMF is teh bestest :)

Digg! submit Flex RubyAMF Screencasts to stumbleupon.com submit Flex RubyAMF Screencasts to del.icio.us submit Flex RubyAMF Screencasts to reddit.com Like this post? subscribe to the feed.

6 Comments »

  1. Hey, xml w/E4X is pretty nice duh! I wouldn’t rule out xml for now on……..AJAX kids, the bus might be delayed! :)

    Comment by tomo_atlacatl — July 19, 2007 @ 10:57 am

  2. Also remember to register the mime type; put this in environment.rb:
    Mime::Type.register “application/x-amf”, :amf

    Comment by Alex MacCaw — July 19, 2007 @ 11:29 am

  3. Thanks again for the blog post. Yes, AMF is the best! I just put up a rails plugin installer.. blog.rubyamf.org - Thanks again - Aaron.

    Comment by Aaron Smith — July 20, 2007 @ 6:30 am

  4. Two Rails Remoting Powerhouses on the same comment list.

    Thanks to both of you for Juggernaut (Alex) and Aaron for RubyAMF.

    Comment by Nima Negahban — August 30, 2007 @ 10:10 pm

  5. [...] Yee-haw! By using the powers of RubyAMF we have just grabbed data from a database and written some right back at speeds much faster than XML or JSON. Plus, we still get a HTML front end for those types that fear flash. [...]

    Pingback by Panscendo - » asdf — December 2, 2007 @ 10:35 pm

  6. [...] Yee-haw! By using the powers of RubyAMF we have just grabbed data from a database and written some right back at speeds much faster than XML or JSON. Plus, we still get a HTML front end for those types that fear flash. [...]

    Pingback by Panscendo - » Beginner’s Tutorial to RubyAMF with RESTful Rails — December 2, 2007 @ 11:29 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Powered by WordPress