ZF-8798: Zend_Amf should support compression on both ends

Issue Type: New Feature Created: 2010-01-12T21:42:29.000+0000 Last Updated: 2012-11-20T21:38:13.000+0000 Status: Open Fix version(s): Reporter: Brannon B. King (brannon) Assignee: None Tags: - Zend_Amf

Related issues: Attachments:


I would like the ability to easily turn on compression in the Zend_Amf transfers. The client side ByteArray class supports a compress method which corresponds to the gzuncompress command in PHP and vice-versa. I have some large data that I would prefer go compressed for both size and obfuscation on the wire, although its security is not critical. I would (and do) compress it manually, but it is nice to not have to write your method parameters to an array and vice-versa in each AS3 method before calling or receiving data from the NetConnection. It is also nice if you can send complex arrays and have those translated to/from PHP directly. Is there a public function I could call to do this complex type reconstruction manually on the PHP side if I do compress my complex array manually by first writing it to another array on the client side?


Posted by Brannon B. King (brannon) on 2010-01-12T21:47:30.000+0000

I'd love to see a similar feature for encryption, but I recognize that this is more difficult as Flash/Flex/AS3 is lacking in the encryption arena.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.