|
From: Ryan T. G. <rya...@re...> - 2010-03-10 03:55:05
|
So from my perspective I would say put a priority on being able to read and manipulate the input and output to and from a service call with a plug-in. And make a branch that deals with swapping out encode/decode engines. I think exploring other translators to see if what's already in AMFPHP is the best or not is a good idea, but I think most people won't even toy with it, this is sort of a hardcore thing that could be offered to a more demanding crowd of developers. On 3/9/2010 2:20 PM, Joey Parrish wrote: > On Mar 9, 2010, at 1:00 PM, Ryan T. Graff wrote: > > >> So far I like the looks of this: " >> >> # alter the data coming out of a service method, before serialization. >> AmfPhp::addHook(AMFPHP_SERVICE_RETURN, array(this, 'mangleServiceOutputData')); >> >> " >> And would like to see one for input too. >> >> > Yeah, naturally. I don't consider my examples to be an exhaustive list of what we would want to be able to hook into. > > > >> As far as intercepting the AMF encoding, what could be done with that, >> aside form just using a different engine, have people asked for this >> sort of thing? >> >> > > Right now there is hard-coded support for one alternative encoder. A plugin system would just make it easier to try alternate implementations, which could result in the adoption of a faster one as the default. It could also facilitate the verification/comparison of different encoders to make sure they all produce the right output. > > --Joey > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > amfphp-cvs mailing list > amf...@li... > https://lists.sourceforge.net/lists/listinfo/amfphp-cvs > > > > > E-mail message checked by Spyware Doctor (7.0.0.514) > Database version: 6.14520 > http://www.pctools.com/en/spyware-doctor-antivirus/ > > |