On Wednesday 07 Feb 2007, Doug Hughes wrote:
> FYI - I don't put these files in source control.  They're volatile and
> could be considered part of the framework (sorta).  Besides, they're
> regenerated as needed.  For what it's worth, I don't event deploy these
> files.  I just delete them when they're suspect.

Right. We tried that first :-)
Trouble is, _getTo() returns the DB specific TO object. Because CF doesn't 
look 'up' the inheritance tree for CFPROPERTY tags, we have to copy all of 
them into the DB specific TO for Flex remoteing to work, and of course keep 
the 'extends' back to the project specific, and then that back into 
the /reactor/project/xxxx/To file. So we put the DB specific file under 
source control.
So, now we want to intergrate legacy code that returns a native CF query or 
struct, so we have a function to take the result, and convert it into a(n 
array of) TO. This means the legacy code looks just like the newer Reactor 
based code, as seen from the client side of the service.
This queryToTO(q,TOName) has to call createObject() on the TO, and if no 
Reactor code has run yet (often the case, because legacy code is more likely 
to be called earlier in the users session) then there is no object for the TO 
to extend, and the whole stack falls over.
So we have to put the /reactor/project/xxxx/To file under source control too.

Hope that explains.

Did you (or others !) have any further thoughts on if adding ' 
ignore="true" 'to <field> makes sense ?

-- 
Tom Chiverton
Helping to paradigmatically market advanced convergence

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

Reply via email to