AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-03 Thread Christofer Dutz
pirala Gesendet: Mittwoch, 2. Dezember 2015 21:31 An: dev@flex.apache.org Betreff: Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas)) On Wed, Dec 2, 2015 at 1:37 AM, Christofer Dutz wrote: > Actually I don't think you need to add anything to BlazeDS I think the >

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Wed, Dec 2, 2015 at 3:38 PM, Alex Harui wrote: > These are all valid points, but the way I look at it is this: If you have > an existing Flex app and need to migrate it off of the Flash Player, would > you reject using FlexJS because it doesn't have AMF support, or because > the effort requir

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Alex Harui
These are all valid points, but the way I look at it is this: If you have an existing Flex app and need to migrate it off of the Flash Player, would you reject using FlexJS because it doesn't have AMF support, or because the effort required to migrate the UI is too high? I believe I can convince

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Wed, Dec 2, 2015 at 3:15 PM, Carlos Rovira wrote: > 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

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Carlos Rovira
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

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
.@gmail.com im Auftrag von OmPrakash > Muppirala > Gesendet: Dienstag, 1. Dezember 2015 21:42 > An: dev@flex.apache.org > Betreff: Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as > (canvas)) > > I love AMF as well (static typed value objects, one way serialization, no

Re: AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread OmPrakash Muppirala
On Dec 2, 2015 9:37 AM, "Alex Harui" wrote: > > > > On 12/2/15, 1:37 AM, "Christofer Dutz" wrote: > > >Actually I don't think you need to add anything to BlazeDS I think the > >Spring-Flex guys for example already did that work. > > > >I know that you can configure Spring MVC Rest Controllers to

Re: AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Alex Harui
On 12/2/15, 1:37 AM, "Christofer Dutz" wrote: >Actually I don't think you need to add anything to BlazeDS I think the >Spring-Flex guys for example already did that work. > >I know that you can configure Spring MVC Rest Controllers to >auto-serialize data depending on the Accept header of a req

AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-02 Thread Christofer Dutz
2 An: dev@flex.apache.org Betreff: Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas)) I love AMF as well (static typed value objects, one way serialization, no deserialization required, small file size, etc.) The biggest problem I have is with BlazeDS as AMF server. Beca

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread OmPrakash Muppirala
I love AMF as well (static typed value objects, one way serialization, no deserialization required, small file size, etc.) The biggest problem I have is with BlazeDS as AMF server. Because with BlazeDS, all AMF request/responses need to be done via POST. This means that building true REST based

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Harbs
I’m pretty sure you can use ArrayBuffer.transfer() in place of buffer.slice(). On Dec 1, 2015, at 9:55 PM, Alex Harui wrote: > > > On 12/1/15, 11:52 AM, "Harbs" wrote: > >> I don’t think that’s a problem. I think Uint8ClampedArray is just for >> Canvas bitmap data. > > It was the "1. ArrayB

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Alex Harui
On 12/1/15, 11:52 AM, "Harbs" wrote: >I don’t think that’s a problem. I think Uint8ClampedArray is just for >Canvas bitmap data. It was the "1. ArrayBuffer has no slice method in IE 10." that also caused me to worry. -Alex

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Harbs
;> can't >>>> have decoders that convert to/from typed objects. That's how the SOAP >>>> code works in regular Flex today. You might need custom serialization >>>> for >>>> cycles (at least in the early rounds). >>>> >>>> I un

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Alex Harui
t;>> have decoders that convert to/from typed objects. That's how the SOAP >>> code works in regular Flex today. You might need custom serialization >>>for >>> cycles (at least in the early rounds). >>> >>> I understand that AMF had lower bandwidth, but I've heard that JSON

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Harbs
stom serialization for >> cycles (at least in the early rounds). >> >> I understand that AMF had lower bandwidth, but I've heard that JSON can be >> compressed over the wire. >> >> -Alex >> >>> >>> >>> -Ursprünglich

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Harbs
lost on >>> the way from the server to the client? >>> >>> If we throw overboard all the good stuff, we'll be just one if the >>> other frameworks >>> >>> Chris >>> >>> >>> >>> Von meinem Samsung Galaxy

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Dev LFM
:56 > An: dev@flex.apache.org > Betreff: Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as > (canvas)) > > Instead of talking about throwing it away, why not discuss what is needed > to implement AMF? It sounds to me like a great goal. > > I personally have neve

Re: AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Alex Harui
JSON can be compressed over the wire. -Alex > > >-Ursprüngliche Nachricht- >Von: Harbs [mailto:harbs.li...@gmail.com] >Gesendet: Dienstag, 1. Dezember 2015 18:56 >An: dev@flex.apache.org >Betreff: Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as >(canvas)) > >Ins

AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Christofer Dutz
ent? > > If we throw overboard all the good stuff, we'll be just one if the > other frameworks > > Chris > > > > Von meinem Samsung Galaxy Smartphone gesendet. > > > Ursprüngliche Nachricht ---- > Von: Alex Harui > Datum: 01.12.201

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Harbs
erboard all the good stuff, we'll be just one if the other > frameworks > > Chris > > > > Von meinem Samsung Galaxy Smartphone gesendet. > > > Ursprüngliche Nachricht > Von: Alex Harui > Datum: 01.12.2015 18:29 (GMT+01:00) > An: dev@fl

AW: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Christofer Dutz
;ll be just one if the other frameworks Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Alex Harui Datum: 01.12.2015 18:29 (GMT+01:00) An: dev@flex.apache.org Betreff: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

Re: [FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Héctor A
I have to say that I've never used AMF... If you Google for AMF Javascript there are several results. If AMF in JS is impractical for some reason and JSON is heavier than desired, maybe MessagePack could be considered. On Tue, Dec 1, 2015 at 6:28 PM, Alex Harui wrote: > Hi,

[FLEXJS] AMF (was Re: AW: lib sprite flexjs,add graphics.as (canvas))

2015-12-01 Thread Alex Harui
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