Play with Sleepycat's Berkeley DB?
Has anyone played w/ Sleepycat's Berkeley DB or Berkely DB XML? Looks interesting - and its free. -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFMX Secure FTP
Here's my task: Create a web-based mechanism that can provide a means to transmit large blocks of data (XML data dumps to be exact) from one location to another (usually thousands of miles away). The key requirement is that the data travel encrypted and that it have resume capability. My gut tells me to go w/ some form of secured FTP to transmit the data. I could probably piece together some sort of front-end that shows progress in some manner (I think) through a web console. Does anyone have other suggestions as to a good way to transmit data in such a manner? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMX Secure FTP
Does this support resuming large file transfers that break? -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:38 AM To: CF-Talk Subject: RE: CFMX Secure FTP replied to quick. here is some info on soap http://www.soaprpc.com/tutorials/ ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:35 AM To: CF-Talk Subject: RE: CFMX Secure FTP uhhh, why not soap? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Rich Z [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:30 AM To: CF-Talk Subject: CFMX Secure FTP Here's my task: Create a web-based mechanism that can provide a means to transmit large blocks of data (XML data dumps to be exact) from one location to another (usually thousands of miles away). The key requirement is that the data travel encrypted and that it have resume capability. My gut tells me to go w/ some form of secured FTP to transmit the data. I could probably piece together some sort of front-end that shows progress in some manner (I think) through a web console. Does anyone have other suggestions as to a good way to transmit data in such a manner? -Rich _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Odd XML parsing behavior
Maybe I'm just being a NAG here, but here's what's happening: I'm parsing 2 RSS feeds when a page loads with MX's xmlparse function. First thing I noticed was that even though the files were local, it wasn't very quick. I put some trace code in and noticed that the first time the xmlparse function is used (on the first RSS), it takes approx. 150-200 MS, the second time its used - it takes almost no time. Any ideas? And while we're on the topic: are there better alternatives to MX's native XML support? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Odd XML parsing behavior
Ouch. Heheh. Sorry I asked. It turned out to have been something else - this particular RSS (BBC feed in fact) was for whatever reason taking an extra long time to build. I tried it w/ a handful of other feeds and it seems fine now. Thanks, Rich -Original Message- From: Massimo Foti [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 9:30 AM To: CF-Talk Subject: Re: Odd XML parsing behavior And while we're on the topic: are there better alternatives to MX's native XML support? You can call a Java parser directly and do pretty much whatever you want with it... BTW I have an old quote on this: I have yet to come across an XML system where the true performance bottleneck is XML parser speed. Moreover, the people I meet who are infatuated with parser speed are the same people who thought the Web would never work because HTTP was too slow or that Java would never succeed because it is too slow. Those old enough to have been there used to claim systems written in C rather than assembler would be too slow. -Sean McGrath :-))) Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Good way to search XML
What's the most efficient way to search through an XML to check - let's say - a user name password kept in an XML file of all users? I haven't dug into this yet - but I'm going to try pulling the XML and then Xpath? Any other approaches? -Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Storing XML
Hi all: What's an efficient way to store/retrieve XML other than a database (let's assume I don't have access to one for now) ? Now, I've tried CFFILE/write to throw down and CFHTTP to pull back from the local web folders (seems to be quicker than CFFILE/read), but I've gotta say, even on 6.1 CFHTTP/Get right off the local web folders is not very quick. Can anyone suggest alternatives to the above. I have no real allegience to any particular method. I'm just trying to get something going for something that may require a fair amt. of scalability. Thanks, Rich [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Accessing global UDF's from within CFC's
I have a collection of global functions that I'd like to make available as good'ol functions (w/o invoking/instantiating) to other functions in CFC's. It's essentially an include file of functions that I include application.cfm. Is this possible? -Rich ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Turning string into a time object
What's the easiest way to take a string like this: Wed, 10 Sep 2003 13:45:11 PDT And turn it into a date/time object that you can use datediff with? What I'm really trying to do is conver the time zone into the logged-in user's existing timezone (which is known beforehand). Thanks in advance, Rich ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Efficient way to handle undefined variables
What is the best/most efficient way to handle a scenario where you're populating variables from other variables that may or may not exist. If they don't exist, an empty string should be assigned. I wrote a little function to do this with a simple if statement inside: If (isDefined(inVal) { outVal = inVal; } else { outVal = ; } Is this the best way to go about this? I'm going to end up wrapping quite a few variables in this function, that's why I'm curious (I'm puling in an XML that potentially has MANY optional variables). Thanks, Rich ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Objects Everywhere!
Umm, not sure really. Lemme throw out an extreme example. Let's say a user (to further the illustration below) has 230 bookmarks. Let's also assume that there are all sorts of properties associated with a bookmark (e.g. description, date added, title, url, etc.) but all I need to display are the url's on the user page. It just seems that to use a getter for each of the 230 bookmarks for 1 or 2 fields is overkill. An alternative I suppose is to just have a person.bookmarks property that carries an array (or query) with the information that is populated from the bookmark object? I guess all I'm asking is - as far as OO approaches is concerned - how should one handle a scenario where an object's composition includes many instances of the same object? Thanks for the response on the first. My 200 users are looking MEASLY. Heheh. -Rich -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 7:06 PM To: CF-Talk Subject: Re: Objects Everywhere! On Saturday, Aug 9, 2003, at 15:33 US/Pacific, Rich Z wrote: 1.One of the things I'd like to do is populate a user's session with a user object that persists. Now my concern here is that this object is being created for each authenticated user. I'm assuming that all methods effectively get copied ot every user as well (again I'm assuming). This sounds expensive. If I get to 200, 300, etc. concurrent logged-in users, is this an inefficient way to do things? macromedia.com uses session scope instances of CFCs and supports 15,000-20,000 concurrent sessions during peak traffic - I wouldn't worry about a few hundred users! 2.Another sort of related quesiton is the idea of an object having other objects (i.e. composition). Here's my concern here. Let's say I've got a user object that has one to many bookmarks associated with it. If a user has say 15 bookmarks, this also seems inefficient. Why do you think it's inefficient? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Objects Everywhere!
Thanks for the insights. Very helpful. -Rich -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 11:09 PM To: CF-Talk Subject: Re: Objects Everywhere! On Saturday, Aug 9, 2003, at 17:45 US/Pacific, Rich Z wrote: Umm, not sure really. Lemme throw out an extreme example. Let's say a user (to further the illustration below) has 230 bookmarks. Let's also assume that there are all sorts of properties associated with a bookmark (e.g. description, date added, title, url, etc.) but all I need to display are the url's on the user page. It just seems that to use a getter for each of the 230 bookmarks for 1 or 2 fields is overkill. Right, so the issue here is all about which 'objects' in your model are really important objects that actually have behaviors and which are just data. While a bookmark object may be very reasonable if you are focusing on the bookmarks themselves, that implementation may be overkill if you're really focused on the user. An alternative I suppose is to just have a person.bookmarks property that carries an array (or query) with the information that is populated from the bookmark object? Yes, or have a bookmarks object that holds all the bookmarks in some internal format (such as a query, for example) with some methods to make it easier to retrieve data from that internal format. Again, it's the decision about whether an individual bookmark is important enough to model on its own or whether you really just want to model the collection of bookmarks. I guess all I'm asking is - as far as OO approaches is concerned - how should one handle a scenario where an object's composition includes many instances of the same object? There's no hard and fast rule. If the collection itself is important, model that as an object. If the contents of the collection are the most important part, an array of objects is reasonable. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Objects Everywhere!
I've coding CF for a few years, and I'm digging into using CFC's as objects rather than just invoking them. I've got a couple of questions if anyone can help: 1. One of the things I'd like to do is populate a user's session with a user object that persists. Now my concern here is that this object is being created for each authenticated user. I'm assuming that all methods effectively get copied ot every user as well (again I'm assuming). This sounds expensive. If I get to 200, 300, etc. concurrent logged-in users, is this an inefficient way to do things? 2. Another sort of related quesiton is the idea of an object having other objects (i.e. composition). Here's my concern here. Let's say I've got a user object that has one to many bookmarks associated with it. If a user has say 15 bookmarks, this also seems inefficient. Hal Helms explained composition nicely with a simple Person-Address composition relationship (i.e. a person has an address). This makes sense and isn't worrisome b/c it is more or less a one-to-one relationship (or close to it). But if an object is composed of potentially many objects - is this still the best way to go? The alternative obviously is to just pull back the bookmarks as part parcel of the person object's get method and just make it a native property of person (structure/query/whatever). Any insight here would be greatly appreciated. -Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFFUNCTION and VAR's
I understand the importance of VARing variables created for function purposes - but I'm not getting where they belong in the grand scheme of things. I'm fine w/ the UDF/cfscript style, it's the tag-based CFFUNCTION style that's tripping me up. Does it belong before or after CFARGUMENT's? Can they be created in the middle of the function code somewhere? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFFUNCTION and VAR's
The following code throws an error... cffunction name=execRulesetDetailed access=remote returntype=query displayname=Execute Rule Set (Simple Mode) output=yes cfargument name=RulesetID type=string required=yes displayname=Ruleset ID cfargument name=fields type=struct required=yes displayname=Fields !--- Get Ruleset --- CFSCRIPT var rs = getruleset(arguments.rulesetID); var ff = duplicate(arguments.fields); var qry_results = querynew(Result,ruleID,description); /CFSCRIPT -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:14 AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's Just like var in script statements have to be 'on top', the same applies to var scoped variables in CFFUNCTION style UDFs. Simply place them after your cfargument tags and before any line of 'real' code. === Raymond Camden, ColdFusion Jedi Master 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: Rich Z [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 7:00 AM To: CF-Talk Subject: CFFUNCTION and VAR's I understand the importance of VARing variables created for function purposes - but I'm not getting where they belong in the grand scheme of things. I'm fine w/ the UDF/cfscript style, it's the tag-based CFFUNCTION style that's tripping me up. Does it belong before or after CFARGUMENT's? Can they be created in the middle of the function code somewhere? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFFUNCTION and VAR's
Ah! Thanks much. I've got work to do. Heh. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 11:59 AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's Crrect, since cfscript is considered a tag of code so to speak. You must use this format: cfset var foo = goo === Raymond Camden, ColdFusion Jedi Master 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: Rich Z [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:54 AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's The following code throws an error... cffunction name=execRulesetDetailed access=remote returntype=query displayname=Execute Rule Set (Simple Mode) output=yes cfargument name=RulesetID type=string required=yes displayname=Ruleset ID cfargument name=fields type=struct required=yes displayname=Fields !--- Get Ruleset --- CFSCRIPT var rs = getruleset(arguments.rulesetID); var ff = duplicate(arguments.fields); var qry_results = querynew(Result,ruleID,description); /CFSCRIPT -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:14 AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's Just like var in script statements have to be 'on top', the same applies to var scoped variables in CFFUNCTION style UDFs. Simply place them after your cfargument tags and before any line of 'real' code. == == === Raymond Camden, ColdFusion Jedi Master 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: Rich Z [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 7:00 AM To: CF-Talk Subject: CFFUNCTION and VAR's I understand the importance of VARing variables created for function purposes - but I'm not getting where they belong in the grand scheme of things. I'm fine w/ the UDF/cfscript style, it's the tag-based CFFUNCTION style that's tripping me up. Does it belong before or after CFARGUMENT's? Can they be created in the middle of the function code somewhere? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
DRK4 Red Sky
Hi all: I grabbed the DRK4 files this past weekend and noticed that RSS Untangle required Red Sky (or the 1.4 JVM). I'm sort of surprised Macromedia would put out a DRK that isn't even supported on the current CFMX release. Any idea why this occurred? My guess is Red Sky is very close. -Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Caching custom tag article somewhere?
Thanks much. Very cool. How've you found the performance with this? (then again it is your CHILD, heheh) -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Sunday, July 27, 2003 11:11 PM To: CF-Talk Subject: RE: Caching custom tag article somewhere? That would be an article I wrote. The tag was called scopeCache and was pretty simple. This is the MX version. The nonMX version would need loads of locks. This shold be extended to support things like timeouts, etc. cfif not isDefined(attributes.name) or not isSimpleValue(attributes.name) cfthrow message=scopeCache: The name attribute must be passed as a string. /cfif cfif not isDefined(attributes.scope) or not isSimpleValue(attributes.scope) or not listFindNoCase(application,session,server,attributes.scope) cfthrow message=scopeCache: The scope attribute must be passed as one of: application, session, or server. /cfif !--- create pointer to scope --- cfset ptr = structGet(attributes.scope) !--- init cache root --- cfif not structKeyExists(ptr,scopeCache) cfset ptr[scopeCache] = structNew() /cfif cfif isDefined(attributes.clear) and structKeyExists(ptr.scopeCache,attributes.name) cfset structDelete(ptr.scopeCache,attributes.name) cfexit /cfif cfif thisTag.executionMode is start !--- determine if we have the info in cache already --- cfif structKeyExists(ptr.scopeCache,attributes.name) cfoutput#ptr.scopeCache[attributes.name]#/cfoutput cfexit /cfif cfelse cfset ptr.scopeCache[attributes.name] = thistag.generatedcontent /cfif === Raymond Camden, ColdFusion Jedi Master 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: Rich Z [mailto:[EMAIL PROTECTED] Sent: Sunday, July 27, 2003 6:36 PM To: CF-Talk Subject: Caching custom tag article somewhere? Guys: I could have SWORN I'd read an article that explained a custom tag (very simple one actually) that gave the user the option of defining which scope to cache the content, etc. Real neat little tag. I THINK the article was in CFDJ, but I can't find it in the archives. Can someone help? Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Writing Custom Tags in XML?
Is it possible to write custom tags in well-formed XML? The reason I ask is that I'd like to take advantage of CFMX's XML parsing to create documented views by simply pointing to the custom tag. Will this render the tags unusable? For example: ?xml version=1.0 encoding=UTF-8? CustomTag name=makebold description=This tag makes the passed on text attribute bold. CFPARAM default=YourText name=text type=string hint=The text passed in that will be made bold. CFOUTPUTb#attributes.text#/b/CFOUTPUT /CustomTag Notice I added attributes to the CFPARAM tags (attributes I'm assuming CFMX will ignore?) as well as wrapped the whole thing in a root element. What will CF do with this? Of course, I could just try this myself - but I'm too damn lazy. Heh. Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Caching custom tag article somewhere?
Guys: I could have SWORN I'd read an article that explained a custom tag (very simple one actually) that gave the user the option of defining which scope to cache the content, etc. Real neat little tag. I THINK the article was in CFDJ, but I can't find it in the archives. Can someone help? Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC's and how they work.
Thanks for the insight. Very helpful. -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 3:46 PM To: CF-Talk Subject: Re: CFC's and how they work. On Thursday, Jul 24, 2003, at 10:07 US/Pacific, Rich Z wrote: I've got a box here at work and it has CFC that is going to get pretty hard. I'm a bit wary of scalability, which leads me to a few questions: macromedia.com is very CFC-heavy and supports over 15,000 concurrent active sessions during peak morning load so, yes, it can scale. 1.What does CFMX do about caching CFC's? Does it cache them? Does it cache them along with parameters? Each CFC and each method within a CFC is converted to a Java class file, just like each CFM file, and that compiled class file is loaded (and cached in memory). As Ray said, the lifetime of each CFC instance is whatever you tell it to be, i.e., depending on how you use and store it. 2.Let's assume a CFC method requires 3 seconds for output in testing. Once in production, let's assume that load is significant enough such that the CFC will be invoked every second. Will the invocation have to wait for the CFC to finish processing the previous one? I guess another question I'm asking is - do CFC's support multi-threading? This is no different to having any CFM page that takes three seconds and still being able to support many concurrent users. 3.If they don't, is there something I can tweak/change/do to make them better handle near-simultaneous requests? It depends on how you are trying to use CFCs. If you have stateless CFCs, you can create a single cached issue in application scope and use that instance for all your cfinvoke's. If you have stateful CFCs, you need to manage their lifetimes according to whatever rules the state has - it may be per page, per request, per session. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Homesite VTML Builder?
Does Homesite/CF Studio come with a VTML Builder/Wizard? I could have sworn I saw screenshots somewhere. Am I going bonkers? -Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFC's and how they work.
I've got a box here at work and it has CFC that is going to get pretty hard. I'm a bit wary of scalability, which leads me to a few questions: 1. What does CFMX do about caching CFC's? Does it cache them? Does it cache them along with parameters? 2. Let's assume a CFC method requires 3 seconds for output in testing. Once in production, let's assume that load is significant enough such that the CFC will be invoked every second. Will the invocation have to wait for the CFC to finish processing the previous one? I guess another question I'm asking is - do CFC's support multi-threading? 3. If they don't, is there something I can tweak/change/do to make them better handle near-simultaneous requests? Any insight would be great. Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Nesting CFC's in a transaction block
Is it possible to do the following: CFTRANSACTION . CFINVOKE component=x method=updateX . CFINVOKE component=y method=updateY . /CFTRANSACTION My guess is the transaction will not be capable of rolling back. Any insight? Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Nesting CFC's in a transaction block
Wow, very sweet. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:37 AM To: CF-Talk Subject: RE: Nesting CFC's in a transaction block Fixed in RedSky. (And yes, I know it's under NDA, but again, I was given permission to mention certain CFC bug fixes at the last two conferences. Thanks MACR. :) === Raymond Camden, ColdFusion Jedi Master 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: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 9:29 AM To: CF-Talk Subject: Re: Nesting CFC's in a transaction block Is it possible to do the following: CFTRANSACTION . CFINVOKE component=x method=updateX . CFINVOKE component=y method=updateY . /CFTRANSACTION That is correct. Currently, you're approach will not work, as the CFCs are not transaction-aware in this case. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Good VTML Edtior?
Is there a good VTML edtior out there? Does homesite have vtml editor? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
JSP 10X faster than CFM?
I've heard that JSP is that much faster than CFML. I even read somewhere its 10X faster. Is this true? -Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JSP 10X faster than CFM?
FYI, here it is: http://www.halhelms.com/index.cfm?fuseaction=writings.displayOnScreenwr iting=TenReasonsCompaniesLikeJava.htm Java is a high-performance language. Java with JSP (similar to ColdFusion for presentation) is over 10 times faster than using ColdFusion. A single JSP server can handle 10 times the number of simultaneous requests that ColdFusion can.. Can you scale CF by adding hardware? Sure, but each server costs both hardware and software licensing money and all these must be administered. I'm assuming the reference is to CFMX? Not sure. Rich -Original Message- From: Rich Z [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:37 PM To: CF-Talk Subject: JSP 10X faster than CFM? I've heard that JSP is that much faster than CFML. I even read somewhere its 10X faster. Is this true? -Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Good VTML Edtior?
In looking for an editor - I stumbled on this web-based one. VERY cool :) http://www.smartsofttools.com/vtmlbuilder/ -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:42 PM To: CF-Talk Subject: RE: Good VTML Edtior? As far as I know, no. This is probably the _only_ thing I don't like about HS+/Studio/HS - the difficulty of writing a VTM. Of course, in the old days, you actually had to restart the program when you edit a VTM. Ick! === Raymond Camden, ColdFusion Jedi Master 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: Rich Z [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 1:37 PM To: CF-Talk Subject: Good VTML Edtior? Is there a good VTML edtior out there? Does homesite have vtml editor? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Dreamweaver tag updates for redsky
Redsky has new tags? -Original Message- From: Tilbrook, Peter [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 9:29 PM To: CF-Talk Subject: RE: Dreamweaver tag updates for redsky There are for Studio 5/HomeSite+ on the beta site. Not for DWMX as yet. ** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in error, please delete it and notify the sender by return e-mail or telephone. The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. *** ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Beta Testing RedSky
What's Mach II? -Original Message- From: chad [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 11:22 AM To: CF-Talk Subject: Beta Testing RedSky Where can I get information about becoming a beta tester for redsky and/or Mach II ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Jrun memory usage out of hand
I noticed when running certain pages that - sometimes - Jrun's memory usage goes out of hand. Even stopping and restaring the CFMX service reduced usage somewhat - but not a whole lot. And when I go back in to test again, the memory usage shoots back up. Anyone have any idea what is causing this? The page that is processing isn't overly complex. It's a basic table output of a query with some sorting and paging functionality. Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Caching cfc objects in the application scope
Is this worth doing? Does it improve performance at all? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Caching cfc objects in the application scope
Interesting. Good to know. Those are some nasty bugs. A couple more questions: 1. What's the best way to copy a cfc into the application scope? I've seen people do this in different ways? Structcopy? Duplicate? 2. What's the release date for Red Sky (if there is one)? Thanks for your response, Rich -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:54 AM To: CF-Talk Subject: RE: Caching cfc objects in the application scope It does improve performance. However, I (and others) have found issues with CFCs that are cached and under load. (And I don't mean big honkin amazon.com load, just medium level load.) Issues like: 1) Methods not working anymore - in other words, you call foo() and the CFC forgets it has foo() (This happened on my blog.) 2) Method blah() has a query inside. It returns the query. I kept getting errors stating that it wasn't returning a query, however, I never saw any db errors. For some reason, the cfquery would run, make a recordset called whatever, whatever exists, but wasn't a real recordset. (Happens on cflib.org.) Both issues disappeared if I remove the CFC from cache. I can also say MACR knows about these issues, so I bet they will be fixed soon. I bring them up because they are the worst kind of bugs... bugs that don't happen 100% of the time. :) (And if you don't know it already, Red Sky will have LOADs of CFC fixes, check out my mx on the rocks preso for more info. And yes, I was given permission to mention this.) === Raymond Camden, ColdFusion Jedi Master 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: Rich Z [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 9:45 AM To: CF-Talk Subject: Caching cfc objects in the application scope Is this worth doing? Does it improve performance at all? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Best Practices for CFIF
I was wondering if anyone has bothered to look at best practices CFIF statements. I've been following the guidelines in this article in CFDJ by Tom Nunamaker: http://www.sys-con.com/coldfusion/articleprint.cfm?id=533 I then realized that the article was written against CF5. Does anyone know if these same suggestions apply to CFMX? Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
The Verbosity of CFOUTPUT
I am a big fan and advocate of CFML, but I have to confess, I've grown so tired of wrapping cfoutput tags around values like CFOUTPUT#this#/CFOUTPUT. Now I know I could put Cfoutputs at the top and bottom of my page (or block) and save myself some hassle, but I've read in numerous places that this is bad practice and resutls in a performance hit. So, at the risk of sounding like a brat (heh), is there a way to shortcut this kind of output? I know asp has %= . % etc. and JSP has something similar. I think my pages would look a lot cleaner if I could. Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC performance difficulties
Michael: I'll admit that I don't have years of OO experience behind me, but in my experience I've found that many of the applications I've designed/built share a very common paradigm: objects that require a line-item view (e.g. lists and search results) and a zoomed-in or detailed view (often used for full view of a single object or an edit/modify page of that object). With that assumption, I think it makes the most sense to reserve object instantiation for those full views of your object while creating other CFC's that simply build queries for search results. I suppose the better question to ask is - why would I need all the glorious details and methods of a particular object if all I can really do in a line-item sort of view is click on it? Again, I'm not an OO expert by any means, so if someone out there can enlighten us further, I'd look forward to it. I just try to use business (or more specifically end-user) goals to drive the design. -Rich -Original Message- From: Pacella, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 11:37 AM To: CF-Talk Subject: CFC performance difficulties Has anyone experienced slow downs when passing around several CFCs as objects ? Here's the problem we have run in to: To encapsulate information about all of the Campuses in our database, a CFC was created to act sort of like a Java object representing campus (complete with properties such as campusName, campusCode, campusBeginDate, campusContact, etc.. -- and settors and gettors to retrieve them)... Another CFC was created to access the database, performing functionality such as search. Search would query the DB, and then step thru the results, creating Campus CFC objects for EACH campus returned. The end result of the function would be a Structure whose Keys were the CampusCode and whose Value were the actual, aforementioned Campus CFC object. Passing around over 100 of these CFC objects encapsulated in a Structure causes a massive performance hitUsing GetTickCount(), it was determined that simply writing a query and looping through it took about 27 milliseconds. Whereas, creating this structure of Campus CFCs, looping through that and having an actual OO programmatic concept took about 563 milliseconds. That seems a little bit excessive. The question is, (1) am I misconstruing the power of CFCs (2) can/have they been implemented in a similar fashion (3) was it intended for several to be encapsulated in structures (which old Java guys might look at as Hashtables whose values are Objects)... Any insight here would be extremely helpful -- Thanks ! http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=3thre adid =643548 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: The Verbosity of CFOUTPUT
Ah. Didn't know that things changed since MX. Very cool (and much less painful, heh). Thanks for the link also - very useful. -Rich -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 4:31 PM To: CF-Talk Subject: Re: The Verbosity of CFOUTPUT On Thursday, Jun 26, 2003, at 12:02 US/Pacific, Rich Z wrote: I am a big fan and advocate of CFML, but I have to confess, I've grown so tired of wrapping cfoutput tags around values like CFOUTPUT#this#/CFOUTPUT. Now I know I could put Cfoutputs at the top and bottom of my page (or block) and save myself some hassle, but I've read in numerous places that this is bad practice and resutls in a performance hit. That may be true of pre-CFMX releases but I don't think it's true of CFMX. What I tend to do is: cfsilent - or similar to suppress output ... ... any in-page logic ... ... /cfsilent cfoutput ... ... HTML with very minimal CFML inline ... /cfoutput See the adapted-from-Macromedia Coding Guidelines: http://www.corfield.org/coldfusion/coding_standards.html#Anchor32 Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Consuming a web service in classic ASP
Hello all: I'm probably asking this in the wrong forum, but the web service is a CFC so maybe you can let it slide this time. Hehhe: I've written a web service in CFMX and would like to have it consumed in an applciation we built in classic ASP. Is there a way to do this? Let's assume I don't have the option of installing the .Net framework (since its so foreign to classic ASP and requires a lot of hoops anyway. Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Web Service Woes
I'm trying ot turn a CFC into a web service and I'm getting all sorts of silliness. I have confirmed that the CFC is intact and funtioning properly if I just call it as component. Here is the code in the header of the function: cfinvoke method=execRulesetSimple returnvariable=result webservice=http://localhost:87/c/cfc/ruleset.cfc?wsdl; cfinvokeargument name=rulesetID value=#form.uid_ruleset# cfinvokeargument name=operator value=#form.operator# cfinvokeargument name=fields value=#form# /cfinvoke Here is the relevant function: cffunction name=execRulesetSimple access=remote returntype=string cfargument name=RulesetID type=string required=yes cfargument name=fields type=struct required=yes cfargument name=operator type=string required=yes default=AND function code . CFRETURN result /cffunciton And here's the error I get: Web service operation execRulesetSimple with parameters {fields={{STR_COUNTY=broward, OPERATOR=or, STR_ZIP=, UID_RULESET=DC45E4C5-874E-40F7-5D3D190792CE3C15, FIELDNAMES=STR_COUNTY,STR_ZIP,STR_AGENCY,UID_RULESET,OPERATOR, STR_AGENCY=}},operator={or},rulesetID={DC45E4C5-874E-40F7-5D3D190792CE3C 15},} could not be found. Note, I'm passing the form structure into the 'fields' argument in the method (that's why you see all that silliness above.). I guess my first question is: why is it saying could not be found above? Any help would be great. Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Good Ol' Cold Fusion Performance Question
Hello all: I'm new to this list but have always been a fan of CF's elegance and power for years. I am a manager in dev shop and the classic argument arises when CF comes up: can CF perform on par with jsp? Php? Asp? .net? Is there anything out there in terms of a comparative study of some sort that lays it all out? My guess is that it will be slower than Jsp since its in effect a layer on top of java (so is JSP I suppose, but I'm guessing its closer to Java than CF is, someone correct me if I'm wrong here). I'd be glad to present to case for future technology decisions where I'm at, but I don't feel like I have the ammunition. Anyone? Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFIMPORT CF Custom Tags
One work around is to add a mapping to the JRUN XML settings, in jrun-webl.xml: virtual-mapping resource-path/mappath/resource-path system-pathC:/folder/folder/systempath/system-path /virtual-mapping -Original Message- From: Reilly, James [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2003 2:03 PM To: CF-Talk Subject: CFIMPORT CF Custom Tags I want to use CFIMPORT to import CF custom tags. I have a file in: \Inetpub\wwwroot\cfm\cfm_suny\enrollmentmgmt\oas\suny_application_new.cf m where I have this line as the first line in that file: cfimport prefix=common taglib=/customtags/common Where my customtags are located in: \Inetpub\extensions\customtags and common is under customtags Thus: (\Inetpub\extensions\customtags\common) I get this error: Could not import the tag library specified by /customtags/common. The following error was encountered: c:\inetpub\wwwroot\customtags\common. Please ensure that you have specified a valid tag library. Other taglib values that I tried are: /customtags/common/ customtags/common /customtags/common common Etc... In the CF Admin I have: Current Custom Tag Paths set to: C:\Inetpub\extensions\customtags And also in Mappings: /customtags C:\Inetpub\extensions\customtags Can anyone help??? What should the mappings be and/or the correct tablib value. PS: This is directory bases on Benorama and Sean A Corfield Tkx, Jim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Good Ol' Cold Fusion Performance Question
Thanks for the insight. This is really helpful. It's pretty amazing that this stigma continues to dog CF to this day. It is still perceived as a designer's platform. One colleague referred to it as sort of like Front Page. Heh. Thanks again, Rich -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 9:05 PM To: CF-Talk Subject: RE: Good Ol' Cold Fusion Performance Question Rich this is a question that has been aired in various forms many times. I can give you my experience having used CF seriously since version 1.54 and having worked for Allaire and MM as a field based Consultant (read Troubleshooter). My view is very much from a CF angle. From a coding standpoint in terms of getting an application coded well and out of the door nothing has ever bettered CF. The advent of Fusebox also added the possibility of using a well distributed framework which we find is greatly in demand in the larger enterprise operations. Fusebox is moving into other paradigms (PHP, ASP, JSP) etc but it much more evolved for CF. In my time at Allaire and Macromedia I saw applications of all sizes. Wherever there were perfomance issues they always related back to bad coding or dodgy infrastructure. Once these items were corrected CF was always able to scream. I had two large CF user clients paranoid that they had lost most of their site users because stability and system loads were suddenly amazingly better. One of them was one of the worlds large Auto manufacturers and they had bloody busy sites. So my point of view is that CF Sites coded well in a workable scalable and understandable framework cannot be beaten from a web application standpoint and this is historical. When you add to that the possibilities before us with the MX Family, all the rest really do pale IMHO. Kind Regards - Mike Brunt Original Message --- Hello all: I'm new to this list but have always been a fan of CF's elegance and power for years. I am a manager in dev shop and the classic argument arises when CF comes up: can CF perform on par with jsp? Php? Asp? .net? Is there anything out there in terms of a comparative study of some sort that lays it all out? My guess is that it will be slower than Jsp since its in effect a layer on top of java (so is JSP I suppose, but I'm guessing its closer to Java than CF is, someone correct me if I'm wrong here). I'd be glad to present to case for future technology decisions where I'm at, but I don't feel like I have the ammunition. Anyone? Thanks, Rich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFCONTENT Problem
I'm sure this problem has been addressed before, but here it is: I'm trying to make a file available for download through CFCONTENT. The cfm page send.cfm looks like this:: cfcontent type=unknown file=c:\archive\file.mp3 deletefile=No The problem is, instead of sending that file, it sends the right file but it names it send.cfm instead of the actual file name. Any idea how to resolve this? Thanks, Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFCONTENT Problem
Still happening. Is there something I need to do on the server side? -Original Message- From: Dain Anderson [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 10, 2001 4:38 PM To: CF-Talk Subject: Re: CFCONTENT Problem Give this a shot: CFHEADER NAME=Content-Disposition VALUE=attachment; filename=file.mp3 CFCONTENT TYPE=unknown FILE=c:\archive\file.mp3 DELETEFILE=No Dain Anderson Caretaker, CF Comet http://www.cfcomet.com/ - Original Message - From: Rich Z [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 4:17 PM Subject: CFCONTENT Problem I'm sure this problem has been addressed before, but here it is: I'm trying to make a file available for download through CFCONTENT. The cfm page send.cfm looks like this:: cfcontent type=unknown file=c:\archive\file.mp3 deletefile=No The problem is, instead of sending that file, it sends the right file but it names it send.cfm instead of the actual file name. Any idea how to resolve this? Thanks, Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFCONTENT Problem
I'm actually using Windows 2000 Server. -Original Message- From: Duane Boudreau [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 10, 2001 8:58 PM To: CF-Talk Subject: RE: CFCONTENT Problem What is the WinNT SP? Duane -Original Message- From: Rich Z [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 10, 2001 8:50 PM To: CF-Talk Subject: RE: CFCONTENT Problem Still happening. Is there something I need to do on the server side? -Original Message- From: Dain Anderson [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 10, 2001 4:38 PM To: CF-Talk Subject: Re: CFCONTENT Problem Give this a shot: CFHEADER NAME=Content-Disposition VALUE=attachment; filename=file.mp3 CFCONTENT TYPE=unknown FILE=c:\archive\file.mp3 DELETEFILE=No Dain Anderson Caretaker, CF Comet http://www.cfcomet.com/ - Original Message - From: Rich Z [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 4:17 PM Subject: CFCONTENT Problem I'm sure this problem has been addressed before, but here it is: I'm trying to make a file available for download through CFCONTENT. The cfm page send.cfm looks like this:: cfcontent type=unknown file=c:\archive\file.mp3 deletefile=No The problem is, instead of sending that file, it sends the right file but it names it send.cfm instead of the actual file name. Any idea how to resolve this? Thanks, Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Sending MP3's Through CF
I figured out a way to send mp3's through a web server on demand (pseudo-streaming by using CFCONTENT w/ a mime-type of audio/mpegurl. The page that does the sending looks like this: CFCONTENT TYPE=audio/x-mpegurl cfoutput #EXTM3U #EXTINF:-1,#title# http://my.server/mp3/#streamurl# /cfoutput My question: I'd like to still do the above without mapping my mp3 folder on the web server and referring to my own server. As it is - people can snoop around the /mp3 folder on the web server. Any suggestions on how to get around this? Thanks, Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Bizarre Browser Problem
I'm using a CF web hosting service and I'm getting an absolutely bizarre scenario: When I open the CF pages on my PC at home, they come into the browser with all the CF code intact (i.e. unprocessed). I thought this was an issue at the host, but it turns out if I surf anywhere else, it works fine. Any suggestions/help? Thanks, Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
SQL Question: Limiting results against a particular grouping
How would I go about limiting the number of results against a particular grouping in SQL. For example, the query returned 16 rows in 'Los Angeles' and 23 rows in 'New York', but I would like to only show 10 of each. Thanks in advance, Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists