Hi Alex 1) The scenario you propose makes me think I could use other method than AMF, but I think the main Resons for AMF are :
a) As Chris Dutz said "it's the best way to communicate with your server" , is better than JSON and we should diferentiate over the rest (but people could choose JSON if they want too) b) There's a thousands of Flex Apps out there that could go with FlexJS if they could have AMF support and make an easy connection without touch a line of code in server side. This should be a huge bonus for FlexJS project, since we could get traction with points like this...think about it. 2) Performance is importante. And AMF performance use to be the better. But for me is not a key point from the begning. Is more important the opportunity to replace legacy Flex client layer with FlexJS although it could be less performant. And I think, the code could be eventualy better and solve performance issues. But again, I could live with a less performant AMF implementation (supposing is not turtle velocity ;P) 3) For me IE is out of the stage years ago. But thinking that this could be important, I think we should see stats about IE use today to think the minimun version needed. 2015-12-01 18:28 GMT+01:00 Alex Harui <aha...@adobe.com>: > Hi, > > Renaming this fork of the thread... > > Well, I have no doubts that AMF is quite popular, but I guess I really > should have asked these questions: > > 1) If FlexJS didn't exist and you couldn't use FlashPlayer, how would you > get data from the server to client (and back again)? JSON, XML, some > other thing? The reason I haven't spent any energy on AMF for FlexJS is > because I think folks would have had to stop using AMF anyway. Maybe > there is an simple AMF-to-JSON module that folks could implement on their > servers to do the job so you don't have to rewrite your server code. > 2) If FlexJS did have AMF but its performance was worse than using JSON, > would you still choose the slower AMF implementation? It isn't clear that > implementing AMF in JS is going to perform as well as browser-native JSON > or flash-native NetConnection. > 3) What is the minimum version of IE that needs to support this? > > Thanks, > -Alex > > On 12/1/15, 7:24 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > wrote: > > >Hi Alex, > > > >AMF is "key" for Flex in IT ecosystem. you could make a Poll and, if most > >of people involved in Flex would fill it, you'll be surprised of the > >amount > >of AMF people is using to comunicate with server-side. > > > >So, this means, that for me and many others, the AMF is a requisite, (more > >even that Maven, that already is) to start prototyping and working with > >FlexJS in a day by day basis trying to change the traditional Flex 4.x > >layer for a FlexJS layer. > > > >HTTPService is a must, and is a good base, but it's used in any IT app > >about 5% of the times. People uses RemoteObject (and some times Web > >Services due to some request) as main RPCs > > > >For me AMF (and I think for many others) is the final wall to start > >investing time in our IT depts with FlexJS. > > > >Take into account that there are many server side business logic out there > >(Java, PHP, .NET, Ruby...) thats abstract all the things happening in the > >server from the Flex client, and is exposed to Flex through AMF - > >RemoteObjects. So having AMF in FlexJS seems the potential keypoint to > >start trying to change Flex 4.x for FlexJS, since you don't have the need > >to touch server side services. > > > >So, is a fact that AMF is key for FlexJS. > > > >Thanks for asking Alex > > > >Carlos > > > > > > > > > >2015-12-01 15:55 GMT+01:00 Vincent <vinc...@after24.net>: > > > >> +1, > >> All of our projects use AMF > >> > >> > >> Le 01/12/2015 15:52, Christofer Dutz a écrit : > >> > >>> Cause AMF is so much cooler than JSON ;-) > >>> > >>> I too would like to see AMF in FlexJS ... > >>> Actually if we drop AMF support there's no need for me to keep > >>> maintaining BlazeDS any longer. > >>> > >>> Chris > >>> > >>> ________________________________________ > >>> Von: Alex Harui <aha...@adobe.com> > >>> Gesendet: Dienstag, 1. Dezember 2015 15:32 > >>> An: dev@flex.apache.org > >>> Betreff: Re: lib sprite flexjs,add graphics.as (canvas) > >>> > >>> On 12/1/15, 5:22 AM, "carlos.rov...@gmail.com on behalf of Carlos > >>>Rovira" > >>> <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> > >>> wrote: > >>> > >>>> I start to think the only big problem is now to get AMF comming to > >>>> FlexJS. > >>>> > >>>> All frameworks (FlexJS, feathers, ...) out there are very cool, but > >>>>all > >>>> lacks RPC APIs (RemoteObject, ...) > >>>> > >>>> And without that is impossible to propose a starter project in a > >>>>company > >>>> or > >>>> IT dept with FlexJS... > >>>> > >>> > >>> Hi Carlos, why AMF? FlexJS does have HTTPService. > >>> > >>> > >>> -Alex > >>> > >> > >> > > > > > >-- > > > >Carlos Rovira > >Director General > >M: +34 607 22 60 05 > >http://www.codeoscopic.com > >http://www.avant2.es > > > > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener > >información privilegiada o confidencial. Si ha recibido este mensaje por > >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y > >proceda a su destrucción. > > > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le > >comunicamos > >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC > >S.A. La finalidad de dicho tratamiento es facilitar la prestación del > >servicio o información solicitados, teniendo usted derecho de acceso, > >rectificación, cancelación y oposición de sus datos dirigiéndose a > >nuestras > >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación > >necesaria. > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.