Re: CFCs - get'ers Vs. return object

2003-04-03 Thread Thomas Chiverton
On Wednesday 02 Apr 2003 14:38 pm, Dave Watts wrote: > > This is why we use Apache as our web server, and proxt CF > > request through to the actual CF server - we can limit access > > to /cfdocs and /cfide/ to only internal IP adress' > > While I like Apache well enough, you can do this with any w

RE: CFCs - get'ers Vs. return object

2003-04-02 Thread Dave Watts
> > However, if you don't put a RDS password up (which would > > be horrible in itself), a person can browse the descriptor > > of your CFC files. Just a reminder. ;) > > This is why we use Apache as our web server, and proxt CF > request through to the actual CF server - we can limit access >

Re: CFCs - get'ers Vs. return object

2003-04-02 Thread Thomas Chiverton
On Monday 31 Mar 2003 17:25 pm, Raymond Camden wrote: > However, if you don't put a RDS password up (which would be horrible in > itself), a person can browse the descriptor of your CFC files. Just a > reminder. ;) This is why we use Apache as our web server, and proxt CF request through to the a

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-31 Thread Barney Boisvert
rly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com > -Original Message- > From: Matthew Walker [mailto:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 11:57 AM > To: CF-Talk > Subject: Re: Fusebox circuits (was: CF

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-31 Thread Dave Watts
> > However, you should only put files in a web-accessible > > directory if you intend for people to be able to fetch > > or run them directly within their browser by entering > > the appropriate URL. If you have files that aren't > > intended to be used that way, they shouldn't be in a > > we

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-31 Thread Raymond Camden
> I simply prefix any file that shouldn't be run directly with > dsp_ or act_ or similar, and add > > > > > > to application.cfm . Tell me why that's less secure. Let's say someone finds a security hole in your web server that allows people to get files under the web root - like the infamou

Re: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-31 Thread Matthew Walker
> However, you should only put files in a web-accessible directory if you > intend for people to be able to fetch or run them directly within their > browser by entering the appropriate URL. If you have files that aren't > intended to be used that way, they shouldn't be in a web-accessible > direct

RE: CFCs - get'ers Vs. return object

2003-03-31 Thread Raymond Camden
Brad Howerter [mailto:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 9:25 AM > To: CF-Talk > Subject: CFCs - get'ers Vs. return object > > > I just put all the CFC's in a web accessible directory and > then don't put 'access="remote"' o

CFCs - get'ers Vs. return object

2003-03-31 Thread Brad Howerter
I just put all the CFC's in a web accessible directory and then don't put 'access="remote"' on them if I don't want them to truly be accessible. >> Don't you want CFC's in a web accessible dir if you want to >> use them for web services? Or is that like a clueless newbie question? > >That's actu

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-31 Thread Dave Watts
> > > If you do store application settings in xml they really > > > should be stored in a .cfm template so that the CF Server > > > will protect the data from someone attempting to get at > > > it from typing a URL into their browser, > > > > Why not put it outside the webroot? > > Lots of dev

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
>> Don't you want CFC's in a web accessible dir if you want >> to >> use them for web services? Or is that like a clueless >> newbie question? > That's actually a very good question. Just because you use > a CFC does > not mean you necessary want to expose a web service. If > you do want your > CF

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread Raymond Camden
> Don't you want CFC's in a web accessible dir if you want to > use them for web services? Or is that like a clueless newbie question? That's actually a very good question. Just because you use a CFC does not mean you necessary want to expose a web service. If you do want your CFC to be used as a

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
>> > On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac >> > Dealey wrote: >> > > If you do store application settings in xml they >> > > really should be >> > > stored in a .cfm template so that the CF Server will >> > > protect the >> > > data from someone attempting to get at it from typing

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
>> > On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac >> > Dealey wrote: >> >> If you do store application settings in xml they >> >> really should >> >> be stored in a .cfm template so that the CF Server >> >> will >> >> protect the >> >> data >> >> from someone attempting to get at it from

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-30 Thread Raymond Camden
> > On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac Dealey wrote: > > > If you do store application settings in xml they really should be > > > stored in a .cfm template so that the CF Server will protect the > > > data from someone attempting to get at it from typing a URL into > > > the

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread Raymond Camden
> > On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac > > Dealey wrote: > >> If you do store application settings in xml they really should > >> be stored in a .cfm template so that the CF Server will > >> protect the > >> data > >> from someone attempting to get at it from typing a URL > >> i

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
> On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac > Dealey wrote: >> If you do store application settings in xml they really >> should >> be stored in a .cfm template so that the CF Server will >> protect the >> data >> from someone attempting to get at it from typing a URL >> into their >>

RE: Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-30 Thread Matthew Walker
> On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac Dealey wrote: > > If you do store application settings in xml they really should > > be stored in a .cfm template so that the CF Server will protect the > > data > > from someone attempting to get at it from typing a URL into their > > browse

Fusebox circuits (was: CFCs - get'ers Vs. return object

2003-03-30 Thread Sean A Corfield
On Sunday, Mar 30, 2003, at 14:19 US/Pacific, Matthew Walker wrote: > I've been wondering recently why Fusebox uses a cfswitch at all rather > than > simply using a file structure. To me surely > fuseaction=accounts.editdetails > could map to something like /accounts/editdetails/index.cfm without

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Sean A Corfield
On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac Dealey wrote: > If you do store application settings in xml they really should > be stored in a .cfm template so that the CF Server will protect the > data > from someone attempting to get at it from typing a URL into their > browser, Why no

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Sean A Corfield
On Sunday, Mar 30, 2003, at 10:10 US/Pacific, Joe Eugene wrote: >> ... load all the data into some instance variable ... > What is a true instance variable in a CFC? > > > > > Is the above equivalent to > > public class SomeVars{ > public String myVar="Hello"; > } No. creates a non-public in

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Kwang Suh
> > Then of course, there's cfinclude... ASP has no means of dynamically > > including content, which is a big advantage in cf, but in most cases I I believe that ASP v3 is able to do dynamically included content. > I've been wondering recently why Fusebox uses a cfswitch at all rather than > sim

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
>> Then of course, there's cfinclude... ASP has no means of >> dynamically >> including content, which is a big advantage in cf, but in >> most cases I >> don't >> see cfincludes taking advantage of the fact that the >> template attribute is >> dynamic. I see a lot of the FuseBox method... >> >>

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread Mike Brunt
per Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 2:19 PM To: CF-Talk Subject: RE: CFCs - get'ers Vs. return object > Then of course, there's

RE: CFCs - get'ers Vs. return object

2003-03-30 Thread Matthew Walker
> Then of course, there's cfinclude... ASP has no means of dynamically > including content, which is a big advantage in cf, but in most cases I > don't > see cfincludes taking advantage of the fact that the template attribute is > dynamic. I see a lot of the FuseBox method... > > > >

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
>>blah blah"> > Building strings like the above for page out is quite slow > is CFMX. Every tool has its specific use... i dont see a > use for CustomTags in CFMX, other than building pages > layouts. You don't think there's any value in being able to express attributes by name instead of argumen

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Joe Eugene
Joe Eugene ---Original Message--- From: "S. Isaac Dealey" <[EMAIL PROTECTED]> Sent: 03/30/03 04:15 PM To: CF-Talk <[EMAIL PROTECTED]> Subject: Re: CFCs - get'ers Vs. return object > > I think that problem of not necessarily understanding the pros and cons

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Joe Eugene
CFC's have public/private/protected, static/final instance variables? Can somebody explain the above or point to any docs? Thanks Joe Eugene ---Original Message--- From: Matthew Walker <[EMAIL PROTECTED]> Sent: 03/30/03 02:52 PM To: CF-Talk <[EMAIL PROTECTED]> Subject: R

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread S . Isaac Dealey
s. > ----- Original Message - > From: "Sean A Corfield" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, March 31, 2003 5:42 AM > Subject: Re: CFCs - get'ers Vs. return object >> On Saturday, Mar 29, 2003, at 16

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Matthew Walker
tions like this. - Original Message - From: "Sean A Corfield" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 5:42 AM Subject: Re: CFCs - get'ers Vs. return object > On Saturday, Mar 29, 2003, at 16:13 US/Pacifi

Re: CFCs - get'ers Vs. return object

2003-03-30 Thread Sean A Corfield
On Saturday, Mar 29, 2003, at 16:13 US/Pacific, Matthew Walker wrote: > I am only dabbling in CFCs but it seems sensible to me to retrieve a > structure of related information using one getter, then just accessing > that. > But maybe I just don't "get" CFCs. Perhaps it's up to the CFC to cache >

Re: CFCs - get'ers Vs. return object

2003-03-29 Thread S . Isaac Dealey
> On Saturday, Mar 29, 2003, at 18:35 US/Pacific, S. Isaac > Dealey wrote: >> structkeyexists() is also better than isdefined() imho >> since it's more >> specific although I wasn't entirely sure it would produce >> the desired >> result > structKeyExists() will likely be faster (and it's safer -

Re: CFCs - get'ers Vs. return object

2003-03-29 Thread Sean A Corfield
On Saturday, Mar 29, 2003, at 18:35 US/Pacific, S. Isaac Dealey wrote: > structkeyexists() is also better than isdefined() imho since it's more > specific although I wasn't entirely sure it would produce the desired > result structKeyExists() will likely be faster (and it's safer - but it's comp

Re: CFCs - get'ers Vs. return object

2003-03-29 Thread S . Isaac Dealey
;[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, March 27, 2003 12:01 AM > Subject: CFCs - get'ers Vs. return object >> I'm just starting to write my first CFC in anger, as it >> were, and was > curious >> about wha

Re: CFCs - get'ers Vs. return object

2003-03-29 Thread S . Isaac Dealey
> On Friday, Mar 28, 2003, at 10:59 US/Pacific, S. Isaac > Dealey wrote: >> >> > required="true"> >> >> >> >> >> >> >> > Eek! Evaluate! :) > Try this instead: > >required="true"> > > > > > > > > You're right, my bad. :) I was

Re: CFCs - get'ers Vs. return object

2003-03-29 Thread Matthew Walker
iginal Message - From: "Thomas Chiverton" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 12:01 AM Subject: CFCs - get'ers Vs. return object > I'm just starting to write my first CFC in anger, as it were, and was curio

Re: CFCs - get'ers Vs. return object

2003-03-29 Thread Sean A Corfield
On Friday, Mar 28, 2003, at 10:59 US/Pacific, S. Isaac Dealey wrote: > > > > > > > > > Eek! Evaluate! :) Try this instead: Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive.

Re: CFCs - get'ers Vs. return object

2003-03-28 Thread S . Isaac Dealey
> I'm just starting to write my first CFC in anger, as it > were, and was curious > about what others were doing. > Are people writing a number of of > getX,getY,getName,get methods, each > returning a string/numer and then using >name="objLocation"> > #objLocation.getName(156537)# > OR

RE: CFCs - get'ers Vs. return object

2003-03-28 Thread Raymond Camden
CF-Talk > Subject: Re: CFCs - get'ers Vs. return object > > > On Friday 28 Mar 2003 13:22 pm, webguy wrote: > > > > > > That's invalid isn't it ? You need a LHS and RHS in a cfset ? > > -- > Tom C > "Land of the f

Re: CFCs - get'ers Vs. return object

2003-03-28 Thread Thomas Chiverton
On Friday 28 Mar 2003 13:22 pm, webguy wrote: > > That's invalid isn't it ? You need a LHS and RHS in a cfset ? -- Tom C "Land of the free, home of the brave... you have to be brave to live there and enjoy the freedoms" ~| Ar

RE: CFCs - get'ers Vs. return object

2003-03-28 Thread webguy
You can alos do it this way #objLocation.getName()# #objLocation.getXXX()# -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: 26 March 2003 12:02 To: CF-Talk Subject: CFCs - get'ers Vs. return object I'm just starting to write my first CFC in anger,

CFCs - get'ers Vs. return object

2003-03-28 Thread Thomas Chiverton
I'm just starting to write my first CFC in anger, as it were, and was curious about what others were doing. Are people writing a number of of getX,getY,getName,get methods, each returning a string/numer and then using #objLocation.getName(156537)# OR writing a single get that returns a query