OK João, you're obviously not still using it!

>From more recent posts it seems we have to "move the <cfproperty tags from
the baseTO to the customTo xsl file" to get Flex working with Reactor - no
problem. Anything else?

How are you handling managed associations in FDS - is it possible with
Reactor generated objects and associations?

Sorry for all the questions.

Regards
Ian 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of João Fernandes
Sent: 02 February 2007 14:45
To: [email protected]
Subject: SPAM-LOW: RE: [Reactor for CF] RE: [Reactor For CF] FDS compiler
(alpha, very alpha)

WowoW, I totally forgot about the compiler. Well it was for a very old
version of reactor but it required a few changes to the generated TO's
because the AS class needed to map to myCustomDBspecificTO.cfc (since those
were the returned cfcs) and also to add the alias property in the cfc. Now
that Reactor is duck typed, I don't know if you can directly map your AS3 to
the projectTO.CFC (and so no modification needed) but maybe is possible
since the record _setTo() function accepts any type. 

João Fernandes

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ian Welsh
Sent: sexta-feira, 2 de Fevereiro de 2007 14:23
To: [email protected]
Subject: [Reactor for CF] RE: [Reactor For CF] FDS compiler (alpha, very
alpha)

João, we are just getting into Flex FDS (possibly with Reactor). I noticed
you posted this compiler a while back, do you still use it? Are the changes
to the Reactor core still current with the latest build of Reactor? Anything
else we need to be aware of?

Any help gratefully received.

Regards
Ian

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of João Fernandes
Sent: 15 May 2006 13:07
To: [email protected]
Subject: [Reactor For CF] FDS compiler (alpha, very alpha)

Hi guys, 

If anyone want to give a try to my (clumsy) FDS generator.

Install :
Backup your files before installing those I provide in the zip.
Copy the xsl files to  /reactor/xsl folder.
Copy the fdscompiler to /reactor/utils folder.

To generate it’s like Jared’s compiler (no way!!!)

What I did to some core Reactor files:
                Moved from to.project.xsl those properties to to.custom.xsl
because reactor will send/receive those when communicating with FDS.
                Added to to.custom.xsl to support hasOne and hasMany for
FDS, it’s just a property so it shouldn’t mess reactor.
                Added to gateway.custom.xsl a function to generate TO’s from
a result query, so it can be faster than getArray()[x]._getto().

What will it do?
                Generate the AS3 for each object in the xml file and map it
to your customTo (/mappingfolder/As/). 
                Generate the Assembler with fill,synch,get and count methods
(/mappingfolder/Assembler/).
1) The get method will populate the hasOne and hasMany for that record.
2) The assembler assumes that reactorFactory exists in
application.reactorFactory (where / how should I implement this?)
3) The fill method for now accepts 2 ways of filling, default is getall(),
if you want to test it you can use in AS:
    Mydestination.fill(myarraycollection,”byFields”,{myfield1: myvalue1 ,
myfield2: myvalue2})
 
                Generate the destinations (/mappingfolder/Destination/).

What it doesn’t do?
                Doesn’t validation on(yet) objects during
insert/update/delete.          
                Doesn’t generate a single destination file.
                
All feedback is welcome… 


João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]






-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --






-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to