ActiveRecord and Flex

The majority of work I do is Flash/Flex and Rails so ActiveRecord, which is the M in the Rails MVC, is really the only part of Rails I use. I’ve always wished I could get ‘Rails Lite’ (In this case Camping doesn’t count) and just use ActiveRecord to pass data back and forth. My wish has come true as I found out about RubyAMF (via FlexOnRails). RubyAMF and a database are all you need to use Flash Remoting with Ruby as RubyAMF has it’s own servlet or can integrate with Apache or Lighttpd.

But what if you don’t use Ruby? ActiveRecord is a pattern and not language specific. I’ve been doing some research on a PHP ActiveRecord solution for Flash Remoting because of the speed increases that are possible with AMFPHP 2.0. PHP Doctrine was the closest PHP ActiveRecord implementation I could find to the one in Rails. However, the future of AMFPHP is now up in the air as Patrick Minnault is retiring as a programmer to become a Neuro Scientist! I always knew he was too smart to be a programmer, actually he still supports the NDP in Canada so he can’t be that bright :P

I’m sure WebORB for PHP could be used with PHP Doctrine, maybe if I wish hard enough someone will figure it out for me.

This entry was posted in Flash, Flash Remoting, Flex, Ruby. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted May 2, 2007 at 10:16 pm | Permalink

    Hey There, Glad I could make some dreams come true with RubyAMF. Please let me know if there is anything you need with RubyAMF – aaron at rubyamf dot org.

    -Aaron

  2. KreeK
    Posted May 3, 2007 at 8:15 am | Permalink

    Hey Aaron, The one other thing I use Rails with Flex for is sending out email. I don’t necessarily think this should be a core part of RubyAMF, but do you have any best practices for adding functionality to RubyAMF?

    thanks,
    Alastair

  3. tomo_atlacatl
    Posted May 10, 2007 at 6:33 pm | Permalink

    PHPAMF is gone? WUT? :0…. that sucks! I really hope someone keeps the dream alive……

One Trackback

  1. [...] este post sobre ActiveRecord y Flex me entero que existe una extensión de Ruby para transmitir datos AMF, llamada RubyAMF, y que ahora [...]

Post a Comment

Your email is never published nor 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