Last time I looked into it, a true AMF implementation required ByteArray and thus IE8 wouldn't support it. Is there really a practical, performant polyfill for IE8? How fast are the modern browser ByteArray implementations?
Otherwise, I was thinking that AMF would not be supported in all FlexJS configs. If you require IE8 you would have to give up on AMF. If you can deploy only to newer browsers then you can use it. This is the version I would start with: https://github.com/jamesward/JSAMF/blob/master/web/web/amf.js mainly because he's a former Flex evangelist. If it works perfectly, we can just make it a dependency as I think the license is Category A (needs verification). If we need to modify it, it might be better to ask James if he wants to donate it. Anyway, I haven't done any work on AMF at all so feel free if you have time. -Alex On 3/18/14 10:26 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote: >Hi, > >today a thread in linked in about FlexJS pointed to AMF support. I've been >making some search and there's some projects out there in google code and >github that brings support for AMF protocol in javascript. For me it's >clear that Flex without AMF will not be Flex ;) > >I'd want to ask here if we could incorporate some of this libraries (I see >a ByteArray JS implementation as well) like other js like closure, jslint >etc.... what you use to check to add a dependency? should we contact the >author? If we find a license other than Apache 2.0 should we desestimate >the adoption? > >Thanks for your thoughts > >-- >Carlos Rovira >http://about.me/carlosrovira