Sha256: a9beb5179c2ac95bb970790c7c78b995a3eeee7b3cec5a44f9721728239fe423
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
== DESCRIPTION: What will eventually become a full featured AMF gateway implemented as a Rack middleware and AMF0/3 serializers and deserializers. Currently includes a fully compliant AMF0/AMF3 deserializer, AMF3 serializer, and a Rack middleware that supports both standard AMF calls and <tt>RemoteObject</tt> calls. == INSTALL: gem install rack-amf --source="http://gemcutter.org" == EXAMPLE: config.ru: require 'rack/amf' use Rack::AMF class TestService def sayHello 'Hello' end end Rack::AMF::Services.register('TestService', TestService.new) run lambda {|env| [200, { 'Content-Type' => 'text/plain', 'Content-Length' => '16' }, ["Rack AMF gateway"] ] } == TODO: * Write some Rails helpers so that using Rack AMF as a Rails Metal is easy. * Support ActiveRecord serialization/deserialization * Auto-map to Rails controllers == LICENSE: (The MIT License) Copyright (c) 2009 Tony Hillerson based on work by Aaron Smith 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.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-amf-0.0.2 | README.rdoc |
rack-amf-0.0.1 | README.rdoc |