Marcelo de Moraes Serpa wrote: > Forget what I said Martin... using the AMFPHP 1.2 mapper would be harder > than using yours TypeMapper.
:) > I´m currently trying to port your TypeMapper to AS3 as I already stated. I > must confess that I´m having a hard time becouse AS3 is a pretty new > language for me as I´m used to all the AS2 black magic... same here > For example - I´m not sure how I would convert the method autoRegister() > - I > don´t know how AVM2 stores package references! Thats just a convenience method, so I wouldnt worry about that too much. I started by using the TypeMap.as file which has more control over the registration of types. but then I always think..'how can i reduce the amount of code that someone using the library needs to write'..so thats why I wrote the auto registration function. > It doesn´t mean I gave up... I´m still breaking my head and eventually I > will have something functional for the weekend :) Good luck.. on another note, i dont know if you saw the thread on the CakePHP group but apparently in v2 they will be using instances as models rather than them just being the query engines, so maybe in v2 it will work with the AMFPHP mapping system without too much bother. also I think the CakeAMFPHP will change significantly to become more tightly integrated with Cake...but thats to be decided.. all those things are in the future so I'm going to stick with my system for now. martin. _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
