Flex RubyAMF Screencasts

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 :)

5 Comments

  1. tomo_atlacatl
    Posted July 19, 2007 at 10:57 am | Permalink

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

  2. Posted July 19, 2007 at 11:29 am | Permalink

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

  3. Posted July 20, 2007 at 6:30 am | Permalink

    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.

  4. Posted August 30, 2007 at 10:10 pm | Permalink

    Two Rails Remoting Powerhouses on the same comment list.

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

  5. Stanislav Zayarsky
    Posted October 27, 2009 at 1:31 am | Permalink

    ScreenCasts show 404

2 Trackbacks

  1. By Panscendo - » asdf on December 2, 2007 at 10:35 pm

    [...] 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. [...]

  2. [...] 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. [...]

Post a Comment

Your email is never shared. Required fields are marked *

*
*

*
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