[osflash] cakeamfphp / arp
Aral Balkan
aral at ariaware.com
Sun Jul 30 04:46:03 EDT 2006
Hey Martin,
> damn you Aral, giving me ideas of things to do. (WARNING, long email)
>
But, but, it's my nature! :)
> so, im trying the ARP codegen from the service browser but i cant get it to
> compile straight away for a variety of reasons.
>
> I just downloaded ARP (2.02) as i am not normally an ARP user.
>
That's the reason! :) The packaged version is woefully out of date.
Since I'm now out of my latest project, I can start devoting time/energy
to Arp again. Next week, I'll remove the current installer and point to
the SVN repository. I'll also start porting the docs to the wiki.
> anyway, not a great start but with some fiddling i've got it to compile.
> This makes me think that the codegen is either for an old ARP version or its
> just broken.
>
I'll look into this too.
> http://relivethefuture.com/work/arpCake.zip
>
Oh, man, you're quick. Great -- I will review this ASAP! :)
> each vo has a call :
>
> private static var _reg:Boolean =
> TypeMapper.registerType("CakeModelName",vo.ThisClass)
>
> just like Object.registerClass. You could probably do something with hi-jacking
> registerType and some setPropFlags to hook into that directly. Although its a
> shame you cant ask for the type map e.g. Object.getClassRegistry();
>
Hmm, not too sure about adding this to VOs. We need a workflow that will
work across AS2 and AS3, MTASC, Flash & Flex (1.5 & 2).
> It all seems to work so far and I like it, whats missing at the moment is
> sending types from flash -> cake and them turning up at the other end in cake
> format.
>
Very cool. I need to look into Cake as well. My to-do list grows!
> and hence be able to use most of the cake code for html and flash without any
> changes.
>
This is definitely a very important use-case.
> What would be great is to combine the cake bake script and amfphp code generator
> to generate the cake and arp code at the same time, models, commands, service
> locator etc.
>
Yes! :) Ideally, I want to be able to click a button in a browser
(Single Button Interface -- SBI -- back off, it's my concept dammit! :P
) and have it do all that *and* create the scaffolding for a basic Flash
application for updating the database. Now that the Flex compiler is
free, it would be easiest to create the scaffolding in Flex 2/AS3 to
start with and then possibly also port to an MTASC version with one of
the open-source component frameworks.
Of course, the key thing is to keep Arp compatible with Flash 6-9 (AS2 +
AS3), MTASC and Flex (1.5 & 2).
Aral
More information about the osflash
mailing list