The Application.cfc in the nested directory will omit the
Application.cfc code in the parent directory... this means that much
of the code to set these variables would need to be duplicated in both
cfc's. What I read (and I could be misinterpreting) is that he wanted
a way to eliminate the need to duplicate that code.

> Will...

> In your first application.cfc you're going to create
> application.dsn, right?
> Along with this.name <http://this.name>, yes?

> So your second application.cfc is going to have this.name
> <http://this.name>as well, yes? And if it's the same
> string as the
> name in the first
> application.cfc, it's going to be looking at the same
> application space as
> the first one.

> So, in your first application.cfc you create
> application.dsn = "mydsn"... so
> long as they're running on the same server it's going to
> see the same values
> under the same names in the application scope.

> In other words you join the data in memory by the name
> specified in the
> space inside the cfcomponent tag and outside any of the
> cffunction tags...
> by giving them the same name you join them logically in
> the server's memory.
> It's effectively the exact same thing as cfincluding an
> Application.cfmfile, but different in implementation.


s. isaac dealey     954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to