[CFCDev] Autoreply: [PERIODIC cfcdev DIGEST POSTING]

2004-11-16 Thread kevin
I am going to be out of the country from November 12 - December 12th. I will be checking my email frequently. If you have an emergency with you domain account, or if your site is experiencing problems, please contact our Network Administrator: Michael Stowe [EMAIL PROTECTED] 509-232-0704 /

RE: [CFCDev] concerning this / variables scope in cfc

2004-11-16 Thread John D Farrar
Attributes don't prevent the use of a calculated variable. If you want a calculated variable... set one. Use a method/function. Yet, if you have an attribute like created... it doesn't need to be calculated. This is where it would help to think outside your box Sean. It's time to cut some windows!

RE: [CFCDev] concerning this / variables scope in cfc

2004-11-16 Thread Jeffry Houser
At 09:50 AM 11/16/2004, you wrote: Attributes don't prevent the use of a calculated variable. If you want a calculated variable... set one. Use a method/function. Yet, if you have an attribute like created... it doesn't need to be calculated. This is where it would help to think outside your box

Re: [CFCDev] concerning this / variables scope in cfc

2004-11-16 Thread Patrick McElhaney
On Tue, 16 Nov 2004 09:50:03 -0500, John D Farrar [EMAIL PROTECTED] wrote: Also, who cares if they know the settings names inside the object, they are protected! The CFC may be protected against outside code messing with its state. But the clients of that CFC are not protected against changes

[CFCDev] CFC Not Found

2004-11-16 Thread Brent Nicholas
All - Another dumb question making me feel like a newbie... 'sigh'... I'm completely out of ideas though. Anyway, I get an error: Could not find the ColdFusion Component com.Ricardo.TravelRequest.Security I've checked: It does exist It is in the right folder

RE: [CFCDev] CFC Not Found

2004-11-16 Thread Trond H. Bendiktsen
this is probably not the correct answer, since your other cfc works fine (with mixed case), but: the only time i have had a similar problem, was when my cfcs were on a linux box. even tho i verified that i had used the exact same case, i couldn't actually get it to work until i used only

RE: [CFCDev] CFC Not Found

2004-11-16 Thread Nando
Simply put, what i've found is that if you use mappings, it always works. I set up a directory that is dedicated to the CFC's for an app, set up a mapping to it, and then add a directory structure under that mapped directory if needed. Then you can refer to the cfc from anywhere in your app using

Re: [CFCDev] table DAO

2004-11-16 Thread Doug Keen
I've attached a rough example of a data gateway CFC with different approaches to data filtering. Standard disclaimers apply (untested, may be subject to SQL injection, etc). On Mon, 15 Nov 2004 17:47:57 -0500, Doug Keen [EMAIL PROTECTED] wrote: On Mon, 15 Nov 2004 15:04:30 -0600, Dawson,

RE: [CFCDev] CFC Not Found

2004-11-16 Thread Brent Nicholas
I've got a few replies thus far, thanks for those. I'm not sure what the error was but, I deleted the files. Copied the base cfc framework from another security file and pasted it into a new document. Then renamed the CFC and it's methods. I then saved it as a new filename. It then showed up in

Re: [CFCDev] table DAO

2004-11-16 Thread Steven Boynes
What if the object spans multiple tables that could take advantage of joins? ...how do you "join" the DAOs? I guess really there should be 1 DAO per object, where an object can correspond to one table but does not necessarily. I'm sure you could come up with a way to do joins on the

Re: [CFCDev] [PERIODIC cfcdev DIGEST POSTING]

2004-11-16 Thread Steven Boynes
Hey Chris...I knew there was some reason why I thought I would need "this"in the component I built I was using some recursive calls to serialize and deserialize the data, I was think that the variables would be available to all instances of the class and thats why I put them into the this

RE: [CFCDev] table DAO

2004-11-16 Thread Dave Watts
What if the object spans multiple tables that could take advantage of joins? ...how do you join the DAOs? I guess really there should be 1 DAO per object, where an object can correspond to one table but does not necessarily. I'm sure you could come up with a way to do joins on the

Re: [CFCDev] [PERIODIC cfcdev DIGEST POSTING]

2004-11-16 Thread Ken Ingle
Hey Sean, I saw you mentioned a post on the mach-ii-coldfusion list. We are now developing everything at my office in Mach-ii, can you tell me how to join that list? thanks, Ken. -- Ken Ingle [EMAIL PROTECTED] http://www.kicweb.com/blog

RE: [CFCDev] table DAO

2004-11-16 Thread Marlon Moyer
Okay, you got me there, the select = portion of my DAOs may use joins, i.e joins to get status descriptions = from status codes and such, but the insert and updates only access 1 table = each. Im sure that Ill come up against something that wont quite = fit that way one

Re: [CFCDev] [PERIODIC cfcdev DIGEST POSTING]

2004-11-16 Thread Phil Cruz
http://lists.topica.com/lists/mach-ii-coldfusion/read -Phil On Tue, 16 Nov 2004 16:26:51 -0500, Ken Ingle [EMAIL PROTECTED] wrote: Hey Sean, I saw you mentioned a post on the mach-ii-coldfusion list. We are now developing everything at my office in Mach-ii, can you tell me how to join that

Re: [CFCDev] [PERIODIC cfcdev DIGEST POSTING]

2004-11-16 Thread Ken Ingle
Thank you. -- Ken Ingle [EMAIL PROTECTED] http://www.kicweb.com/blog -- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by

[CFCDev] DTO revisited :)

2004-11-16 Thread Scott Barnes
Heh, I know what you are all thinking Oh god, not again!... Hasn't Barney typed a novel on this subject already? For this I apologise. I noticed that Barney mention earlier on, that a DTO can be used from View -- Model, in that do basic form validation via a DTO, then pass that into a BO for

Re: [CFCDev] DTO revisited :)

2004-11-16 Thread Barney Boisvert
DTO stands for Data Transfer Object, and that's exactly what it does. Its simply a way to pass a bunch of related data around as a single entity. So instead of 50 form fields, I can pass around a single thing that encapsulates all of it. The real use of DTOs is for remote operations, where the

Re: [CFCDev] table DAO

2004-11-16 Thread Joe Rinehart
Marlon, Do you mean that you'd set the status property of the object to the description's value, or you'd use the information from the second table to instantiate a status object as the status property of the main object? -joe On Tue, 16 Nov 2004 15:11:20 -0600, Marlon Moyer [EMAIL PROTECTED]

Re: [CFCDev] DTO revisited :)

2004-11-16 Thread Barney Boisvert
Honestly, I don't know the answers to your questions. I validate my form fields and pass them to my business logic as a bunch of individual fields, rather than using a DTO. At the most, I might use a structure, particular for multi-part forms. The separation of syntactic and semantic validation

Re: [CFCDev] DTO revisited :)

2004-11-16 Thread Scott Barnes
FORM -- UI validation (via controller?) -- DTO created -- DTO feed into Bean -- Severside Validation -- Bean feed into DAO - Call it a Day. Ooops I meant: FORM -- UI Validation -- Bean -- DTO -- DAO -- Call it a day.. Now where did i put that damn Half-Life cd. Scott To unsubscribe

RE: [CFCDev] DTO revisited :)

2004-11-16 Thread Tim Van Der Hulst
DAO -- Call it a day.. Thats great but I still want to know how people are handling DAO/SQL code which was my original question. Java has numerous class generators for this purpose but I don't see much if anything for coldfusion. In my original post I suggested this was due to the ease of

RE: [CFCDev] concerning this / variables scope in cfc

2004-11-16 Thread John D Farrar
Your concerns are valid... could you tell my why it is more of an issue with a object attribute for the consumer of the object than an object function? What is the difference between an attribute called cart.itemCount and cart.getItemCount()? If you changed the function it would mess up the client

Re: [CFCDev] DTO revisited :)

2004-11-16 Thread Barney Boisvert
I know there are at least two such generators publicly available, though I don't know where to find them. A search of the archives should turn up links. I know that several people (myself included) use non-public generators. I haven't written anything except SELECT statements in quite a long

Re: [CFCDev] CFC Not Found

2004-11-16 Thread Joseph Flanigan
Did you check your mappings? Make sure there is no mapping for a single slash /. At 10:13 AM 11/16/2004, you wrote: All - Another dumb question making me feel like a newbie... 'sigh'... I'm completely out of ideas though. Anyway, I get an error: Could not find the ColdFusion Component

RE: [CFCDev] CRUD and Hibernate

2004-11-16 Thread Joseph Flanigan
Have you tried my CFSQLTool? www.switch-box.org At 01:38 PM 11/15/2004, you wrote: Cool ! Anxious to check it out... -Stace http://www.switch-box.org/CFSQLTool/Download/ Switch_box MediaFirm, Inc. www.Switch-box.org Loveland, CO USA