RE: [CFCDev] Nested cftransaction error in CFMX 6.1
First off hello everyone, I'm new here. As to your question I don't know I've not nested them before. You could however read this it may help. http://www.macromedia.com/devnet/mx/coldfusion/articles/cftransaction.html Thanks, BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com From: Timothy Ford [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [CFCDev] Nested cftransaction error in CFMX 6.1 Date: Thu, 17 Jun 2004 10:01:05 -0400 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc8-f36.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Thu, 17 Jun 2004 07:01:43 -0700 Received: from mail02.intra.awayx.com [68.236.64.135] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A4346D00126; Thu, 17 Jun 2004 07:01:24 -0700 Received: from mail01.intra.awayx.com ([10.2.4.229]) by mail02.intra.awayx.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 17 Jun 2004 10:01:05 -0400 X-Message-Info: JGTYoYF78jE9e3F2AVL9SgpnTiCFaIs+ Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Nested cftransaction error in CFMX 6.1 Thread-Index: AcRUdA2hxR5542x3SUeLK2WRbLNgSg== Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 17 Jun 2004 14:01:05.0325 (UTC) FILETIME=[88057DD0:01C45473] X-RBL-Warning: HELOBOGUS: Domain mail02.intra.awayx.com has no MX or A records. X-Declude-Sender: [EMAIL PROTECTED] [68.236.64.135] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: HELOBOGUS [3] Precedence: bulk Anyone ever get this error with nested transactions in 6.1? Nested transactions are not supported. You cannot nest a cftransaction tag within another cftransaction tag. Check for a cftransaction tag on the page that called the CFC. They worked in 6.0. Anyone know of a resolution? Thanks Tim -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
[CFCDev] Data passing to CFC's
Hello all - What is the best way to go about this, or is it just a matter of personal choice? I am using a CFC to insert records of employees(emp_id), departments(dept_id), and a related RecordSequence(ItemSeq). The interface may pass one set (1 employee, 1 dept for them, and the related record item) ex: emp_id = BN2 / dept_id=951 / ItemSeq=45 or many sets (5 employees, a dept for each one, and the common related record item) emp_id = BN2 / dept_id=951 / ItemSeq=45 emp_id = SKI / dept_id=456 / ItemSeq=45 emp_id = JPK / dept_id=912 / ItemSeq=45 emp_id = LKH / dept_id=311 / ItemSeq=45 emp_id = CAP / dept_id=952 / ItemSeq=45 The question is: Should I loop over the data, calling the cfc each time to insert one record, or place the contents in an array of structures and pass the whole thing to the CFC and let it do the work? or other? Thanks, Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
[CFCDev] OT: Code Visualization
All, This is a bit OT but maybe with all the expertise in the room maybe people could offer some opinions. Where I work we build applications with CFMX using CFC's, Fusebox2/3, and a hodge-podge of other techniques depending on what the task at hand is. Most of the applications are getting to be HUGE to say the least. We do our best to factor them down to modules that interact with the whole system to keep it manageable, but still the code depth (calls to includes, CFC's and custom tags) can get deep when it comes to long user processes (Entering a business lead with full details.) or reporting the data from these large applications. At times I find that the spec has totally morphed by the time we are close to launch (aka an app with a lot of 'stuff' bolted on). At times it gets to the point where it needs to be totally re-written, or I should say re-organized and tweaked since most of the code does what you want, but it could be structured better for future growth. I know the spec should be in stone, but since we build software to help the company manage its self at the 'speed of business' we need to respond to the changing needs or mis-understood req's. Either way, where I'm going with this is to ask: How do you look at your code to re-organize it, tweak it, and get a birds eye view of what it's doing and how it's structured? Right now I print it all out, tape the sheets together into TP Code as I call it. Then I out line blocks, cut it up with scissors, re-arrange them and so on. I also have to print my CFC docs and CFC code and do the same. This works, but isn't really all that 'smooth' productivity wise and my boss laughs at me a lot asking where my Elmers paste is and if I ate it all. :) Are there any tools to help me view what is in place and do these things on the computer instead of sprawled out on the floor of a conference room? A touch screen the size of my wall would be great.. but I doubt that will happen anytime soon. Thanks, Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 On the other hand, you have different fingers... - some WiseAss -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
[CFCDev] CFC's Refreshing and MX 6.1
All - I'm wondering if anyone has run across this yet. I am working on my cfc's on the dev server. When I run the code that uses them, it's as if the changes were never made to the CFC file (even though the file date changes). I even went from the CFC returning a query to passing back a string just to see if it might knock something loose. Only if I call the CFC incorrectly in the invokation does it fail. All other code around it updates fine. I just updated from MX6.0 to MX6.1 this morning, but it's never made things weird before?? I'm pretty sure it worked fine after I did the update too. I was doing some coding right afterwards. I then went to lunch.. and blammo it was doign this when I came back. Ideas? Thanks, Brent Nicholas Application Architect / Developer Ricardo Inc. Detroit Technical Center 4 Ricardo Drive Van Buren Township, MI 48111 phone 734.394.3808 fax 734.394.3838 [EMAIL PROTECTED] http://www.ricardo.com -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
Re: [CFCDev] CFC's Refreshing and MX 6.1
Ok, that did it. Thanks Ben. BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 From: Ben Curtis [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [CFCDev] CFC's Refreshing and MX 6.1 Date: Mon, 26 Jul 2004 12:33:13 -0700 MIME-Version: 1.0 (Apple Message framework v618) Received: from cfczone.org ([69.43.131.101]) by mc9-f38.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 26 Jul 2004 12:34:32 -0700 Received: from smtp.websciences.org [67.17.249.6] by nerve.mindtool.com (SMTPD32-7.15) id AC9D26FB0094; Mon, 26 Jul 2004 12:33:49 -0700 Received: (qmail 7324 invoked from network); 26 Jul 2004 19:50:42 - Received: from unknown (HELO ?192.168.1.79?) (67.17.249.5) by smtp.websciences.org with SMTP; 26 Jul 2004 19:50:42 - X-Message-Info: JGTYoYF78jE6QTaOi2/IS73tbrjQ60yT In-Reply-To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] X-Mailer: Apple Mail (2.618) X-Declude-Sender: [EMAIL PROTECTED] [67.17.249.6] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: IPNOTINMX [0] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 26 Jul 2004 19:34:32.0710 (UTC) FILETIME=[93766A60:01C47347] I am working on my cfc's on the dev server. When I run the code that uses them, it's as if the changes were never made to the CFC file (even though the file date changes). Log into your CF admin, and click Caching on the left. Save Class Files needs to be unchecked on your dev machine. -- Ben Curtis WebSciences International http://www.websciences.org/ v: (310) 478-6648 f: (310) 235-2067 -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
RE: [CFCDev] Source Control
Hey - We use MS-VSS here, I don't know about the 5K price. We use it for 3 developers and I don't think it cost that much. I like it alot, it's very easy to use and HomeSite can leverage it. It also does everything you were looking for. As you prolly already know. I really dig the way you can just grab the file db and drop it on a new VSS server and go. Hope that was helpfull. BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] From: Ryan Duckworth [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [CFCDev] Source Control Date: Tue, 19 Oct 2004 14:14:27 -0500 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc10-f13.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue, 19 Oct 2004 12:15:48 -0700 Received: from emailserver.welcomelink.com [65.212.60.131] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A7E098B30094; Tue, 19 Oct 2004 12:15:44 -0700 X-Message-Info: JGTYoYF78jF6R6JE73WRFFVkdaJYWqSd Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Source Control Thread-Index: AcS1UMdcNjt1MdRfR4eiQKDv2XK09gAvwVoA X-RBL-Warning: OSRELAY: Relays.osirusoft.com has not had valid data in over a year X-Declude-Sender: [EMAIL PROTECTED] [65.212.60.131] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY, IPNOTINMX [5] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 19 Oct 2004 19:15:48.0153 (UTC) FILETIME=[0A496290:01C4B610] Any suggestions on source control products? I have looked into: - Visual Source Safe ($5000+) -CVS -CVS NT -Tortoise -WIN CVS What is everyone using and how good is it??? Functionality I prefer: -Ability to check-in / out files -History of changes -Integration w/ Homesite is a plus but not required. The first time I tried MS Visual SS it was very easy to integrate with. I have tried using CVS, but had problems getting everything setup smoothly. Management would rather take the free choice over the expensive one. Suggestions please!!! Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
RE: [CFCDev] Source Control
2 cents - I found this thread to be of value. It helped me to become aware of other VersionControl systems. I also agree with your position on short burst threads. BN From: Raymond Camden [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [CFCDev] Source Control Date: Tue, 19 Oct 2004 16:07:49 -0500 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc1-f20.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue, 19 Oct 2004 14:09:03 -0700 Received: from lakermmtao04.cox.net [68.230.240.35] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A274B1D90066; Tue, 19 Oct 2004 14:09:08 -0700 Received: from Jedi ([68.226.130.34]) by lakermmtao04.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED]; Tue, 19 Oct 2004 17:07:52 -0400 X-Message-Info: JGTYoYF78jGQ49kVK5d+5RreQAYjCFbY X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcS2Hy5JA8+YQZT3QrGGnsrseQ7jegAAFLxQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] X-RBL-Warning: OSRELAY: Please stop using relays.osirusoft.com X-Declude-Sender: [EMAIL PROTECTED] [68.230.240.35] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY, IPNOTINMX [5] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 19 Oct 2004 21:09:03.0731 (UTC) FILETIME=[DCC44C30:01C4B61F] As one of the list admins here - I think the rule has always been - it is ok to go OT for short bursts, but prolonged activity should be avoided. This was exactly that, a short burt of posts, and Officially I don't mind. That being said, if people object, I ask that you please email myself and Rob Brooks-Bilson offlist and let us know. === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Dintenfass Sent: Tuesday, October 19, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] Source Control I'm going to kick myself for pursuing this, but CFCDev is not a general-purpose CF list. There are lots of other places for that -- this list was created specifically for talking about CFC development and associated things (like OO concepts used to build CFCs). -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
RE: [CFCDev] CFC Cohesion
For the calculations that are repetitive, would a UDF be a good solution? Or does that move us away from the OO goal? BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Wayne Graham [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [CFCDev] CFC Cohesion Date: Tue, 9 Nov 2004 11:08:24 -0500 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc11-f33.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue, 9 Nov 2004 08:08:52 -0800 Received: from md4001.it.wm.edu [128.239.35.14] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id ABD0892100BE; Tue, 09 Nov 2004 08:09:52 -0800 Received: from wgraham (wm73-106.admin.wm.edu [128.239.106.73])by md4001.it.wm.edu (MOS 3.5.5-GR)with ESMTP id BMT09306 (AUTH wsgrah);Tue, 9 Nov 2004 11:08:25 -0500 (EST) X-Message-Info: JGTYoYF78jHCHiK/AYBH53iih7wwIdJr Message-Id: [EMAIL PROTECTED] X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: [EMAIL PROTECTED] Thread-Index: AcTGb8FNg1z9G8IORDKw2Z0JyGptGwACQVGwAADR4yA= X-RBL-Warning: OSRELAY: Please stop using relays.osirusoft.com X-Declude-Sender: [EMAIL PROTECTED] [128.239.35.14] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY, IPNOTINMX [5] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Nov 2004 16:08:52.0975 (UTC) FILETIME=[6831C7F0:01C4C676] Someone can correct me if I'm wrong, but if you create a reference to the cfc object in memory with cfobject, or the createObject function, you can refer to the object without recreating the object, but run functions from within the object with very little overhead. If you'd like to see how one OO solution organizes its function calls, take a look at Jakarta's Commons Math project (http://jakarta.apache.org/~psteitz/commons-math-1.0-RC1/). Wayne http://pgp.mit.edu/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Clement Sent: Tuesday, November 09, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] CFC Cohesion So the component would have an init() function that would process all calculations that have other calculations depend on them? Since the real app has around 30 calculations (and growing!) with some fairly complex relationships, this might create some unnecessary(?) overhead. Anyway, from what you say, it sounds like it's okay practice to dump them all in one CFC and then just have the component call its own methods as needed for each calculation - I think... :) Cheers, Sam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nando Sent: Tuesday, November 09, 2004 10:18 AM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] CFC Cohesion I'm pretty much a beginner myself, but as a general plan, i would do calculation A on the init, store it in the variables scope, and then access result A for functions B, C, D and E, if that makes sense. Store result B in variables scope and use it for C, etc. From what you describe, it seems you just need to make sure that the obj is initialized to the point where it can handle any of those functions. It doesn't seem to me like you'd need to make separate objects, necessarily, to have this FinancialObj be cohesive, it does financial calculations. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sam Clement Sent: Tuesday, November 09, 2004 4:55 PM To: [EMAIL PROTECTED] Subject: [CFCDev] CFC Cohesion I'm working on a small financial site that uses a lot of financial formulae (duh). I'm also an OO newbie and trying to get up to speed on the methodology with this project (using machii). Since a lot of the financial formulae are dependent upon each other, one of the troubles I'm having is with the separation of the business logic into small, 'do one thing well' type pieces. For example, if there are 5 calculations that need to be made: A, B, C, D and E: A is a simple calculation on values stored in the db B uses A values to make its calculation C uses A and B values, and the previous date's value of C for its calculation Etc. With this set up I'm having difficulty creating cohesive objects. There seems too much dependency between each calculation to really separate them. Separating them into individual components just seems to create a string of dependent objects. Perhaps I should be creating parent objects that tie these smaller calculation objects together? Any advice appreciated. Cheers, Sam Sam Clement ABOVE Studios Boutique Design Solutions http://www.abovestudios.com/ 32 Clifford St - Belmont Trinidad + Tobago - West Indies T: (868) 621 5159 W: abovestudios.com http://www.abovestudios.com
[CFCDev] CFC Error - Name Can't be empty
Ok, so I've run into this from time to time and I can never seem to really figure it out. I'm not passing WorkFlowCode param in and I shouldn't need to but it errors out. Something obvious I'm overlooking? It throws up on: cfif ARGUMENTS.WorkFlowCode neq Code: !--- GetAuditWorkflow --- cffunction name=GetAuditWorkflow access=public returntype=query output=No displayname=Get workflow action id's and people for audit. hint=Get workflow action id's and people for audit and workflow type. cfargument name=DATASOURCE type=string required=Yes default= cfargument name=IawpAuditSeq required=Yes type=string cfargument name=WorkFlowCode required=No default= type=string cfquery name=GetAuditWorkflow datasource=#ARGUMENTS.datasource# SELECT PERSON_ID ,WORKFLOW_ACTION_ID ,CREATED_BY FROM IAWP_WORKFLOW WHERE IAWP_AUDIT_SEQ = '#ARGUMENTS.IawpAuditSeq#' cfif ARGUMENTS.WorkFlowCode neq AND WORKFLOW_CODE = '#ARGUMENTS.WorkFlowCode#' /cfif /cfquery cfreturn GetAuditWorkflow /cffunction Thanks for your time - Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
[CFCDev] CFC Not Found
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 (/com/Ricardo/TravelRequest/Security.cfc) It is named properly in the file name and in the DisplayName property of the component body. I have restarted the CF service and the server. It doesn't show up in the CFC Browser either?? I had this issue when I first started with CFC's back in March, but never since then. I do have another CFC named Security, in another folder com.Ricardo.InternalAudit.Security or /com/Ricardo/InternalAudit/Security.cfc (however you like to think about it) Thoughts? Thanks, Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Patrick McElhaney [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [CFCDev] concerning this / variables scope in cfc Date: Tue, 16 Nov 2004 11:16:30 -0500 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc4-f23.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue, 16 Nov 2004 08:17:52 -0800 Received: from rproxy.gmail.com [64.233.170.202] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A8419A4C00CA; Tue, 16 Nov 2004 08:18:09 -0800 Received: by rproxy.gmail.com with SMTP id q1so807916rnffor [EMAIL PROTECTED]; Tue, 16 Nov 2004 08:16:30 -0800 (PST) Received: by 10.38.104.77 with SMTP id b77mr232290rnc;Tue, 16 Nov 2004 08:16:30 -0800 (PST) Received: by 10.38.74.55 with HTTP; Tue, 16 Nov 2004 08:16:30 -0800 (PST) X-Message-Info: JGTYoYF78jHMNh+PtRtEIJrqnL3Xae96 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=kLSJy5kieR9sdjdqirLOt1nh85s88JlpyT6TSPTBMA/up5XBjvbuVr7uMFzbzP6pYSEeJLqJ69WMTpdT+pP5u9uuleKf7HmNdETSRGsvmbvxsQAUJht7Ts6XXQMYUQ4sAfWNrTgxpLKCwiXF0ZK1CwG/SmtDhxlB8GDRNplZ+uI= Message-ID: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] X-RBL-Warning: OSRELAY: Please stop using relays.osirusoft.com X-Declude-Sender: [EMAIL PROTECTED] [64.233.170.202] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY, IPNOTINMX [5] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 16 Nov 2004 16:17:52.0331 (UTC) FILETIME=[D29139B0:01C4CBF7] 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 made to its implementation. Most of the time I'm not worried about code using my CFC incorrectly* (provided that the correct contract is clearly specified). If it does it won't break any of the other code. What I am worried about is being able to change the CFC without breaking code that uses it. (I don't want to track down all of those references, fix them, test, and redeploy. That's usually a lot of work. It's often impossible.) So I seperate the CFC into two parts. The public parts, known as the interface, contract, specification, or what, will never change. The private parts, known as the implementation or how, may change as the code evolves, as requirements change, to improve performance or readability, or some other reason. Often one CFC will be substituted with another CFC that has the same interface but a different implementation. The client code is blissfully unaware of the fact that it's working with two or more different CFCs. Patrick * As a courtesy to the programmers using the CFC (myself always included) I may try to make it difficult if not impossible to use the CFC incorrectly. -- Patrick McElhaney 704.560.9117 http://pmcelhaney.blogspot.com -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED] -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
RE: [CFCDev] CFC Not Found
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 the CFC Browser. I then renamed the cfc and it's methods back to what they were from the original pasted copy. This again showed up in the CFC Browser unlike the previous times, thus the need for the post. The common thread was that last time when it was not working, I had copied the file from an other CFC folder, pasted it into my current project folder and began to edit it. That's when it wouldn't show up in the CFC browser for what ever reason. When the CFC was created from a new doc, but with identical contents it worked fine. BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
RE: [CFCDev] Arrays and Web Services
I was ok just creating an array that CF would make by default. Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Justin Balog [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [CFCDev] Arrays and Web Services Date: Wed, 1 Dec 2004 16:54:27 -0700 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc12-f21.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 1 Dec 2004 15:54:45 -0800 Received: from mail.lakewood.org [63.146.91.67] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id AA1A3A3B0056; Wed, 01 Dec 2004 15:56:10 -0800 Received: from Unknown [63.146.91.69] by mail.lakewood.org - SurfControl E-mail Filter (5.0); Wed, 01 Dec 2004 16:58:00 -0700 Received: from waimea.lakewood.org ([172.16.0.34]) by magnum.lakewoodco.org with Microsoft SMTPSVC(5.0.2195.6713); Wed, 1 Dec 2004 16:54:27 -0700 Received: by waimea.lakewood.org with Internet Mail Service (5.5.2657.72)id XN430T8D; Wed, 1 Dec 2004 16:54:27 -0700 X-Message-Info: JGTYoYF78jGy224PT0O8B+2/ZeeFq1Nm X-Mailer: Internet Mail Service (5.5.2657.72) Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 01 Dec 2004 23:54:27.0658 (UTC) FILETIME=[17A6A2A0:01C4D801] X-RBL-Warning: OSRELAY: Relays.osirusoft.com has not had valid data in over a year X-Declude-Sender: [EMAIL PROTECTED] [63.146.91.67] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY [2] Precedence: bulk Howdy, I have a web service that requires an array of strings as an input. Below is a snipet from the WSDL (let me know if you need more). schema xmlns=http://www.w3.org/2001/XMLSchema; targetNamespace=http://enya/webservice/services/CourtScheduleAccess; import namespace=http://schemas.xmlsoap.org/soap/encoding// complexType name=ArrayOf_xsd_string complexContent restriction base=soapenc:Array attribute ref=soapenc:arrayType wsdl:arrayType=xsd:string[]/ /restriction /complexContent /complexType /schema /wsdl:types wsdl:message name=assignActivityRequest wsdl:part name=employeeReferences type=impl:ArrayOf_xsd_string/ wsdl:part name=startDateTime type=xsd:dateTime/ wsdl:part name=endDateTime type=xsd:dateTime/ wsdl:part name=activityName type=xsd:string/ wsdl:part name=assignmentNote type=xsd:string/ /wsdl:message Will I need to cast a CF array to a speciffc type, or should I be fine passing a CF array to the Web Service? Thanks in advance for your help. Take care, Justin -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED] -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
RE: [CFCDev] Arrays and Web Services
Yeah, I'm not sure about the rest you have there. I just created an array, passed it to the WebService on JRun... and it was good. ;) Then I rested. BN From: Justin Balog [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: [CFCDev] Arrays and Web Services Date: Thu, 2 Dec 2004 10:43:52 -0700 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc6-f1.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Dec 2004 09:44:21 -0800 Received: from mail.lakewood.org [63.146.91.67] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A4BB34AE0076; Thu, 02 Dec 2004 09:45:31 -0800 Received: from Unknown [63.146.91.69] by mail.lakewood.org - SurfControl E-mail Filter (5.0); Thu, 02 Dec 2004 10:47:25 -0700 Received: from waimea.lakewood.org ([172.16.0.34]) by magnum.lakewoodco.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Dec 2004 10:43:52 -0700 Received: by waimea.lakewood.org with Internet Mail Service (5.5.2657.72)id XN430WKH; Thu, 2 Dec 2004 10:43:52 -0700 X-Message-Info: JGTYoYF78jG461Y4Wy3JgnJu5V1ba2Mf X-Mailer: Internet Mail Service (5.5.2657.72) Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 02 Dec 2004 17:43:52.0581 (UTC) FILETIME=[7CECE350:01C4D896] X-RBL-Warning: OSRELAY: Please stop using relays.osirusoft.com X-Declude-Sender: [EMAIL PROTECTED] [63.146.91.67] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY [2] Precedence: bulk Thanks for the info, I was looking at the livedocs, and they mentioned that if the array if of consistent data types, CF will automatically map to an array of x[] type? The livedocs were referencing java data types, but I am guessing it would be the same for WS? Thanks again, Justin -Original Message- From: Brent Nicholas [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 5:12 PM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] Arrays and Web Services I was ok just creating an array that CF would make by default. Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Justin Balog [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [CFCDev] Arrays and Web Services Date: Wed, 1 Dec 2004 16:54:27 -0700 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc12-f21.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 1 Dec 2004 15:54:45 -0800 Received: from mail.lakewood.org [63.146.91.67] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id AA1A3A3B0056; Wed, 01 Dec 2004 15:56:10 -0800 Received: from Unknown [63.146.91.69] by mail.lakewood.org - SurfControl E-mail Filter (5.0); Wed, 01 Dec 2004 16:58:00 -0700 Received: from waimea.lakewood.org ([172.16.0.34]) by magnum.lakewoodco.org with Microsoft SMTPSVC(5.0.2195.6713); Wed, 1 Dec 2004 16:54:27 -0700 Received: by waimea.lakewood.org with Internet Mail Service (5.5.2657.72)id XN430T8D; Wed, 1 Dec 2004 16:54:27 -0700 X-Message-Info: JGTYoYF78jGy224PT0O8B+2/ZeeFq1Nm X-Mailer: Internet Mail Service (5.5.2657.72) Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 01 Dec 2004 23:54:27.0658 (UTC) FILETIME=[17A6A2A0:01C4D801] X-RBL-Warning: OSRELAY: Relays.osirusoft.com has not had valid data in over a year X-Declude-Sender: [EMAIL PROTECTED] [63.146.91.67] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY [2] Precedence: bulk Howdy, I have a web service that requires an array of strings as an input. Below is a snipet from the WSDL (let me know if you need more). schema xmlns=http://www.w3.org/2001/XMLSchema; targetNamespace=http://enya/webservice/services/CourtScheduleAccess; import namespace=http://schemas.xmlsoap.org/soap/encoding// complexType name=ArrayOf_xsd_string complexContent restriction base=soapenc:Array attribute ref=soapenc:arrayType wsdl:arrayType=xsd:string[]/ /restriction /complexContent /complexType /schema /wsdl:types wsdl:message name=assignActivityRequest wsdl:part name=employeeReferences type=impl:ArrayOf_xsd_string/ wsdl:part name=startDateTime type=xsd:dateTime/ wsdl:part name=endDateTime type=xsd:dateTime/ wsdl:part name=activityName type=xsd:string/ wsdl:part name=assignmentNote type=xsd:string/ /wsdl:message Will I need to cast a CF array to a speciffc type, or should I be fine passing a CF array to the Web Service? Thanks in advance for your help. Take care, Justin -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED
RE: [CFCDev] Upload Tab Delimited file
There was also a good article on this in the most recent CF Dev Jounal, called Thinking Outside the Table by Tom Peer. That is if you wish to stay in CF when doing this. Also, if your Oracle table is multi-master replicated be sure to 'commit' after every insert or it will quesk (sp?). BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Schreck, Tom [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [CFCDev] Upload Tab Delimited file Date: Tue, 7 Dec 2004 10:14:39 -0600 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc3-f5.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue, 7 Dec 2004 08:15:15 -0800 Received: from a.mx.dresserinc.com [57.69.48.6] by nerve.mindtool.com (SMTPD32-7.15) id A7611057007C; Tue, 07 Dec 2004 08:16:33 -0800 Received: (qmail 7475 invoked from network); 7 Dec 2004 16:14:52 - Received: from unknown (HELO dalexch3.DRESSER) (10.24.0.56) by a.mx.dresserinc.com with SMTP; 7 Dec 2004 16:14:52 - Received: by dalexch3.DRESSER with Internet Mail Service (5.5.2657.72)id WYTS9M2Q; Tue, 7 Dec 2004 10:14:49 -0600 X-Message-Info: JGTYoYF78jH+ylw0ow1dn/rrrtma7KfQ X-Mailer: Internet Mail Service (5.5.2657.72) X-RBL-Warning: OSRELAY: Please stop using relays.osirusoft.com X-Declude-Sender: [EMAIL PROTECTED] [57.69.48.6] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY [2] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 07 Dec 2004 16:15:15.0197 (UTC) FILETIME=[EF953AD0:01C4DC77] What's the best approach to uploading a tab delimited file using ColdFusion? I'm working in an Oracle environment and I'm new to Oracle. So, for right now I have to use ColdFusion. I am using cfhttp to turn file into a recordset. I'm looping over the recordset and am doing an insert statement for each record. This is timing out and seems overkill. Is there a way to do a bulk insert from a recordset into a table? Thanks - Tom -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
RE: [CFCDev] sending complex types to webservices
I'm just a bit unclear on what you are doing, I consume WebServices here at work using a CFC. We have a web service that requires data be passed in as an array of structs. it works fine, but I know nothing about the web service side of things. Other thing that comes to mind is, Are you setting the correct returntype? Heres the code I use to talk to the web service: (all inside a CFC in a function block) ---code start--- CFSET ccUsers = ArrayNew(1) CFSET ccCount = 1 cfloop list=#ARGUMENTS.ccUsers# index=iCC delimiters=, CFSET userCC = structNew() CFSET userCC.userName = iCC CFSET ccUsers[ccCount] = userCC CFSET ccCount = ccCount + 1 /cfloop cfscript user = structNew(); user.userName = ARGUMENTS.CreatedBy; approver = structNew(); approver.userName = ARGUMENTS.Recipient; recipients = ArrayNew(1); recipients[1] = approver; createActionRequestBean = structNew(); createActionRequestBean.actionName = ARGUMENTS.actionName; createActionRequestBean.applicationID = ARGUMENTS.applicationID; createActionRequestBean.applicationLink = ARGUMENTS.approvalURL; createActionRequestBean.applicationName = ARGUMENTS.applicationName; createActionRequestBean.rejectionMode = ARGUMENTS.rejectionMode; createActionRequestBean.workFlowType = ARGUMENTS.workFlowType; createActionRequestBean.extraEmailBody = ARGUMENTS.note; createActionRequestBean.reminderPeriod = DateAdd(h,ARGUMENTS.reminderPeriod,createDate(1970, 1, 7)); createActionRequestBean.rolloverPeriod = ARGUMENTS.rolloverPeriod; createActionRequestBean.startDate = now(); createActionRequestBean.startRolloverDate = ARGUMENTS.startRolloverDate; createActionRequestBean.user = user; createActionRequestBean.recipients = recipients; createActionRequestBean.ccUsers = ccUsers; ws = createObject(webservice, #ARGUMENTS.WebServiceSource#); response = ws.CreateAction(createActionRequestBean); /cfscript ---code end--- Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Thomas Chiverton [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: [CFCDev] sending complex types to webservices Date: Thu, 9 Dec 2004 11:02:03 + MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc12-f6.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Thu, 9 Dec 2004 03:02:50 -0800 Received: from monitor.bluefinger.com [195.173.84.2] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A11820B70068; Thu, 09 Dec 2004 03:03:52 -0800 X-Message-Info: JGTYoYF78jHRvGQ2Xwlpz1GYunhqiCv8 X-RBL-Warning: OSRELAY: Please stop using relays.osirusoft.com X-Declude-Sender: [EMAIL PROTECTED] [195.173.84.2] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY [2] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Dec 2004 11:02:50.0776 (UTC) FILETIME=[9FDD1180:01C4DDDE] As per the CF docs, I'm trying to construct a CFC to represent the transfer objects for a webservice I am invoking. And it doesn't work, but a struct *with identical fields to the CFCs cfproperty tags* does ! The CFC version fails on the cfinvoke tag with Could not perform web service invocation createZone because java.lang.IllegalArgumentException: argument type mismatch Does cfinvoke expect a struct rather than 'any' type or something ? There are indications on http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webser39.htm that other people have had the same problem. I suppose I could give my TO CFC a .toStruct(), but that isn't right according to the docs - argh ! Anyone else consuming web services with complex arguments ? The stuct: struct ALARMRANGE 0 CHANGEDATE 0 ID -1 NAMEHead Office ?, Harpenden OWNERID 426 OWNERTYPE 1 PLATFORMID 0 VERSION 0 ZONEACTIVE 1 ZONETYPE1 The CFC: component com.bluefinger.saffire.zone.TO NAME Head Office ?, Harpenden CHANGEDATE 0 OWNERID 426 PLATFORMID 0 ZONEACTIVE 1 VERSION 0 ID -1 ZONETYPE 1 OWNERTYPE 1 ALARMRANGE 0 -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44 (0)1749 834900 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834XXX web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us
[CFCDev] WebService
All - I apologize for being off topic, but the DevForum is down on Macromedia's CF Dev site. Is there another general CFMX questions forum similiar to this? (Less chat/more results.) Ok, the question. I always get this after I restart the CFMX service when calling a web service. Message: Could not generate stub objects for web service invocation. Detail: Name: WorkFlow. WSDL: http://r-world/services/WorkFlowService?wsdl. org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Missing whitespace before SYSTEM literal URI. It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors. I've talked to the CF Support team at Macromedia through our service plan to no avail. So I'm left with a SchedTask that checks the service every ten mins and refreshes it if it fails. Problem is I don't know how to programticly refresh a web service in CFMX. I tried: http://dtc-rnet/cfide/administrator/extensions/webservices.cfm?wsname=Workflowaction=refreshcfadminPassword=PassWordHere But I get the password screen instead of loging in and refreshing. Other thoughts? Thanks again - Brent Nicholas Application Architect / Developer Ricardo Inc. Detroit Technical Center 4 Ricardo Drive Van Buren Township, MI 48111 phone 734.394.3808 fax 734.394.3838 [EMAIL PROTECTED] http://www.ricardo.com --- Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
Re: [CFCDev] WebService
This was the answer exactly, thank you. BN From: Bill Rawlinson [EMAIL PROTECTED] Reply-To: cfcdev@cfczone.org To: cfcdev@cfczone.org Subject: Re: [CFCDev] WebService Date: Tue, 18 Jan 2005 00:53:48 -0500 MIME-Version: 1.0 Received: from cfczone.org ([69.43.131.101]) by mc5-f29.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 17 Jan 2005 21:54:13 -0800 Received: from rproxy.gmail.com [64.233.170.194] by nerve.mindtool.com with ESMTP (SMTPD32-7.15) id A4E932E0070; Mon, 17 Jan 2005 21:55:53 -0800 Received: by rproxy.gmail.com with SMTP id g11so60635rnefor cfcdev@cfczone.org; Mon, 17 Jan 2005 21:53:48 -0800 (PST) Received: by 10.38.90.62 with SMTP id n62mr5177rnb;Mon, 17 Jan 2005 21:53:48 -0800 (PST) Received: by 10.38.71.7 with HTTP; Mon, 17 Jan 2005 21:53:48 -0800 (PST) X-Message-Info: JGTYoYF78jFXo46UjDBbZ2J5G1yP6StLAtIfI7UxPOY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=WCJPmhzoxD4X4jiDzP6OpTV0OGvTL4kOeSFKDrWdFCr2ciWse/s3Dws5oqK7BC+SS1PiWoHHUZe3BDLDIZAIasj/uXGHa90ZayI1R5UABJLUZpKgKzYpTZQ+joRRoZHKkdnWuj4bKc9G3c+nhm7C8RbalQh0p9OiOlp+sT2zlmE= References: [EMAIL PROTECTED] [EMAIL PROTECTED] X-RBL-Warning: SPAMHEADERS: This E-mail has headers consistent with spam [480e]. X-Declude-Sender: [EMAIL PROTECTED] [64.233.170.194] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Spam-Tests-Failed: OSRELAY, IPNOTINMX, SPAMHEADERS [8] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 18 Jan 2005 05:54:13.0623 (UTC) FILETIME=[234DC070:01C4FD22] I don't know if this will help you but a couple months back someone posted a link to this blog post that discusses programatic refresh of web services: http://www.bpurcell.org/blog/index.cfm?mode=entryentry=965 I have not read it though so, I'm just repeating :O) Hope it helps. Bill On Mon, 17 Jan 2005 14:55:30 -0500, Brent Nicholas [EMAIL PROTECTED] wrote: All - I apologize for being off topic, but the DevForum is down on Macromedia's CF Dev site. Is there another general CFMX questions forum similiar to this? (Less chat/more results.) Ok, the question. I always get this after I restart the CFMX service when calling a web service. Message: Could not generate stub objects for web service invocation. Detail: Name: WorkFlow. WSDL: http://r-world/services/WorkFlowService?wsdl. org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Missing whitespace before SYSTEM literal URI. It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors. I've talked to the CF Support team at Macromedia through our service plan to no avail. So I'm left with a SchedTask that checks the service every ten mins and refreshes it if it fails. Problem is I don't know how to programticly refresh a web service in CFMX. I tried: http://dtc-rnet/cfide/administrator/extensions/webservices.cfm?wsname=Workflowaction=refreshcfadminPassword=PassWordHere But I get the password screen instead of loging in and refreshing. Other thoughts? Thanks again - Brent Nicholas Application Architect / Developer Ricardo Inc. Detroit Technical Center 4 Ricardo Drive Van Buren Township, MI 48111 phone 734.394.3808 fax 734.394.3838 [EMAIL PROTECTED] http://www.ricardo.com --- Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- [EMAIL PROTECTED] http://blog.rawlinson.us I have 9 gmail invites,want one? -- 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 CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- 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 CFCZone
Re: [CFCDev] cfc organisation
No comment on the calling of the methods, but at work I keep all the cfc's in a folder struct like: com.Ricardo.[NameOfApp].[cfcName] ex: com.Ricardo.InternalAudit.Audit com.Ricardo.InternalAudit.AuditParticipants com.Ricardo.TravelRequest.Hotel com.Ricardo.TravelRequest.Car com.Ricardo.TravelRequest.Airports com.Ricardo.TravelRequest.TravelRequest Keeping your CFC's clean and on context is important, as the app grows at design time it remains easy to know what's where. There is some debate here about if we should just keep the cfc's for each app in the folders with the dsp_ (display files) for that app. Personally I'm against this. I prefer a structure of organizational resources seperate from the UI. 2cents Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Jeff Anderson [EMAIL PROTECTED] Reply-To: CFCDev@cfczone.org To: CFCDev@cfczone.org Subject: Re: [CFCDev] cfc organisation Date: Wed, 9 Mar 2005 08:28:46 -0500 MIME-Version: 1.0 Received: from cflib.org ([199.231.128.19]) by mc2-f42.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Mar 2005 05:31:35 -0800 Received: from rproxy.gmail.com ([64.233.170.199]) by cflib.org with MailEnable ESMTP; Wed, 09 Mar 2005 08:24:25 -0500 Received: by rproxy.gmail.com with SMTP id b11so217361rnefor CFCDev@cfczone.org; Wed, 09 Mar 2005 05:28:46 -0800 (PST) Received: by 10.38.24.17 with SMTP id 17mr754869rnx;Wed, 09 Mar 2005 05:28:46 -0800 (PST) Received: by 10.39.1.27 with HTTP; Wed, 9 Mar 2005 05:28:46 -0800 (PST) X-Message-Info: yilqo4+6kc4iO6nZzqt4fH72Y8TW/XPxPEcqElyAWEo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ITzi66XrP0BkikiICZCa8zzAJFANRvo+r+7hrIM/nBPJKJeHMc8TIA8R9jcl1o5rARoIwtNpjsZx2snn0LuLMyZ/WPNGf4chIIxfBfqKrK95VDTgTVNH7grTskVJt20EtG0lMh8QjZ+F+RhtfzjjbagI2MlMTuY0D0U6RHYIFq0= References: [EMAIL PROTECTED] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 09 Mar 2005 13:31:35.0542 (UTC) FILETIME=[509DC960:01C524AC] Duncan: As long as you have an instance of the CFC to work with, you can call any method as many times as you want. Sorting is more of preference. I know a lot of people tend to keep keep all of there CFCs in one folder that is mapped in the cfadmin. Good luck! -Jeff On Wed, 9 Mar 2005 13:46:13 +1100, Duncan [EMAIL PROTECTED] wrote: Hi everyone, I am just trying to get to grips with CFC's and I just took one of our CustomTags from a CF4.5 app and made it in to a CFC for a v7 app. First of all may I say how easy it was to make it. Just brilliant. The cfc in question takes a struct (like attributes) and converts all the key value pairs in it to a URL of Form hidden fields format for easy inclusion in a href or form. You can specify exceptions that dont get converted as well. Now this could get used 3 or 4 times in a request and I was wondering if I can invoke it once and then call upon the method as and when I need it, but with different variables. Maybe chuck it in at application start then use it during a request? Second, I was wondering about how to 'file' my CFC's (I think the number of them will grow very rapidly now I have done 1!). A lot of them will be used in different apps around my organisation and would probably need to be shared across server instances too. Any suggestions on how to best acheive this? Thanks in advance! -- Duncan I Loxton www.mcgrath.com.au www.sixfive.co.uk [EMAIL PROTECTED] -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- Who wants a Gmail invite? I have 50 of them http://nectaar.i989.net/ - Coming Soon -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDev] OT: Laszlo
I just discovered this, upon first glance and a bit of digging into it seems like a very cool tool. We'll see... Anyone else have any experience with it? http://www.laszlosystems.com Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
Re: [CFCDev]
It's prolly just a virus?? Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. From: Bill Rawlinson [EMAIL PROTECTED] Reply-To: CFCDev@cfczone.org To: CFCDev@cfczone.org Subject: Re: [CFCDev] Date: Wed, 20 Apr 2005 16:25:32 -0400 MIME-Version: 1.0 Received: from DWS047.cflib.org ([199.231.128.19]) by mc11-f28.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 20 Apr 2005 13:27:56 -0700 Received: from rproxy.gmail.com ([64.233.170.199]) by cflib.org with MailEnable ESMTP; Wed, 20 Apr 2005 16:21:12 -0400 Received: by rproxy.gmail.com with SMTP id j1so297011rnffor CFCDev@cfczone.org; Wed, 20 Apr 2005 13:25:33 -0700 (PDT) Received: by 10.38.208.43 with SMTP id f43mr1343052rng;Wed, 20 Apr 2005 13:25:32 -0700 (PDT) Received: by 10.38.92.10 with HTTP; Wed, 20 Apr 2005 13:25:32 -0700 (PDT) X-Message-Info: JGTYoYF78jFsR8HZwK44MdEnjgrNp0gplSv5OZGfRjg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=JgslsmFSGEs8iIvi42umhpE3rVMjJYArtScpnkFZczGQwNfNFj4iGxMnnw/pNNNnitmw7Z0vXk6idxQ6T6E8SCAIn/618VWuE1Vu7yN8Nq8uEnxBbO5jD6JOvlPLAGaPUpZnzJSX5f0M5XKr/mZIP698Uke/OTDyHo/W0IXjTrE= References: [EMAIL PROTECTED] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 20 Apr 2005 20:27:56.0426 (UTC) FILETIME=[6FBBAEA0:01C545E7] glad someone asked - I didn't know what he was talking about either :O) On 4/20/05, Rob Brooks-Bilson [EMAIL PROTECTED] wrote: Peter, What Zip are you referring to? I don't see a Zip on this end. -Rob Peter J. Farrell [EMAIL PROTECTED]@cfczone.orghttp://cfczone.orgon 04/20/2005 12:58:28 PM Please respond to CFCDev@cfczone.org Sent by: [EMAIL PROTECTED] To: CFCDev@cfczone.org cc: Subject: Re: [CFCDev] Cfcdev-owner wrote: -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org http://www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com http://www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.orghttp://www.mail-archive.com/cfcdev@cfczone.org Umm...excuse my ignorance...what was attached the zip for? -- Peter J. Farrell :: Maestro Publishing blog :: http://blog.maestropublishing.com email :: [EMAIL PROTECTED] Create boilerplate beans! Check out the Mach-II Bean Creator - free download. http://blog.maestropublishing.com/mach-ii_beaner.htm Old Computer programmers never die, they just decompile. -- -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org http://www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com http://www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.orghttp://www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org http://www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com http://www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.orghttp://www.mail-archive.com/cfcdev@cfczone.org -- [EMAIL PROTECTED] http://blog.rawlinson.us If you want Gmail - just ask. -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDev] CFC Analysis
Baz- I use freemind (freemind.sourceforge.net) to plan and refactor, then write the CFC's. Also a good place for Good Practices in CFC OO are Hal Helm's articles (www.halhelms.com), Ben Forta has also writen some good articles at (www.forta.com, and www.macromedia.com). By the way, nice site BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. - Homer Simpson From: Baz [EMAIL PROTECTED] Reply-To: CFCDev@cfczone.org To: CFCDev@cfczone.org Subject: [CFCDev] CFC Analysis Date: Fri, 18 Nov 2005 15:29:27 -0500 MIME-Version: 1.0 Received: from DWS047.cflib.org ([199.231.128.19]) by mc7-f20.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 18 Nov 2005 12:30:21 -0800 Received: from relais.videotron.ca ([24.201.245.36]) by cflib.org with MailEnable ESMTP; Fri, 18 Nov 2005 15:30:23 -0500 Received: from lordbaz ([69.70.145.68]) by VL-MO-MR004.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id [EMAIL PROTECTED] for CFCDev@cfczone.org; Fri, 18 Nov 2005 15:29:40 -0500 (EST) X-Message-Info: EoYTbT2lH2P5h8b5xbUcqJEfG2esiMm/NzVjGOGq0vE= X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-index: AcXq/vqX6YCCj+pURwu68xZmcUyhHwAZfOPAAAfWiwAAPpDEYA== Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 18 Nov 2005 20:30:21.0676 (UTC) FILETIME=[E5E212C0:01C5EC7E] Hi, I am curious about what are some of the tools and diagram types that people are using to design and conceptualize the creation and interaction of CFCs within a system? Cheers, Baz -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
Re: [CFCDev] Helms and Peters Out Loud
As I already told Hal, I think what you are doing with the recordings is great. I listen to them often while driving, though the wife forbids me from them when she's in the car... ;)) 2cents. BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] [EMAIL PROTECTED] On the other hand, you have different fingers. - Homer Simpson -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDev] Google with CFCs?
Jason - Honestly, if your company is trying to get all excited about beating Google, but not having an internal plan already about how to do it, then you might consider keeping your eye on the job market. Now if the goal is to have a better internal search engine, then you should consider the Google Appliance, then spend the next few years you are with the company researching a better system to anaylize, store, retrieve and relate data. Keep in mind they have spents billions and have many many PHD's working for them. 2cents from a guy who used to work at an app dev co selling tickets to the moon. Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com [EMAIL PROTECTED] From: Jason Parkils [EMAIL PROTECTED] Reply-To: CFCDev@cfczone.org To: CFCDev@cfczone.org Subject: [CFCDev] Google with CFCs? Date: Wed, 21 Dec 2005 11:30:06 -0500 MIME-Version: 1.0 Received: from DWS047.cflib.org ([199.231.128.19]) by bay0-mc8-f9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 21 Dec 2005 11:30:22 -0800 Received: from zproxy.gmail.com ([64.233.162.192]) by cflib.org with MailEnable ESMTP; Wed, 21 Dec 2005 11:32:17 -0500 Received: by zproxy.gmail.com with SMTP id 4so211127nznfor CFCDev@cfczone.org; Wed, 21 Dec 2005 08:30:06 -0800 (PST) Received: by 10.36.146.1 with SMTP id t1mr850693nzd;Wed, 21 Dec 2005 08:30:06 -0800 (PST) Received: by 10.36.75.5 with HTTP; Wed, 21 Dec 2005 08:30:06 -0800 (PST) X-Message-Info: EoYTbT2lH2OhSVerQrK+tYvPf1EYmCtKi6fRh91xJK4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=HRW7JorjkVmi5rEZz39LNPQytMh/8QXzP2ANk2fCZsKQ6Hta45zowQDTNVR94Q4qIcIc2xre3U7NUAO22jbSx55ri27QNkUcQBWlv89GMDuFmF91jaxDo3yrrOOzW0jCATpTg6vjtTWhpaBpV25rzEL4A67MKyD7yaeG8di1wOs= Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 21 Dec 2005 19:30:22.0670 (UTC) FILETIME=[FC5716E0:01C60664] Hi, My company wants me to build a web search engine to beat google's search. Should I use CFCs for this project or are they too slow? Also can anyone point me to an article that talks about how google works. I'd like to start with what they've done and improve upon it. I've already completed the first half of the project (the front-end search page). I just need the backend that performs the actual searching. My other team member is working on the web crawling aspects. Thanks in advance, Jason Parkils -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDev] Frameworks
All - I'm building a list of frameworks to study up on and (gasp) maybe build a features matrix, but primarily get familiar so I know how to identify when to use which framework. Thus far I have: FuseBox ColdSpring MachII Model-Glue Tartan Am I missing any majors that people know of? Thanks, Brent Nicholas -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
Re: [CFCDev] Frameworks
Thanks everyone for your responses. There's alot out there I had no idea about. Thanks, BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] Brent Nicholas - Michigan DJ Service http://www.MichiganDJService.com 248.767.5516 [EMAIL PROTECTED] From: Dave Carabetta [EMAIL PROTECTED] Reply-To: CFCDev@cfczone.org To: CFCDev@cfczone.org Subject: Re: [CFCDev] Frameworks Date: Mon, 30 Jan 2006 13:09:12 -0500 MIME-Version: 1.0 Received: from DWS047.cflib.org ([199.231.128.19]) by bay0-mc4-f7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 30 Jan 2006 10:09:40 -0800 Received: from xproxy.gmail.com ([66.249.82.200]) by cflib.org with MailEnable ESMTP; Mon, 30 Jan 2006 13:13:12 -0500 Received: by xproxy.gmail.com with SMTP id t10so229513wxcfor CFCDev@cfczone.org; Mon, 30 Jan 2006 10:09:14 -0800 (PST) Received: by 10.70.15.3 with SMTP id 3mr7359205wxo;Mon, 30 Jan 2006 10:09:12 -0800 (PST) Received: by 10.70.82.1 with HTTP; Mon, 30 Jan 2006 10:09:12 -0800 (PST) X-Message-Info: UZmYcfFpTCfdY75yYnLTjPMcHgvGj5qw2sIQcPDxeRs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oWIekpAol7hU2jr5u4tcBrnRhXuFiRNduTXryQgQOIK3t5xJGmgxTkG+OfNmUXRZNDWqQ1Fr5y9zzx27iDGUB8FeaVrCthuT56ts+YXKSaIKLS/RIvqTM6VK/psP+jzcPS0no1h5d3NLaoz7bulZGafjB/xhrcNrs4loixP4/gU= References: [EMAIL PROTECTED] [EMAIL PROTECTED] Precedence: bulk Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 30 Jan 2006 18:09:40.0633 (UTC) FILETIME=[56C8E090:01C625C8] On 1/30/06, Brent Nicholas [EMAIL PROTECTED] wrote: All - I'm building a list of frameworks to study up on and (gasp) maybe build a features matrix, but primarily get familiar so I know how to identify when to use which framework. Thus far I have: FuseBox ColdSpring MachII Model-Glue Tartan Am I missing any majors that people know of? Sean Corfield does an excellent job in his frameworks presentation of covering the major variations. His blog in general is a treasure trove for this type of information: http://www.corfield.org/blog/index.cfm and his frameworks talk specifically is at: http://corfield.org/articles/frameworks_code.zip and http://corfield.org/articles/frameworks.pdf Also (and I promise I don't work for Sean, so this isn't some marketing e-mail I'm doing for him!), he's going around doing a new talk on on Objects and Persistence at various CFUGs and CFUNITED that covers things like Arf!, Reactor, etc. I only point all of this out because he's done a tremendous amount of leg work for you already on this subject, and while you should always do your own research, it's always nice to have a base level of information to start with. Hope this helps? Regards, Dave. -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
Re: [CFCDev] Excel CSV Parsing
Do you have the option of using a different delimiter? Or is this after the fact and there is no going back? Anyway, we alway pick a really odd delimiter that is very unlikely to show up on data. 2 cents. BN Brent Nicholas - EclecticDetroit, LLC. http://www.EclecticDetroit.com 248.767.5516 [EMAIL PROTECTED] Brent Nicholas - Michigan DJ Service http://www.MichiganDJService.com 248.767.5516 [EMAIL PROTECTED] Do From: Nando [EMAIL PROTECTED] Reply-To: CFCDev@cfczone.org To: CFCDev@cfczone.org Subject: Re: [CFCDev] Excel CSV Parsing Date: Mon, 06 Mar 2006 21:02:45 +0100 MIME-Version: 1.0 Received: from DWS047.cflib.org ([199.231.128.19]) by bay0-mc2-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Mar 2006 12:12:31 -0800 Received: from GW2.webcontrolcenter.com ([63.134.207.7]) by cflib.org with MailEnable ESMTP; Mon, 06 Mar 2006 15:09:13 -0500 Received: from mail5.webcontrolcenter.com [216.119.106.46] by GW2.webcontrolcenter.com with SMTP; Mon, 6 Mar 2006 13:03:18 -0700 Received: from adsl-62-167-101-187.adslplus.ch [62.167.101.187] by mail5.webcontrolcenter.com with SMTP; Mon, 6 Mar 2006 13:02:46 -0700 X-Message-Info: UZmYcfFpTCdhvqqoIdOFssdwKCv7GAc1TeurgIoydRY= User-Agent: Thunderbird 1.5 (Windows/20051201) References: [EMAIL PROTECTED] Precedence: list Return-Path: CFCDev@cfczone.org X-OriginalArrivalTime: 06 Mar 2006 20:12:31.0463 (UTC) FILETIME=[4C998770:01C6415A] If you're looking to do a one time or occasional import, you could look at using Navicat, which is an excellent MySQL GUI. www.navicat.com Dustin Tinney wrote: I've recently been trying to do a large import of a Excel or CSV file generated from Excel. My efforts thus far have not been good and it's looking like I will have to reinvent the wheel. I have yet to find a good article or paper on 1 Dynamic Datasources using coldfusions built in support of the ODBC Socket with excel. I was able to get my host to add a DNS of this type but haven't had any luck getting a query to run using it. So after giving up on the ODBC Socket I figured I'd google my luck on CSV and coldfusion. I have yet to find some one who does NOT assume that the data won't contain a comma. Which to me just seems ridiculous. Excel export to CSV puts 's around rows with commas Example: foo, bar, foo, bar would be 3 items the first being foo comma bar. However I have yet to find a good parser already written either in a UDF or even a CFC for any of this. If any one has any help out there it's much appreciated -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- http://aria-media.com/ Aria Media Sagl CP 234 6934 Bioggio Switzerland www.aria-media.com http://aria-media.com/ -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org you -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDev] OT: Sending Files to Browsers
Firstly - Sorry for sending an OT item to this list. I kinda feel we have a good group of experts here, so I'm hoping someone will have some guidance. The issue: When users try to download files they work nearly all the time, though today it seems files that are above 30MB (rough estimate) fail when downloaded. CF sends the most basic error message: An error has occurred. That's it, no line number, nothing. We've narrowed it to what we think is the issue but I'm still skeptical if it's really the problem, though most likely. This being the size of the file, due to using CFFILE action=read. Now, I'm guessing reading a big file into CF to then send out to the browser is a bad thing, due to the load on the memory. Does any one have any guidance on a better way to send the file to the browser? Here is the code I use to send the file to the browser, the variable results are below. The goal is to prevent the user from having access to the path. They just get sent the file. cffile action=read file=#PrimaryDrive##GetFolderPath.FOLDER_PATH##GetFileDetails.FILE_NAME# variable=FileContent cfheader NAME=Content-disposition VALUE=inline;filename=#GetFileDetails.FILE_NAME# cfcontent type=#GetFileDetails.FILE_MIME# cfoutput#FileContent#/cfoutput CFFILE PATH: D:\ProjectFiles\52070G\CYLINDERBLOCK\cylblockcast130306.zip CFHEADER VALUE: inline;filename=cylblockcast130306.zip CFCONTENT TYPE: application/x-zip-compressed As I said works almost all the time, except on large files. At least that's the pattern so far. Thanks for an help you might be able to offer, Grasshopper -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
Re: [CFCDev] OT: Sending Files to Browsers
- sheepish grin - DOH! Thanks everyone for the reply. Yeah, feeling kinda silly for not seeing that right off. It does work, however the data is now being written directly to the browser, instead of prompting you to Open or Save as it used to. I'll figure it out though.. Thanks again, Brent Nicholas Application Architect / Developer Ricardo Inc. Detroit Technical Center 4 Ricardo Drive Van Buren Township, MI 48111 phone 734.394.3808 fax 734.394.3838 [EMAIL PROTECTED] http://www.ricardo.com -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDev] OT: Sending Files to Browsers
Phil / All - Thanks - I got it. Works like a charm and the best part is now that I'm not doing CFFILE reads the performance of the site is even better. YEAH! Thanks again - BN Brent Nicholas Application Architect / Developer Ricardo Inc. Detroit Technical Center 4 Ricardo Drive Van Buren Township, MI 48111 phone 734.394.3808 fax 734.394.3838 [EMAIL PROTECTED] http://www.ricardo.com -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: Re: [CFCDev] Verity Search Engine
If you need any help with setting up the K2 server drop me a line. I can send you my notes. I'd send em' not but they are at work. BN --- Date: Wed, 7 Jun 2006 23:15:58 -0400 From: [EMAIL PROTECTED] To: CFCDev@cfczone.org Subject: Re: [CFCDev] Verity Search Engine Ray has some good verity stuff. I implemented it in about 20 minutes. It's pretty awesome http://ray.camdenfamily.com/index.cfm/2005/8/17/Macrochat-Recording http://ray.camdenfamily.com/index.cfm/2005/8/17/Verity-Macrochat-Presentation-Zip hth, Will Joshua Scott wrote: All, Can anyone point me to some good info on using the CF verity searching. I am building a CMS and want to see if this would be the best way to do site searches. I know this is a off topic, but I would appreciate any advice. Thanks, Josh Joshua Scott Resonant Media Technologies, LLC. http://www.resonantmedia.com | http://ponderings.wordpress.com It is impossible to get out of a problem by using the same type of thinking that it took to get into the problem. -- Albert Einstein -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org --- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006 -- Will Tomlinson Phone: 336.230.1123 Custom software development for the web *** Consulting ColdFusion Programming Database Design HTML XHTML XML Javascript Flash SQL MySQL Microsoft SQL Server Microsoft Access 3D modeling Custom graphics www.luckydogvolleyball.com *NEW* www.wtomlinson.com www.singinginfo.com www.priceequipment.com www.uniquetool.net www.kennedyshipyards.com -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDev] OT: Job in DC
Off topic.. sorry Very quickly I had to turn down work in the DC area (I decided to move to Denver.) so it's open to other candidates. It is through a head hunter so you'll have to deal with their hoo-haa, but I didn't think they were too bad. Job is contract with true intent to hire on perm, job is strong CFMX, CSS, 508. I went through 3 interviews with them so nothing is shady about this, they are very nice people who just need to get the job done and can;t find CF'ers, it also is paying about 95K and working for the government. Let me know, I'll pass your data along. Ideal candiate is in the DC area or VERY serious about moving there. Thanks, BN -- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] OT: CFLogin
Before I go posting a huge OT item, I'm wondering if anyone would be interested in helping out with a CFLOGIN issue I'm having. I'm pretty sure it's something with the session or something else obvious... ?? Thanks - Brent Nicholas - 248.767.5516 -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] pls forgiv OT: layer7 switches and sessions - is this correct?
I hate answering with "I thinks.." but I do recall in the Advanced CF Book for CF4.5 it had write up's oncluster cats in it for load balancing, I recall it talked about different techniques for making sessions portable. I'm guessing the new Advanced CF books might too. If that's of help anyway.Brent Nicholas -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess Bride Date: Wed, 20 Sep 2006 11:01:43 +1000 From: [EMAIL PROTECTED] To: CFCDev@cfczone.org Subject: [CFCDEV] pls forgiv OT: layer7 switches and sessions - is this correct? I'msorrytopostthisquestionherebutmyregularCFlistdoesn't seemtohavehadmuchexperianceinthisareaandI'mhopingsomeone herehas.myknowledgeofloadbalancingregardingapplication archetectureisrudamentary(atbest) we'vegotaseriesofappsonclustersoftwoservers(each)withload balancingusingLayer7switches.worksgreatifonemachineget's flakey,etc.thishasallbeendonebeforeIarrived. onethingthatI'mabitpuzzledover,though,isalltheappshave beendesignedwithouttheuseofsessionscope.infactgreatreamsof codehavebeenwrittentohandleauthorisationviacustomISAPI componentsandheaderstogetaroundthis,andisdoneonevery request. italsomeansthatideasofusingapplication-orserver-scoped collectionsofdata(orsingletoncomponentswithstate)can'tbeused (theycouldexistononeserverandnotontheother). isthiscorrect?usingloadbalancinglikethisprecludestheuseof sharedscopeswhenit'sneededacrossmachines? isthereanyeasyway**aroundthis? note:theseboxesareallCF6.1,althoughIamalwayslookingforgood reasonstogetthebosstoupgrade. (**somethingsimplierthan,say,gettingwebservicesand/orgateways tocommunicatebetweenmachines-I'mthinkingoftheserver-scoped singletonsholdingdata) thankforyourhelp barry.b Youaresubscribedtocfcdev.Tounsubscribe,pleasefollowtheinstructionsathttp://www.cfczone.org/listserv.cfm CFCDevissupportedby: KatapultMedia,Inc. Wearecoolcodegeekslookingforfunprojectstorock! www.katapultmedia.com AnarchiveoftheCFCDevlistisavailableatwww.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] Semi-OT: Error catching and CFC's
I'm wondering what techniques people have used to do error catching and the logging of those errors to a DB. Right now I wrap a CFC call with try/catch in my action template, if it fails I have a custom tag that is called that breaks the 'cfcatch' variable scope into it's parts and builds a string, but only so far as the simple cfcatch keys like 'type'. These are just plain text vs. structures like 'tagContext'.I then take thatstring and toss it into the db with some other needed data. Anyone using any other techniques to get this data and save it? I've not yet placed error catching into the CFC's since it seems to bubble up into the calling template. Thanks,Brent Nicholas -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Semi-OT: Error catching and CFC's
Sammy - Hey thanks for the response. I put it in the db so that it can be analyzed at a later date for quality, execs like to see fancy support stuff that really shows resolution, and in group dev/support environments errors can be assigned and solutions tracked. BNBrent Nicholas -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess Bride Date: Thu, 21 Sep 2006 18:17:48 -0500From: [EMAIL PROTECTED]To: cfcdev@cfczone.orgSubject: Re: [CFCDEV] Semi-OT: Error catching and CFC's One method I've seen is to basically cfinclude the requested file in the Application.cfm (then cfabort at the end of the file) and wrap that in try/catch. I deal with a ton of legacy code, so I haven't tried anything similar in Application.cfc, but I would imagine its would be possible. I've never logged it to a db, I like to get them in my inbox so I just email it to myself. Out of curiousity, what benefits have you experienced in logging it to a DB?-SamBrent Nicholas wrote: I'm wondering what techniques people have used to do error catching and the logging of those errors to a DB.Right now I wrap a CFC call with try/catch in my action template, if it fails I have a custom tag that is called that breaks the 'cfcatch' variable scope into it's parts and builds a string, but only so far as the simple cfcatch keys like 'type'. These are just plain text vs. structures like 'tagContext'.I then take thatstring and toss it into the db with some other needed data.Anyone using any other techniques to get this data and save it?I've not yet placed error catching into the CFC's since it seems to bubble up into the calling template.Thanks,Brent Nicholas -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess BrideYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] CFC Image Manipulate / Image Object Question
I know this question is a bit 'product specific' but I'm wondering about what 'might' be a CFC centric question. I'll preface this with the main question up front: "So in short I'm wondering if this is maybe more an issue of understanding variables, scopes and CFC's? Or if the CFC needs to be extended to get the imagefile and return it as an object it can use as illustrated below in the multiple process example." Essentially there is a CFC out there called "image.cfc v2.00b3, written by Rick Root ([EMAIL PROTECTED])" (I emailed him... no reply) URL: http://www.opensourcecf.com/imagecfc/ This CFC allows you to manipulate images, it can be run 'process by process' (Seperate processes example below)bypassing in an image location and output destination, or can use a reference (Multiple Processes example below)to the image object returned by the CFC. So I'm kind of at a chicken and the egg issue. I'm trying to allow the user to choose one of many image processing options, but am unsure what and how many they may choose. I could write a lot of code for each action to determine if that action was selected and then yet more code to reuse the image object passed back by the cfc to use on the next selected option. This seems very dumb. I'd rather use the CFC to load the image into it's variable scope ("result.img")and then toprocess by whatwas selected I can just throw the object against the function call. Examples of his code is at: http://www.opensourcecf.com/imagecfc/example.cfm --- OR I'll include them; Seperate processes: cfset imagecfc = createObject("component","image") cfset results2 = imageCFC.scaleX("", "#ExpandPath(".")#/original.jpg", "#ExpandPath(".")#/resized.jpg", 400) cfset results1 = imageCFC.rotate("", "#ExpandPath(".")#/resized.jpg", "#ExpandPath(".")#/rotated.jpg", -90 ) Multiple Processes: cfset results12 = imageCFC.scaleX("", "#ExpandPath(".")#/feather.png", "", 100) - here is where it re-uses the object created, but you have to run a process first to get it into the 'results12.img' variable cfset results13 = imageCFC.flipVertical(results12.img, "", "")cfset results14 = imageCFC.flipHorizontal(results13.img, "", "")-- Do I just read the image and load it into a var called results.img and call it good? This seems too simple. Is this clear as mud? Thanks for everyone's time and effort Brent Nicholas -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV]
test test... is this thing on?Brent Nicholas -[EMAIL PROTECTED]"I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time."-- Man in Black - Princess Bride Subject: [CFCDEV] Date: Tue, 17 Oct 2006 14:06:19 -0700Youaresubscribedtocfcdev.Tounsubscribe,pleasefollowtheinstructionsathttp://www.cfczone.org/listserv.cfm CFCDevissupportedby: KatapultMedia,Inc. Wearecoolcodegeekslookingforfunprojectstorock! www.katapultmedia.com AnarchiveoftheCFCDevlistisavailableatwww.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Application CFC Inheritance Problems
Teddy - No, there is not a space in the folder name. Does it run for you? It should just be a download, drop in place and run situation. Thanks, BNBrent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride Date: Wed, 29 Nov 2006 14:00:19 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [CFCDEV] Application CFC Inheritance Problems Is there a space in the name of the directory BandwidthAssociates? If so, you need to change the name of folder from Bandwidth Associates to BandwidthAssociates. Teddy On 11/29/06, Brent Nicholas [EMAIL PROTECTED] wrote: All - I'm finally learning how to use the 'new' Application.cfc framework and need to use inheritance on it. Thus I read over: Extend the ColdFusion MX 7 Application Framework using ColdFusion Components ( http://www.adobe.com/go/9ce734f4 ) It has you download the BandWidth Associates example: http://www.adobe.com/support/coldfusion/ts/documents/9ce734f4/BandwidthAssociates.zip So I did and ran it. At this point the Application.cfc in the 'Sales' directory fails with an error of: Could not find the ColdFusion Component BandwidthAssociates.Application I placed the BandWidth Associates directory in the wwwroot. Ideas anyone? Thanks,Brent Nicholas - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock! www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- cf_payne /Adobe Certified ColdFusion MX 7 DeveloperAtlanta CFUG (ACFUG): http://www.acfug.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Application CFC Inheritance Problems
Hmmm... weird. I actually had it in wwwroot/BNTesting/BandwidthAssociates/Sales and it would fail. I then moved it directly into the wwwroot and it worked. So I'm guessing the 'extends' attribute would have needed to be: BNTesting.BandwidthAssociates.Application for it to work. Sorry to bother everyone... Thanks,Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride Date: Wed, 29 Nov 2006 14:00:19 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [CFCDEV] Application CFC Inheritance Problems Is there a space in the name of the directory BandwidthAssociates? If so, you need to change the name of folder from Bandwidth Associates to BandwidthAssociates. Teddy On 11/29/06, Brent Nicholas [EMAIL PROTECTED] wrote: All - I'm finally learning how to use the 'new' Application.cfc framework and need to use inheritance on it. Thus I read over: Extend the ColdFusion MX 7 Application Framework using ColdFusion Components ( http://www.adobe.com/go/9ce734f4 ) It has you download the BandWidth Associates example: http://www.adobe.com/support/coldfusion/ts/documents/9ce734f4/BandwidthAssociates.zip So I did and ran it. At this point the Application.cfc in the 'Sales' directory fails with an error of: Could not find the ColdFusion Component BandwidthAssociates.Application I placed the BandWidth Associates directory in the wwwroot. Ideas anyone? Thanks,Brent Nicholas - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock! www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org -- cf_payne /Adobe Certified ColdFusion MX 7 DeveloperAtlanta CFUG (ACFUG): http://www.acfug.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] Application.cfc and the Request scope best practice
Howdy all - So I'm continuing on my path to use the application.cfc framework and I'm understanding more and more as I go along. I've done a bit of reading on this subject and wanted to run my final conclusion by people to insure I understood this properly before going and changing all my code. Outline: I'm using a very loose version of FuseBox (basically just the file structure and fuseactions) App Folder Structure: |---Intranet Base Folder - (Application.cfc sets up the application.dsn, session.ID's user and other top level info) |--- Document Management folder - (Application.cfc (extends the above Application.cfc), runs a folder security check) My observations: 1) When I include the app_Globals.cfm file (holds all my cfparam-var's) into the second Application.cfc, the var's can be used in that CFC but not the index.cfm that is the page being run. 2) Obviously if I include the app_Globals.cfm file into the index.cfm file then it works fine, but the call to one of the var's in the second Application.cfc file fails. (expected) 3) I could include the app_Globals.cfm into both pages, but this seems wrong.. My proposed solution: Scope all of the var's in the app_Globals.cfm as 'request.varName' variables, and include into the second Application.cfc file. This seems right, but I just wanted to run it by people who have been doing this longer than I. Thanks for your time,Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] OT: File management with CF on DB and FileSys
Ok, yeah OT... I am using CFMX with CFC's though! .. :) Given the experience in this community I wanted to ask if any one knew of any sources to read about best practices when it comes to archiving documents that are tracked (meta and location of file) with a database while the document its self lives on a file system that mirrors (folder wise) the structure in the DB. Right now I'm working out all the nuances of: Delete a file, update a file, move a folder, move a file with the above stated design. I've just got that sneaky suspicion I'm missing something obvious. I tend to over complicate sometimes. Anyone done this? Or know of a place to read about it. I've already googled it, but didn't find much relevant. I'd expand on what I've done and learned but I wanted to keep the email short. Thanks for your time,Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] OT: File management with CF on DB and FileSys
Phillip - Thank you for taking the time to reply. I think I may have not explained enough of what I was working with in an attempt to be brief with an OT. That or I may have used 'archive' in a context that was not descriptive enough. Oh, and of course I use subversion ;) To clarify this 'solution opportunity', aka: problem. I was describing a web based file share system. The users can create folders (nested) and publish document containers that hold one or more files. The UI is fed off the DB and manages the content of the DB. When you save, get or delete a file, then you are working with the DB and a file system. I simply did not want to store files in the DB. I also wanted to be able to just grab the folder struct of files and go if needed, that and disaster recovery is quicker for end users. As you might guess synchronization can get hairy when doing folder or document moves, since 'where' everything living on the file system is referenced in the db. However, I think I may have a solution that will address the issue of 'how do I archive' raised in the initial email. In short I have devised a way to archive the existing metadata about folders, document containers and files in them and keep track of the files actually saved in the mirrored folder structure (on the file system) when it's time to archive them due to being replaced or deleted. I'm thinking that what I was looking for may have been too project specific to expect to find any 'best practices' for. Thanks for your time, Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride Subject: RE: [CFCDEV] OT: File management with CF on DB and FileSysDate: Tue, 19 Dec 2006 13:06:11 -0500From: [EMAIL PROTECTED]: cfcdev@cfczone.org 1. Most people on this list will say to use subversion. We started doing that recently. 2. A few years ago, I developed a script to be run in BeyondCompare from www.scootersoftware.com, which I still use: LOG VERBOSE Archive.log LOAD C:\inetpub\wwwroot c:\Archive\Temp FILTER cutoff:1days EXPAND ALL SELECT LEFT.FILES Option confirm:yes-to-all COPY LEFT-RIGHT LOAD c:\Archive\Temp EXPAND ALL SELECT ALL # COPYTO can accept a date parameter. # Important: in Control Panel, Regional Settings, the Date separator was changed from / to -. COPYTO LEFT c:\Archive\Development\%Date% Option confirm:yes-to-all # The following deletes the contents of c:\Archive\Temp DELETE LEFT What this does, when scheduled after midnight, is copy any files that have a datetime stamp of 1 day old (or less). You'll have to create a few directories MD C:\archive MD C:\archive\temp MD C:\archive\Development It then starts creating subdirectories nightly MD C:\archive\Development\2006-12-19 (Be sure to read note about the date separator) This has been extremely lightweight and helpful in comparing versions. 5 stars for BeyondCompare! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent NicholasSent: Tuesday, December 19, 2006 12:35 PMTo: [EMAIL PROTECTED]: [CFCDEV] OT: File management with CF on DB and FileSys Ok, yeah OT... I am using CFMX with CFC's though! .. :) Given the experience in this community I wanted to ask if any one knew of any sources to read about best practices when it comes to archiving documents that are tracked (meta and location of file) with a database while the document its self lives on a file system that mirrors (folder wise) the structure in the DB. Right now I'm working out all the nuances of: Delete a file, update a file, move a folder, move a file with the above stated design. I've just got that sneaky suspicion I'm missing something obvious. I tend to over complicate sometimes. Anyone done this? Or know of a place to read about it. I've already googled it, but didn't find much relevant. I'd expand on what I've done and learned but I wanted to keep the email short. Thanks for your time,Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess BrideYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available
[CFCDEV] OT: Quick question
Sorry about the OT, I've been googling for this but can't seem to find the right search terms. Does anyone know what those form submission filters are called that create a distorted bunch of characters that the user needs to type into a text field before they can submit the form? Thanks,Brent Nicholas I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] Answered: OT: Quick question
Figures, right after I ask I find it. :) It's called Image Verification.. or at least that'll bring back results.Brent Nicholas - I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [CFCDEV] OT: Quick questionDate: Fri, 23 Feb 2007 15:15:10 -0700 Sorry about the OT, I've been googling for this but can't seem to find the right search terms. Does anyone know what those form submission filters are called that create a distorted bunch of characters that the user needs to type into a text field before they can submit the form? Thanks,Brent Nicholas I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess BrideYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Answered: OT: Quick question
Thanks everyone, Yeah I found LylaCAPTCHA. BNBrent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride Subject: RE: [CFCDEV] Answered: OT: Quick questionDate: Fri, 23 Feb 2007 14:34:03 -0800From: [EMAIL PROTECTED]: cfcdev@cfczone.org Actually I think you’re looking for CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Nicholas Sent: Friday, February 23, 2007 2:22 PM To: cfcdev@cfczone.org Subject: [CFCDEV] Answered: OT: Quick question Figures, right after I ask I find it. :) It's called Image Verification.. or at least that'll bring back results. Brent Nicholas - I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: [CFCDEV] OT: Quick question Date: Fri, 23 Feb 2007 15:15:10 -0700 Sorry about the OT, I've been googling for this but can't seem to find the right search terms. Does anyone know what those form submission filters are called that create a distorted bunch of characters that the user needs to type into a text field before they can submit the form? Thanks, Brent Nicholas I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] Application cfc inheritance confusion
Howdy all - So I thought I'd solved this back in December, but now that I'm moving the app to the production server it's not working again. In short the application that is being run has an Application.cfc that inherits from the main Application.cfc. When run, it throws the error: Could not find the ColdFusion Component CFLHDintranet.Application Here's an outline of the setup (with reference index numbers to code): CF Files are in: D:\IntranetRoadMap\ --- has the index.cfm (works fine) and Application.cfc ((1) -referenced below)D:\IntranetRoadMap\hr --- has the index.cfm (fails) and Application.cfc (fails) with inheritance from top App.cfc ((2) -referenced below) IIS Configured to: WebSite called Roadmap on port 80, points at D:\IntranetRoadMap\, I access through: http://roadmap.cflhd.gov (on my machine I had to create a virtual directory in the main web site called CFLHDIntranet and it all works fine) Note: For those of you who are familiar with it, I also ran the BandwidthAssociates code in the D:\IntranetRoadMap\ (removing the other code of course), and it failed as well. I figured it was a good 'control' to test with. Code: (1)D:\IntranetRoadMap\Application.cfc - cfcomponent output=false cfset this.name=CFLHDIntranet cfset this.sessionmanagement=yes cfset this.SetClientCookies=no cfset this.loginstorage=session cfset this.applicationTimeout=CreateTimeSpan(0,12,0,0) !--- 12 hrs --- cfset this.sessionTimeout=CreateTimeSpan(0,4,0,0) !--- 4 hrs --- !--- Define DSN --- cfinclude template=app_Datasource.cfm cffunction name=onSessionStart returntype=void do some login/authenticaion stuff /cffunction /cfcomponent - - (2) D:\IntranetRoadMap\hr\Application.cfc - cfcomponent extends=CFLHDIntranet.Application cfinclude template=app_Globals.cfm/cfcomponent - - Thanks for everyone's time - Brent Nicholas You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Application cfc inheritance confusion
Aaron - Ok, hmm.. well. First I tried to just rename the base dir to - D:\CFLHDIntraNet\ to see if that would work. It didn't. Then I did what you said and created a CF Mapping of CFLHDIntraNet to the dir above. It all worked at that point. Though, I didn't need a mapping on my dev server, but maybe it had something to do with the CFLHDIntraNet folder being in the inetpub dir. I'm sure it'll click in time. Thanks for your help however, I appreciate it. BNBrent Nicholas - 248.767.5516 - [EMAIL PROTECTED] I can't afford to make exceptions. Once word leaks out that a pirate has gone soft, people begin to disobey you, and then it's nothing but work, work, work, all the time. -- Man in Black - Princess Bride Date: Sat, 3 Mar 2007 07:57:51 +1100 From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: Re: [CFCDEV] Application cfc inheritance confusion extends=CFLHDIntranet.Application is basically saying: look in the directory (from current directory) or in the directory mapping called CFLHDIntranet and use the file called Application.cfc as the parent for this class. I'm betting you have no directory called D:\IntranetRoadMap\hr\CFLHDIntranet or CF mapping called that either? Solution: create a ColdFusion mapping called CFLHDIntranet that points to D:\IntranetRoadMap\. NB: CF has no idea about and does not / cannot (??) use the virtual IIS mapping you created called CFLHDIntranet. HTH Aaron Brent Nicholas wrote: Howdy all -So I thought I'd solved this back in December, but now that I'm moving the app to the production server it's not working again.In short the application that is being run has an Application.cfc that inherits from the main Application.cfc. When run, it throws the error: Could not find the ColdFusion Component CFLHDintranet.ApplicationHere's an outline of the setup (with reference index numbers to code):*CF Files are in:* D:\IntranetRoadMap\ --- has the index.cfm (works fine) and Application.cfc ((1) -referenced below) D:\IntranetRoadMap\hr --- has the index.cfm (fails) and Application.cfc (fails) with inheritance from top App.cfc ((2) -referenced below)*IIS Configured to:* WebSite called Roadmap on port 80, points at D:\IntranetRoadMap\, I access through: http://roadmap.cflhd.gov (on my machine I had to create a virtual directory in the main web site called CFLHDIntranet and it all works fine)*Note:* For those of you who are familiar with it, I also ran the BandwidthAssociates code in the D:\IntranetRoadMap\ (removing the other code of course), and it failed as well. I figured it was a good 'control' to test with.*Code:* (1) *D:\IntranetRoadMap\Application.cfc* - cfcomponent output=false cfset this.name=CFLHDIntranet cfset this.sessionmanagement=yes cfset this.SetClientCookies=no cfset this.loginstorage=session cfset this.applicationTimeout=CreateTimeSpan(0,12,0,0) !--- 12 hrs --- cfset this.sessionTimeout=CreateTimeSpan(0,4,0,0) !--- 4 hrs --- !--- Define DSN --- cfinclude template=app_Datasource.cfm cffunction name=onSessionStart returntype=void do some login/authenticaion stuff /cffunction /cfcomponent - -(2) *D:\IntranetRoadMap\hr\Application.cfc* - cfcomponent extends=CFLHDIntranet.Application cfinclude template=app_Globals.cfm /cfcomponent - -Thanks for everyone's time - Brent NicholasYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.orgYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] table driven file system
Janet - Hi, yeah I just got done building one of these. It does nearly everything that windows explorer does, but no drag and drop. Alot of the functions can be quite tricky. ex: (Move file, move folder, create folder). My system manages the information about the file system in a database while storing the files on a file system. Is this what you're after? Thanks, Brent Nicholas - There, I guess King George will be able to read that! - John Hancock Original Email - -Has anyone ever used cfcs for a table driven file system (if thats the right term)? Like windows explorer except the file structure is maintained in database tables. Folder TableFolderIDParentFolderIDDocument TableDocumentIDFolderIDI think I've figured out the basics but was wondering if there were any examples or recommendations that might prove useful. Janet You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
[CFCDEV] Looking for the CF-Dev List admin...
Who's the supreme leader? I've got a question. Thanks,Brent Nicholas There, I guess King George will be able to read that! - John Hancock You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
[CFCDEV] access to applicationname in extended CFC
Howdy all - Does anyone know why I can't access the the 'application.applicationname' variable while in an extended CFC? Ex: wwwroot/Application.cfc --- cfcomponent output=false cfset this.name=CFLHDIntranetcfset this.sessionmanagement=yes cfset this.SetClientCookies=nocfset this.loginstorage=session /cfcomponent --- wwwroot/SubFolder/Application.cfc --- cfcomponent extends=CFLHDIntranet.Application cflogin applicationtoken=#application.applicationname#/cflogin --- (1) cfoutput#application.applicationname#/cfoutput --- (2) /cfcomponent --- 1) Original code, throws error: Element APPLICATIONNAME is undefined in APPLICATION. 2) I commented out (1), then just tried to output this line. same error. Though if I comment them both out, I will see in the CF debug: Scope Variables - Application Variables:applicationname=CFLHDIntranet Thoughts? Thanks for your time - Brent Nicholas - There, I guess King George will be able to read that! - John Hancock You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] access to applicationname in extended CFC
Ok, it's Monday the answer is: this.name 'sigh' :)Brent Nicholas - There, I guess King George will be able to read that! - John Hancock From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [CFCDEV] access to applicationname in extended CFCDate: Mon, 23 Apr 2007 15:03:47 -0600 Howdy all - Does anyone know why I can't access the the 'application.applicationname' variable while in an extended CFC? Ex: wwwroot/Application.cfc---cfcomponent output=false cfset this.name=CFLHDIntranetcfset this.sessionmanagement=yes cfset this.SetClientCookies=nocfset this.loginstorage=session/cfcomponent--- wwwroot/SubFolder/Application.cfc---cfcomponent extends=CFLHDIntranet.Application cflogin applicationtoken=#application.applicationname#/cflogin --- (1) cfoutput#application.applicationname#/cfoutput --- (2)/cfcomponent---1) Original code, throws error: Element APPLICATIONNAME is undefined in APPLICATION. 2) I commented out (1), then just tried to output this line. same error. Though if I comment them both out, I will see in the CF debug: Scope Variables - Application Variables:applicationname=CFLHDIntranetThoughts? Thanks for your time - Brent Nicholas - There, I guess King George will be able to read that! - John HancockYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] access to applicationname in extended CFC
Aaron - Thanks for the reply. Ideally I could learn the techniques you mentioned, though being the only developer on staff I can't take the risk of using some of the more interesting uses the cfc's have taken on. I see the value, I just have to show results faster than I feel I can learn OO cfc's. Once I get this intranet out there I'll have some more time to experiment and learn more of what's dicussed on this forum. Thanks for your replies though. BNBrent Nicholas - There, I guess King George will be able to read that! - John Hancock Date: Mon, 23 Apr 2007 19:53:50 -0700 From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: Re: [CFCDEV] access to applicationname in extended CFC There's nothing wrong with accessing those variables within Application.cfc, though. Yep. I figured from the post that he was accessing application variables directly from other CFCs. Is anyone extending Application.cfc? I never thought of that before. -Aaron You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] access to applicationname in extended CFC
Is anyone extending Application.cfc? I never thought of that before. I do it just to make sure my Datasource, Schema and a few other high level vars are always present. But then again, I'm not doing any OO cfc work. BNBrent Nicholas - There, I guess King George will be able to read that! - John Hancock You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Is there a point to staying here?
Mike - I see plenty of good talks about CFC OO and various other topics. Lot's to learn. You should check the web page that allows you to browse the postings and see if you are actually getting all of them. Otherwise maybe your spam filter is only letting spam through and filtering the conversations. BNBrent Nicholas There, I guess King George will be able to read that! - John Hancock From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: [CFCDEV] Is there a point to staying here? Date: Tue, 1 May 2007 08:11:18 +1000 Is there any point to staying on this list? For a month I've had nothing but spam. Is there any legitimate traffic on this list at all any more? Or am I the last one left with the spammers? Or should I turn out the lights as I leave? Cheers Mike Kear Windsor, NSW, Australia 0422 985 585 Adobe Certified Advanced ColdFusion Developer AFP Webworks Pty Ltd http://afpwebworks.com Full Scale ColdFusion hosting from A$15/month-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raymond Camden Sent: Wednesday, 22 November 2006 1:40 AM To: cfcdev@cfczone.org Subject: [CFCDEV] [ADMIN] Testing if back up Just testing. Please reply if you get this. (And if you see other folks reply, don't bother. :) -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/781 - Release Date: 30/04/2007 9:14 AM You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] here we go again...
I hate to be the guy to drag in the dead horse to kick... But I thought I'd bring this up for discussion and wonder what other people are seeing out there. Personally I think all programming will 'die' in the US from outsourcing, so getting a PMP degree might be the smart thing for any programmer. CF haters need not reply. 5. ColdFusion This once-popular Web programming language -- released in the mid-1990s by Allaire Corp. (which was later purchased by Macromedia Inc., which itself was acquired by Adobe Systems Inc.) -- has since been superseded by other development platforms, including Microsoft Corp.'s Active Server Pages and .Net, as well as Java, Ruby on Rails, Python, PHP and other open-source languages. Posted at: http://www.computerworld.com/action/article.do?command=viewArticleBasicarticleId=9020942pageNumber=2Brent Nicholas - There, I guess King George will be able to read that! - John Hancock You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] here we go again...
Eric - I completely agree, though I'll get the PMP for 'added value' anyway. I'm mainly wondering however, what peoples thoughts are on the CF aspect of what I posted. Maybe I shouldn't have clouded the topic with the 'outsourcing' aspect. BNBrent Nicholas - 248.767.5516 - [EMAIL PROTECTED] There, I guess King George will be able to read that! - John Hancock Date: Thu, 24 May 2007 16:42:20 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [CFCDEV] here we go again... Outsourcing is not really a good solution for the majority of programming work, and more companies are getting wise to that. What is presented as a cheap panacea to resolving death-march projects is really just another money pit. Most executives respond to sales pitches and that is a prime reason why there has been as much outsourcing as we've seen. However, a few factors are going to prevent outsourcing from ever reaching the plague level we've all been worried about for so long: 1. Companies outsource because they believe it will be cheaper to do so than to manage their own technology. In a few small cases where a COTS solution will address a business need, this may in fact work (think manufacturing companies). The majority of businesses in the United States are service-oriented, and service industries benefit from using technology to differentiate themselves (there are numerous published studies on this, just Google it). If you agree with my premise, then you must agree that businesses operating in service-oriented verticals are not in a good position to benefit from a COTS product, unless they spend big bucks optimizing it, in which case you have paid a vendor to develop a system that can then be sold to a competitor - no way. Not all companies are wise to this and the ones that are not will go under eventually. 2. Wages in popular outsourcing countries are going up at an exponential rate. Already, an experienced developer in India can earn 1/3 to 1/2 of a typical U.S. salary for a person of comparable experience and skill. While it is true that you can throw green Indian engineers at a project (they make very little), we all know what kind of results you can expect in that scenario, and it is precisely the reason why so many companies have had horrible outsourcing experiences. If you attempt to assemble an Indian team of developers to do the work of an American team, you will spend 1/3 to 1/2 as much just in salaries, and that doesn't consider the logistical cost of arranging your business according to their best practices (which you will have to do in order to outsource successfully). 3. The majority of U.S. companies are not at a CMM level where they can profitably outsource projects. Most projects in the U.S. do not fail because the programmers are bad or because they are too expensive. They fail because the required processes to successfully develop software are not in place. The capability maturity model exists for this purpose and I will bet that very few of us have ever worked in an organization that even knew what its CMM was, much less was able to boast a high enough rating to do business with the top Indian outsourcers without major cost penalties due to lack of compliance with CMM practices. The first thing companies must do is learn how to define project requirements and how to manage those projects; if you think it's hard getting good results from an American team that understands your culture and language natively when you deal with them face-to-face, I don't think you can truly appreciate the world of pain you are asking for by shipping the work overseas to an unknown set of circumstances. In my opinion there are numerous other reasons why the types of outsourcing projects feared by American technology workers are unlikely to pose a real threat. Having said that, if I am wrong, I don't think that a PMP certification saves you, either. If you can successfully outsource programming, you can successfully outsource project management, as well. Just my 2 cents. Eric On 5/24/07, Brent Nicholas [EMAIL PROTECTED] wrote: I hate to be the guy to drag in the dead horse to kick... But I thought I'd bring this up for discussion and wonder what other people are seeing out there. Personally I think all programming will 'die' in the US from outsourcing, so getting a PMP degree might be the smart thing for any programmer. CF haters need not reply. 5. ColdFusionThis once-popular Web programming language -- released in the mid-1990s by Allaire Corp. (which was later purchased by Macromedia Inc., which itself was acquired by Adobe Systems Inc.) -- has since been superseded by other development platforms, including Microsoft Corp.'s Active Server Pages and .Net, as well as Java, Ruby on Rails, Python, PHP and other open-source languages. Posted at:http://www.computerworld.com/action/article.do?command=viewArticleBasicarticleId
[CFCDEV] OT: Quick AJAX Poll
Hey all - So I'm wonder how many people are using AJAX in this group and what you're using. I'm using dojo right now and have done a few simple things with it on the site, but am looking at doing a full application with AJAX. Has anyone used Prototype? I've been told it's #1, but I hear the same about dojo. Right now I'm finding dojo a little cryptic, despite the few 'starter guides'. I'm initially looking for reasonable learning curve and loose coupling. Thanks for your time,Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] There, I guess King George will be able to read that! - John Hancock You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
[CFCDEV] Application.cfc variables and cflogin
Howdy all - Summary: A top level Application.cfc sets up the application vars and handles login with CFLOGIN. A child folder Application.cfc (extends parent) does not seem to have access to the GetAuthUser() set in the parent Application.cfc The index.cfm file in this child folder however does correctly report GetAuthUser(). So I'm constantly getting tripped up with the Application.cfc file and what it will and won't do, and more importantly what 'I think' it should be doing. Here's the scenario. I've got an application running in a sub-folder of an intranet. The intranet will pick up the Active Directory user ID from AUTH_USER that the browser picks up. The intranet then will user this username to automatically log them in. It works great and I've done this many time on all kinds of things. Except in this one case something is screwy... I guess the best way to describe it is through a simple diagram with numeric keys explaining the parts. Note: Session data is being passed, so that's not the issue. Intranet Folders and Files: CFLHDIntranet (folder) (1) \--- Application.cfc (2) \--- DocShare (folder) (3) \--- Application.cfc (4) \--- index.cfm (5) 1) - The whole intranet lives in this folder. 2) - Application.cfc (abreviated) cfcomponent output=true cfset this.name=CFLHDIntranet cfset this.sessionmanagement=yes cfset this.SetClientCookies=no cfset this.loginstorage=session cffunction name=onSessionStart returntype=void I do a bunch of login stuff to log them in and set an EMP_ID from the DB cflogin cfloginuser name=#loginQuery.EMP_ID# Password=#loginQuery.password# roles=#loginQuery.ROLE# /cflogin /cffunction 3) - Folder that the quarrelsome application lives in 4) - Application.cfc - This file will not return the GetAuthUser() as it was set in the parent Application.cfc cfcomponent extends=CFLHDIntraNet.Application cfoutput#GetAuthUser()# |#this.name#|/cfoutput - test before cflogin is called: returns domain/username cflogin applicationtoken=#this.name#/cflogin cfoutput#GetAuthUser()#/cfoutput - test after cflogin is called: returns domain/username --- a bunch of application level security needing the EMP_ID code from the parent Application.cfc /cfcomponent 5) However, if you call index.cfm the GetAuthUser() returns '707'=EMP_ID as it should. Thanks for your time! BN You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Application.cfc variables and cflogin
hmm.. so either this question was so dumb I provided everyone with a good chuckle or it's truly perplexing.. :)Brent Nicholas From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [CFCDEV] Application.cfc variables and cfloginDate: Thu, 23 Aug 2007 15:29:28 -0600 Howdy all - Summary:A top level Application.cfc sets up the application vars and handles login with CFLOGIN.A child folder Application.cfc (extends parent) does not seem to have access to the GetAuthUser() set in the parent Application.cfcThe index.cfm file in this child folder however does correctly report GetAuthUser(). So I'm constantly getting tripped up with the Application.cfc file and what it will and won't do, and more importantlywhat 'I think' it should be doing. Here's the scenario. I've got an application running in a sub-folder of an intranet. The intranet will pick up the Active Directory user ID from AUTH_USER that the browser picks up. The intranet then will user this username to automatically log them in. It works great and I've done this many time on all kinds of things. Except in this one case something is screwy... I guess the best way to describe it is through a simple diagram with numeric keys explaining the parts. Note:Session data is being passed, so that's not the issue. Intranet Folders and Files: CFLHDIntranet (folder) (1)\--- Application.cfc (2)\--- DocShare (folder) (3) \--- Application.cfc (4) \--- index.cfm (5) 1) - The whole intranet lives in this folder. 2) - Application.cfc (abreviated) cfcomponent output=true cfset this.name=CFLHDIntranet cfset this.sessionmanagement=yes cfset this.SetClientCookies=no cfset this.loginstorage=session cffunction name=onSessionStart returntype=void I do a bunch of login stuff to log them in and set an EMP_ID from the DB cflogin cfloginuser name=#loginQuery.EMP_ID# Password=#loginQuery.password# roles=#loginQuery.ROLE# /cflogin /cffunction 3) - Folder that the quarrelsome application lives in 4) - Application.cfc - This file will not return the GetAuthUser() as it was set in the parent Application.cfccfcomponent extends=CFLHDIntraNet.Application cfoutput#GetAuthUser()# |#this.name#|/cfoutput - test before cflogin is called: returns domain/username cflogin applicationtoken=#this.name#/cflogin cfoutput#GetAuthUser()#/cfoutput - test after cflogin is called: returns domain/username --- a bunch of application level security needing the EMP_ID code from the parent Application.cfc /cfcomponent 5) However, if you call index.cfm the GetAuthUser() returns '707'=EMP_ID as it should. Thanks for your time! BNYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Application.cfc variables and cflogin
Sean - Thanks for your reply. I'll copy and paste the 1-5 below and try to modify it to be more clear. -- To answer your question, it's both. If I do an output of GetAuthUser() in CFLHDIntranet\DocShare\Application.cfc I get: 'domain\user; If I do an output of GetAuthUser() in CFLHDIntranet\DocShare\index.cfm I get: '707' (emp_id as set in CFLHDIntranet\Application.cfc ) In the parent Application.cfc(2) I pick up AUTH_USER from the Windows Integrated Authentication (IE/IIS) as 'domain\username' and then set the GetAuthUser() by doing: cflogincfloginuser name=#loginQuery.EMP_ID# Password=#loginQuery.password# roles=#loginQuery.ROLE#/cflogin Will this work? THe intention is to set that value that GetAuthUser() returns to 'emp_id' for use everywhere. However it seems the child Application.cfc is still returning the 'domain\username', while the index.cfm(5) seems to get the intended value just fine. Is this any help? Intranet Folders and Files: CFLHDIntranet\ (folder) (1)CFLHDIntranet\Application.cfc (2)CFLHDIntranet\DocShare (folder) (3)CFLHDIntranet\DocShare\Application.cfc (4)CFLHDIntranet\DocShare\index.cfm (5) 1) - The whole intranet lives in this folder. 2) - 'CFLHDIntranet\Application.cfc' (abreviated) cfcomponent output=true cfset this.name=CFLHDIntranet cfset this.sessionmanagement=yes cfset this.SetClientCookies=no cfset this.loginstorage=session cffunction name=onSessionStart returntype=void I do a bunch of login stuff to log them in and set an EMP_ID from the DB cflogin cfloginuser name=#loginQuery.EMP_ID# Password=#loginQuery.password# roles=#loginQuery.ROLE# /cflogin /cffunction 3) - (DocShare) Folder that the quarrelsome application lives in 4) - 'CFLHDIntranet\DocShare\Application.cfc' - extends the parent Application.cfc This file will not return the GetAuthUser() as it was set in the parent Application.cfccfcomponent extends=CFLHDIntraNet.Application cfoutput#GetAuthUser()# |#this.name#|/cfoutput - test before cflogin is called: returns domain/username cflogin applicationtoken=#this.name#/cflogin cfoutput#GetAuthUser()#/cfoutput - test after cflogin is called: returns domain/username --- a bunch of application level security needing the EMP_ID code from the GetAuthUser() - set in the parent Application.cfc/cfcomponent 5) However, if you call 'CFLHDIntranet\DocShare\index.cfm' the GetAuthUser() returns '707'=EMP_ID as it should. Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] There, I guess King George will be able to read that! - John Hancock Date: Sat, 25 Aug 2007 13:00:49 -0700 From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: Re: [CFCDEV] Application.cfc variables and cflogin On 8/24/07, Brent Nicholas [EMAIL PROTECTED] wrote: hmm.. so either this question was so dumb I provided everyone with a good chuckle or it's truly perplexing.. I've read your post a couple of times but I'm really not sure what you're asking...? You start by saying that getAuthUser() does not return the right value but then you say: 5) However, if you call index.cfm the GetAuthUser() returns '707'=EMP_ID as it should. So... which is it? Right or wrong? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Application.cfc variables and cflogin
Sean - Thanks for your reply, I'll test this out on Monday when I get back in the office. BNBrent Nicholas - There, I guess King George will be able to read that! - John Hancock Date: Sat, 25 Aug 2007 14:27:41 -0700 From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: Re: [CFCDEV] Application.cfc variables and cflogin On 8/25/07, Brent Nicholas [EMAIL PROTECTED] wrote: Will this work? THe intention is to set that value that GetAuthUser() returns to 'emp_id' for use everywhere. However it seems the child Application.cfc is still returning the 'domain\username', while the index.cfm(5) seems to get the intended value just fine. Well, you have to understand the Application.cfc lifecycle to see why it's slightly different to regular CFCs... I would suggest moving this code: cfoutput#GetAuthUser()# |#this.name#|/cfoutput - test before cflogin is called: returns domain/username cflogin applicationtoken=#this.name#/cflogin cfoutput#GetAuthUser()#/cfoutput - test after cflogin is called: returns domain/username ...into onRequestStart() instead and see whether that produces the expected result. There are certain things you can't do reliably in the pseudo-constructor of Application.cfc based on what I've seen on various lists and problems people have run into. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Tom Minderson and anti-OO
Interesting reads, however a bit pushy on the I'm right stance. However I have to wonder... it OO really a good way to go? I'll preface by saying I've studied OO (java), though never had a chance to use it due to budget and time constraints (read: I'm inexperienced and that would drag the projects out for months on end..) So I've developed the following opinions for OO on projects: OO's fine if you: have a lot of expertise in it and write applications you host OO's fine if you: will need to use common objects (get from db, store in db, look up customer, get site details) OO's not fine if you: have a big project that needs to be on time, bug free and you don't have much experience in it OO's not fine if you: are building small custom internal applications I guess I've always been up against the fact that I'm the only developer here and have to show results and no excuses. So I've been shy on the CF OO thing because it seemed like such a monumental effort, maybe that's where these guys are comming from.. high pressure, high stress, I don't have time..Brent Nicholas - There, I guess King George will be able to read that! - John Hancock From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: RE: [CFCDEV] Tom Minderson and anti-OO Date: Wed, 29 Aug 2007 17:07:25 -0400 Yeah, I read a bit of that. I also think Minderson responded to that. He noted that it was very one sided. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Peddle Sent: Wednesday, August 29, 2007 4:49 PM To: cfcdev@cfczone.org Subject: Re: [CFCDEV] Tom Minderson and anti-OO Some anti - oo here: http://www.geocities.com/tablizer/oopbad.htmJustin Treher wrote: I was browsing around some old OO ColdFusion posts and saw a lot of talk by Tom MInderson. It seems like he has about 50 posts spread out (by doing a quick Google search). They all pretty much say the same thing: OO complicates things for datacentric applications that ColdFusion is targeting. I.e. we don't control cars or automatic garage doors. Then he goes on about this Set Theory. The only thing I could find on set theory with Coldfusion was at http://cfdj.sys-con.com/read/41826_p.htm . the most complex ColdFusion article ever. Is anyone familiar with his anti-web app OOP mission? Do his arguments have any validity? What the heck is set theory programming? I felt like I was stepping back into philosophy 101 with syllogisms. I do see his point that trying to map objects to a relational database is where OOP starts to feel really unnatural. In addition, with the business objects we deal with, it seems unnatural for them to have behaviors, unlike a car being able to start(). JustinYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.orgYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 8/28/2007 4:29 PM You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
RE: [CFCDEV] Tom Minderson and anti-OO
hmm... well I didn't intend to send this after writing it... since after I wrote I thought.. hmm.. I'm just thinking out loud. however my mouse and hand conspired against me... So feel free to chuckle and guffaw.. :) BN Brent Nicholas - There, I guess King George will be able to read that! - John Hancock From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: [CFCDEV] Tom Minderson and anti-OODate: Wed, 29 Aug 2007 15:38:24 -0600 Interesting reads, however a bit pushy on the I'm right stance. However I have to wonder... it OO really a good way to go? I'll preface by saying I've studied OO (java), though never had a chance to use it due to budget and time constraints (read: I'm inexperienced and that would drag the projects out for months on end..) So I've developed the following opinions for OO on projects: OO's fine if you: have a lot of expertise in it and write applications you hostOO's fine if you: will need to use common objects (get from db, store in db, look up customer, get site details) OO's not fine if you: have a big project that needs to be on time, bug free and you don't have much experience in itOO's not fine if you: are building small custom internal applications I guess I've always been up against the fact that I'm the only developer here and have to show results and no excuses. So I've been shy on the CF OO thing because it seemed like such a monumental effort, maybe that's where these guys are comming from.. high pressure, high stress, I don't have time..Brent Nicholas - There, I guess King George will be able to read that! - John Hancock From: [EMAIL PROTECTED] To: cfcdev@cfczone.org Subject: RE: [CFCDEV] Tom Minderson and anti-OO Date: Wed, 29 Aug 2007 17:07:25 -0400 Yeah, I read a bit of that. I also think Minderson responded to that. He noted that it was very one sided. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Peddle Sent: Wednesday, August 29, 2007 4:49 PM To: cfcdev@cfczone.org Subject: Re: [CFCDEV] Tom Minderson and anti-OO Some anti - oo here: http://www.geocities.com/tablizer/oopbad.htmJustin Treher wrote: I was browsing around some old OO ColdFusion posts and saw a lot of talk by Tom MInderson. It seems like he has about 50 posts spread out (by doing a quick Google search). They all pretty much say the same thing: OO complicates things for datacentric applications that ColdFusion is targeting. I.e. we don't control cars or automatic garage doors. Then he goes on about this Set Theory. The only thing I could find on set theory with Coldfusion was at http://cfdj.sys-con.com/read/41826_p.htm . the most complex ColdFusion article ever. Is anyone familiar with his anti-web app OOP mission? Do his arguments have any validity? What the heck is set theory programming? I felt like I was stepping back into philosophy 101 with syllogisms. I do see his point that trying to map objects to a relational database is where OOP starts to feel really unnatural. In addition, with the business objects we deal with, it seems unnatural for them to have behaviors, unlike a car being able to start(). JustinYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.orgYou are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 8/28/2007 4:29 PM You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfmCFCDev is supported by:Katapult Media, Inc.We are cool code geeks looking for fun projects to rock!www.katapultmedia.comAn archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock