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
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 written by
Alastair, posted on
May 1, 2007 at 11:58 am, filed under
Flash,
Flash Remoting,
Flex,
Ruby. Bookmark the
permalink. Follow any comments here with the
RSS feed for this post.
or leave a trackback:
Trackback URL.
© Copyright 2006 - 2012 Alastair Dawson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
3 Comments
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
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
PHPAMF is gone? WUT? :0…. that sucks! I really hope someone keeps the dream alive……
One Trackback
[...] este post sobre ActiveRecord y Flex me entero que existe una extensión de Ruby para transmitir datos AMF, llamada RubyAMF, y que ahora [...]