I will try to explain this the best I can. I am building an
application using ColdFusion and Flex and I want to make sure that
I am following good practice techniques.
I have a root level COM folder which has various packages
inside of it. Inside the com.hayes.myproject package contains the
much of the Gateways, DAOs, and CF VOs for my application. I know
that it is good practice to pass in the name of a datasource when
you first initialize a Gateway or DAO. This would normally not be
an issue in a 100% CF application.
But how do I do that when I am working with Flex? Obviously
there is no way to do it from the RemoteObject from my
It seems from other posts, that people are suggesting
implementing a service layer to take care of this. So that is what
I shall do. Any suggestions on resource that I could read to learn
more about service layers? I quite proficient at OO and have been
for many years. I have just never had the need to work with a
Service Layer until now.