Re: ANN: ColdFusion tag for tabbed GUIs
On Saturday 04 March 2006 21:14, Massimo Foti wrote: You can grab it from here: http://www.olimpo.ch/tmt/tag/tabs/ Nice. Can it cope with iFrame's in the tabs ? auto(re)sizeing would be a nifty feature - something that is hard to get right in our own home grown tag. -- Tom Chiverton Advanced ColdFusion Programmer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234220 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
How to use the Slider in CF FlashForms ...
you can read in my newest article on my Blog: http://www.newsight.de/2006/03/06/how-to-use-the-slider-in-cf-flashforms/ Artur ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234221 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ANN: ColdFusion tag for tabbed GUIs
On 3/4/06, Massimo Foti [EMAIL PROTECTED] wrote: You can grab it from here: http://www.olimpo.ch/tmt/tag/tabs/ The look and feel is totally CSS driven. I suggest to take a look at the samples to see the level of flexibility available. Looks like given some tweaks it might be a good work-around for the tabbed Flash forms (sh!) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234222 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT: AIM SDK
I've just seen this over at neowin: http://www.neowin.net/index.php?act=viewid=32462 Sounds interesting for the IM Gateway. I think this may be the push I needed to create an application using IM for support - Kev Mc Blog: http://inner-rhythm.co.uk/blog - ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234223 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
list manipulation problem
I'm having a problem with lists. I need to get values from a list and add them. Depending upon the parameters different value sets are chosen. Is their a mid that works on lists. Mid treats the list as a string so doing a #MID(list,2,4)# on a list with the values: 123,125,124,125,129 gives 23, and not 125,124. Thankfully, it turns out that the list is comprised of three digit numbers, so I kludged it, working on the list as if it was a string, but this wouldn't work if the list was comprised differently. Thx, mayo ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234224 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ANN: ColdFusion tag for tabbed GUIs
I released something like this a few months back. http://www.reactivevision.com/tabs/demo/ http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_usview=sn106viewName=Exchange%20Search%20Detailsauthorid=27755031page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1030607catid=0 Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234225 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: list manipulation problem
ListGetAt() -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:39 AM To: CF-Talk Subject: list manipulation problem I'm having a problem with lists. I need to get values from a list and add them. Depending upon the parameters different value sets are chosen. Is their a mid that works on lists. Mid treats the list as a string so doing a #MID(list,2,4)# on a list with the values: 123,125,124,125,129 gives 23, and not 125,124. Thankfully, it turns out that the list is comprised of three digit numbers, so I kludged it, working on the list as if it was a string, but this wouldn't work if the list was comprised differently. Thx, mayo ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234226 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: list manipulation problem
ListGetAt() ?? -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:39 AM To: CF-Talk Subject: list manipulation problem I'm having a problem with lists. I need to get values from a list and add them. Depending upon the parameters different value sets are chosen. Is their a mid that works on lists. Mid treats the list as a string so doing a #MID(list,2,4)# on a list with the values: 123,125,124,125,129 gives 23, and not 125,124. Thankfully, it turns out that the list is comprised of three digit numbers, so I kludged it, working on the list as if it was a string, but this wouldn't work if the list was comprised differently. Thx, mayo ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234227 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query of Queries and GROUP - problem
When you figure out the specs on the production server, be sure to post - because I've never had this problem and it this is a new issue with 7 (we're not there yet), we're going to be in for a world of hurt. On 3/4/06, Roberto Perez [EMAIL PROTECTED] wrote: At 11:14 AM 3/4/2006, I myself wrote: I tried an alias, but in the end, it would be the same thing (i.e., the alias would point back to the original master query) ... Ok, it is working now. The solution was: - use an alias for each column in the query of queries - do not use the alias in the WHERE statement (reference the original master query instead) - do not use the alias in the ORDER BY statement (reference the original master query instead) - use the aliases within the CFOUTPUT tags (including the GROUP parameter) to display the information The query would then look something like this: cfquery dbtype=query name=allRecords SELECT listRegions.regionID AS AregionID,listRegions.region AS Aregion, listCities.regionID AS BregionID,listCities.cityName AS BcityName, listCities.customer AS Bcustomer FROM listRegions, listCities WHERE listRegions.regionID = listCities.regionID ORDER BY listRegions.region ASC, listCities.cityName ASC /cfquery cfouput query=allRecords group=Aregion #Aregion# cfoutput group=BcityName #BcityName# cfoutput #Bcustomer# /cfoutput /cfouput /cfoutput This solution now works both on the developer server (MX 6) on my desktop and on the production server (still have to get the specs for that server to document the issue properly) Regards, Roberto ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234228 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Server is freezing
AntiVirus and AntiSpyware all up to date ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234229 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dependent Select Lists (possibly)
Basically this is going to be quite a complicated form. Not that complicated. Just put specific parts in overlaping DIVs and make the relevant one visible through a JS on change event. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234230 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How to use the Slider in CF FlashForms ...
most awesome! If you have not caught on to this, read Artur's blog. DK On 3/6/06, Artur Kordowski [EMAIL PROTECTED] wrote: you can read in my newest article on my Blog: http://www.newsight.de/2006/03/06/how-to-use-the-slider-in-cf-flashforms/ Artur ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234231 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Quick Question CF Image Library
Wasn't there an announcement recently of a CF based image manipulation library? It could save images as jpegs, set compression, rotate, crop, etc...at least I think I'm remembering correctly. Does this ring a bell? I've searched the website, but come up empty handed. Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234232 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Quick Question CF Image Library
Yep. Image.cfc by Rick Root. http://www.opensourcecf.com/imagecfc I just put it into place in a Content Management System and it works great! !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Jeff Small [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:55 AM To: CF-Talk Subject: Quick Question CF Image Library Wasn't there an announcement recently of a CF based image manipulation library? It could save images as jpegs, set compression, rotate, crop, etc...at least I think I'm remembering correctly. Does this ring a bell? I've searched the website, but come up empty handed. Thanks, Jeff ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234233 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Hourly digests down again?
Hello, Haven't received an hourly digest since 7:12 am my time (seven hours ago...). Are they down or has it suddenly gone deathly quiet in here? Regs, /t ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234234 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
GeoCoding Services
Is anyone using a free geocoding service with CF? I've been playing with the www.geocoder.us stuff - and while I can get the csv version to work, I've yet to be able to get the soap versions to work. Anyone else had more luck than me? Or, should I just stick with the csv version and do some text parsing? I want to use it with the google maps api to do a little mapping project. Thanks in advance. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234235 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
NumberFormat problem
What am I missing here? I want to set a simple number format function but I can't get the decimal in the right place, tried forcing the integer to the left, tried dashes, single quotes around the mask, etc. Nothing works. cfscript VARIABLES.someVar = 350 VARIABLES.digit2 = Left(VARIABLES.someVar, 2); VARIABLES.ImageMaxFileSize1 = #NumberFormat(VARIABLES.digit2, L.9)#mb; /cfscript cfoutput#VARIABLES.ImageMaxFileSize1#/cfoutput I want the output to be 3.5mb Thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234236 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: NumberFormat problem
Hey Mark, how about this: cfscript VARIABLES.someVar = 350; VARIABLES.digit2 = VARIABLES.someVar / 1024 / 1024; VARIABLES.ImageMaxFileSize1 = NumberFormat(VARIABLES.digit2, ,._) mb; writeOutput( VARIABLES.ImageMaxFileSize1 ); /cfscript Mingo. Mark Leder wrote: What am I missing here? I want to set a simple number format function but I can't get the decimal in the right place, tried forcing the integer to the left, tried dashes, single quotes around the mask, etc. Nothing works. cfscript VARIABLES.someVar = 350 VARIABLES.digit2 = Left(VARIABLES.someVar, 2); VARIABLES.ImageMaxFileSize1 = #NumberFormat(VARIABLES.digit2, L.9)#mb; /cfscript cfoutput#VARIABLES.ImageMaxFileSize1#/cfoutput I want the output to be 3.5mb Thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234237 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: NumberFormat problem
That worked. Thanks! Thanks, Mark -Original Message- From: Mingo Hagen [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 11:01 AM To: CF-Talk Subject: Re: NumberFormat problem Hey Mark, how about this: cfscript VARIABLES.someVar = 350; VARIABLES.digit2 = VARIABLES.someVar / 1024 / 1024; VARIABLES.ImageMaxFileSize1 = NumberFormat(VARIABLES.digit2, ,._) mb; writeOutput( VARIABLES.ImageMaxFileSize1 ); /cfscript Mingo. Mark Leder wrote: What am I missing here? I want to set a simple number format function but I can't get the decimal in the right place, tried forcing the integer to the left, tried dashes, single quotes around the mask, etc. Nothing works. cfscript VARIABLES.someVar = 350 VARIABLES.digit2 = Left(VARIABLES.someVar, 2); VARIABLES.ImageMaxFileSize1 = #NumberFormat(VARIABLES.digit2, L.9)#mb; /cfscript cfoutput#VARIABLES.ImageMaxFileSize1#/cfoutput I want the output to be 3.5mb Thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234238 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Alagad Image CFC
as far as i know the issue was never resolved but we did find that if we opened the files up i photoshop and bounced between cmyk and back to rgb and then saved for web that it resolved the issue. i'd contact doug directly and see if your files don't add more insight into the mystery. jonese (aka erj) On 3/5/06, Mark McArthey [EMAIL PROTECTED] wrote: I'd like to know if there was ever a resolution to this problem? I am having the same problem with a batch of .jpg files that I am working with. I can provide the files and the code if need be. Thanks for any help! I've had a couple users of the component report this problem. I'm working on resolving it ASAP. The problem stems from the JPEG specification which allows the red and either green or blue channel to be swapped. In the case of the Image Component when it reads one of these images the channels are not ending up in the correct location. This problem seems to be quite rare. However, as I said, I'm working on a fix to it. Doug Hughes On Tue, 24 Aug 2004 11:15:02 -0400, Eric Jones [EMAIL PROTECTED] wrote: ERJ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234239 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OOP, why me?
I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. scratches_headModel glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?/scratches_head Words of wisdom / good reading (including book recommendations) most appreciated. Many thanks Gareth ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234240 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT - RegEx gurus - help
Hi all sorry for OT but I need your help RegEx gurus. In my form users can insert a field with this pattern: A|1-3|-B|C|D In resume can insert ? A or A1B or A2B or A3B or A1C, A2C, A3C, A1D, A2D, A3D, A1E, A2E, A3E, AB, AC, AD, B, C, D Validating only letters work fine but that all combinations fail. Suggestions? Cheers MD ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234241 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Cf webservice timeout. Etc.
I have an external CF site which uses webservices on my server. I'm trying to help them come up with some sort of timeout plan to disable a section of their site if for any reason the webservice calls timeout, to prevent their server from getting tied up on pending requests. Currently they use CFobject to create an object on my webservice and call methods on this. It doesnt' seem like there are any timeouts configurable for this way of consuming my service. What do most people do here? I was thinking of having them keep a timeout/error count threshold and last-timeout value and if the error count exceeds some threshold, they disable the feature for 1-2 hours and try again, etc... any advice is welcome... Thanks Dbk NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234242 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOLVED: Re: query to XML CF 6.1 vs 7
Hey, I get jumped whenever I don't var everyfrigginthing. Just figured I'd return the favor. I even did it softly ... and STILL got jumped! :) Will That'll teach ya to be vague eh ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234243 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
Artur, No offense meant, but the cfc is not well documented. It would've made me happier if I saw atleast more than one example in each case (add, delete etc.). I understand you cfc is free and it is up to you to make it as user friendly as possible, but the it is not at all well documented. I do appreciate your willingness to help. Thanks for your time. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234244 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: NumberFormat problem
cfscript VARIABLES.someVar = 350; VARIABLES.digit2 = VARIABLES.someVar / 1024 / 1024; VARIABLES.ImageMaxFileSize1 = NumberFormat(VARIABLES.digit2, ,._) mb; writeOutput( VARIABLES.ImageMaxFileSize1 ); /cfscript Wouldn't cfscript variables.someVar = '350'; writeOutput(numberFormat(variables.someVar / 1048576 , ,._) mb); /cfscript Be a little faster ;) NOTE: kidding, please don't flame me! -- Jay ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234245 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT - RegEx gurus - help
Hi Michael. sorry for OT but I need your help RegEx gurus. As long as it's CF related, it is not OT. Just my $0.02 ;-) In my form users can insert a field with this pattern: A|1-3|-B|C|D In resume can insert ? A or A1B or A2B or A3B or A1C, A2C, A3C, A1D, A2D, A3D, A1E, A2E, A3E, AB, AC, AD, B, C, D Validating only letters work fine but that all combinations fail. OK. Start with letter A, followed bei 0 or 1 occurence of 1 though 3, followed by 0 or 1 occurence of B through D. Correct? Then the following reg exp. should do: A([123]?)([BCD]?) Best, Chris ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234246 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
Gareth, I tried escaping the double quotes inside(putting them twice) and it still would do the full c: I have no clue what's going on. :( ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234247 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT - RegEx gurus - help
Thanx Chris. Using your sample fails when user enters A6 or B6. Please look my code used for client JS validation? ^([Aa]{1}[1-3]{0,1}[B-Eb-e]{0,1}|[B-Eb-e]{1}) Using RegEx Coach application works fine allowing only the correct chars. But when inserting in CF template fails. What's wrong? Cheers MD 2006/3/6, CF [EMAIL PROTECTED]: Hi Michael. sorry for OT but I need your help RegEx gurus. As long as it's CF related, it is not OT. Just my $0.02 ;-) In my form users can insert a field with this pattern: A|1-3|-B|C|D In resume can insert ? A or A1B or A2B or A3B or A1C, A2C, A3C, A1D, A2D, A3D, A1E, A2E, A3E, AB, AC, AD, B, C, D Validating only letters work fine but that all combinations fail. OK. Start with letter A, followed bei 0 or 1 occurence of 1 though 3, followed by 0 or 1 occurence of B through D. Correct? Then the following reg exp. should do: A([123]?)([BCD]?) Best, Chris ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234248 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
JRun High Memory Usage on CFMX 7
Hi, Our sites running on Windows Server 2003 with CFMX 7 use session variables (Maximum Timeout has been setup as 40 minutes). Recently we noticed that the high memory usage for JRun is always associated with high numbers of openned sessions. Metrics logging showed that sometimes sessions reached more than 40 and at the same time the JRun used about 400 MB memory, which caused the JRun to a halt and the sites couldn't be displayed. It happens almost once a day recently. Does anyone know a solution to this problem? Should we replace all the session variables with application variables? If so what is the best Maximum Timeout for application variables? Thank you very much in advance! Ming Lu ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234250 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
Isn't cfx_zip a paid tag? Maybe there are some examples in the documentation you could try to see if it's a tag or code problem. Failing that, maybe an email to the developer. Wish I could offer more help but as I said, I've never used it. Sorry. - Original Message - From: Srinivasa Teja Palla [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 4:29 PM Subject: Re: anyone used cfx_zip?? Gareth, I tried escaping the double quotes inside(putting them twice) and it still would do the full c: I have no clue what's going on. :( ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234252 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT - RegEx gurus - help
That is close, but required the A when he's allowing just B. Also, he gets some E's there in the end. I'd look at this: ^A?[123]?[B-E]?$ The big caveat there is that it allows the empty string, so you might want to also take a look and make sure they actually submit something. --Ben CF wrote: Hi Michael. sorry for OT but I need your help RegEx gurus. As long as it's CF related, it is not OT. Just my $0.02 ;-) In my form users can insert a field with this pattern: A|1-3|-B|C|D In resume can insert ? A or A1B or A2B or A3B or A1C, A2C, A3C, A1D, A2D, A3D, A1E, A2E, A3E, AB, AC, AD, B, C, D Validating only letters work fine but that all combinations fail. OK. Start with letter A, followed bei 0 or 1 occurence of 1 though 3, followed by 0 or 1 occurence of B through D. Correct? Then the following reg exp. should do: A([123]?)([BCD]?) Best, Chris ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234253 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
PDF Upload Problems
We have a file upload form that only accepts PDF files. A very small percentage of people have tried to upload files that end in .pdf, but CFMX 6.1 rejects them because they have MIME types of application/octet-stream or application/unknown. Since these files could not be uploaded, I am not sure if these files are legitimate PDFs, so I would like to know if anyone else has experience with this, or if there is some advice I can give to the people experiencing these problems? At what stage of the upload process does the MIME-type get associated with the file? Thank you, Mike Chabot ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234254 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT - RegEx gurus - help
Michel Deloux wrote: ^([Aa]{1}[1-3]{0,1}[B-Eb-e]{0,1}|[B-Eb-e]{1}) Using RegEx Coach application works fine allowing only the correct chars. But when inserting in CF template fails. It's working for me in a quick test on CF6.1 -- what version are you using? --Ben ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234255 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Document Management??
Anyone know of a basic CF Document Management System? I'm not looking for an Enterprise level tool, but just some basic doc management with security. I've toyed with using Farcry (yes, I know it's a CMS)and it is way over-kill for what I'm looking for. I've googled till I'm dizzy, but can't find anything. Open-Source is always good, as I'm sure I'll have to tweak it. The obvious alternative it to write my own, but it seems like there should be something out there. Thanks, Terry ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234256 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: JRun High Memory Usage on CFMX 7
Are you instantiating any components and persisiting them inside the session scope? I blogged about such a problem on a client site. http://lordmichaels.blogspot.com Russ -Original Message- From: Ming Lu [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 15:39 To: CF-Talk Subject: JRun High Memory Usage on CFMX 7 Hi, Our sites running on Windows Server 2003 with CFMX 7 use session variables (Maximum Timeout has been setup as 40 minutes). Recently we noticed that the high memory usage for JRun is always associated with high numbers of openned sessions. Metrics logging showed that sometimes sessions reached more than 40 and at the same time the JRun used about 400 MB memory, which caused the JRun to a halt and the sites couldn't be displayed. It happens almost once a day recently. Does anyone know a solution to this problem? Should we replace all the session variables with application variables? If so what is the best Maximum Timeout for application variables? Thank you very much in advance! Ming Lu ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234257 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Upload Problems
Application/octet-stream is what you'll get if the pdf is open on their system when they try to upload it. I don't know of a really great work around, other than catching that particular error and telling them to be sure to close it before uploading it. On 3/6/06, Mike Chabot [EMAIL PROTECTED] wrote: We have a file upload form that only accepts PDF files. A very small percentage of people have tried to upload files that end in .pdf, but CFMX 6.1 rejects them because they have MIME types of application/octet-stream or application/unknown. Since these files could not be uploaded, I am not sure if these files are legitimate PDFs, so I would like to know if anyone else has experience with this, or if there is some advice I can give to the people experiencing these problems? At what stage of the upload process does the MIME-type get associated with the file? Thank you, Mike Chabot ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234258 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT - RegEx gurus - help
Thanx Ben We`re using CF 6.1 too |o-) Using my regex pattern allows this entries- A8 (incorrect) C8 (incorrect) A9B(incorrect) A1-3B-E|B-E are the correct entry. Any suggestion? Cheers MD 2006/3/6, Ben Doom [EMAIL PROTECTED]: Michel Deloux wrote: ^([Aa]{1}[1-3]{0,1}[B-Eb-e]{0,1}|[B-Eb-e]{1}) Using RegEx Coach application works fine allowing only the correct chars. But when inserting in CF template fails. It's working for me in a quick test on CF6.1 -- what version are you using? --Ben ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234259 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
getDate()
Hi all, Does anyone know why this works in access but not in SQL Server cfquery name=checkForView datasource=#theDatabase# SELECT viewID, views FROMeventViews WHERE active = '1' AND eventID = '#theEventID#' AND dateAdded = getdate() /cfquery ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234260 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: getDate()
Maybe the function returns just a date in access but a date/time in MSSQL? On 3/6/06, Richard Cooper [EMAIL PROTECTED] wrote: Hi all, Does anyone know why this works in access but not in SQL Server cfquery name=checkForView datasource=#theDatabase# SELECT viewID, views FROMeventViews WHERE active = '1' AND eventID = '#theEventID#' AND dateAdded = getdate() /cfquery ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234261 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Cf webservice timeout. Etc.
How about cftry/cfcatch? cftry cfobject webservice= http://www.../wsdl; name = myobjectname cfcatch type=Application failed /cfcatch /cftry -Original Message- From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:53 AM To: CF-Talk Subject: Cf webservice timeout. Etc. I have an external CF site which uses webservices on my server. I'm trying to help them come up with some sort of timeout plan to disable a section of their site if for any reason the webservice calls timeout, to prevent their server from getting tied up on pending requests. Currently they use CFobject to create an object on my webservice and call methods on this. It doesnt' seem like there are any timeouts configurable for this way of consuming my service. What do most people do here? I was thinking of having them keep a timeout/error count threshold and last-timeout value and if the error count exceeds some threshold, they disable the feature for 1-2 hours and try again, etc... any advice is welcome... [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234262 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: UTF-8 text retrieved in query doesn't display properly
Michael Kaplan wrote: Got your email address from the Adobe forum...I'll send presently. i would have thought this email list would have worked too ;-) Thanks to Paul's offline help, I've determined that this isn't a CF issue...my problem is with how the data was inserted into SQL in the first place (using a non-CF process). Which means I can throw this issue back at someone else! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234263 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: getDate()
Well getDate() is an SQL server function, so what error do you get ? If you simply mean the doesn't return data, then it could be because the comparison is not matching, i.e. Dateadded = 12/01/2006 GetDate = 12/01/2005 09:46:00 Which would never be equal. Russ -Original Message- From: Richard Cooper [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 17:01 To: CF-Talk Subject: getDate() Hi all, Does anyone know why this works in access but not in SQL Server cfquery name=checkForView datasource=#theDatabase# SELECT viewID, views FROMeventViews WHERE active = '1' AND eventID = '#theEventID#' AND dateAdded = getdate() /cfquery ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234264 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: getDate()
Its probably because in SQLServer getDate() returns a full date with time information down to the millisecond. Depending on how accurate your dates are this might be a simple fix: dateAdded BETWEEN getDate()-1 and getDate() Cheers, Sam F On 3/6/06, Richard Cooper [EMAIL PROTECTED] wrote: Hi all, Does anyone know why this works in access but not in SQL Server cfquery name=checkForView datasource=#theDatabase# SELECT viewID, views FROMeventViews WHERE active = '1' AND eventID = '#theEventID#' AND dateAdded = getdate() /cfquery ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234265 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT - RegEx gurus - help
Thanx Chris and Ben works fine now. After all your code is great. Simple and clear. Cheers MD 2006/3/6, Michel Deloux [EMAIL PROTECTED]: Thanx Ben We`re using CF 6.1 too |o-) Using my regex pattern allows this entries- A8 (incorrect) C8 (incorrect) A9B(incorrect) A1-3B-E|B-E are the correct entry. Any suggestion? Cheers MD 2006/3/6, Ben Doom [EMAIL PROTECTED]: Michel Deloux wrote: ^([Aa]{1}[1-3]{0,1}[B-Eb-e]{0,1}|[B-Eb-e]{1}) Using RegEx Coach application works fine allowing only the correct chars. But when inserting in CF template fails. It's working for me in a quick test on CF6.1 -- what version are you using? --Ben ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234266 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: GeoCoding Services
Use google maps to get the geo-information then save it in the database. Still haven't seen any regulations against this in their api documents. The tutorial with this route is listed here. http://tutorial397.easycfm.com/ On 3/6/06, Deanna Schneider [EMAIL PROTECTED] wrote: Is anyone using a free geocoding service with CF? I've been playing with the www.geocoder.us stuff - and while I can get the csv version to work, I've yet to be able to get the soap versions to work. Anyone else had more luck than me? Or, should I just stick with the csv version and do some text parsing? I want to use it with the google maps api to do a little mapping project. Thanks in advance. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234267 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Document Management??
Terry, If you all you are looking for is simply document management (add/upload, remove/delete, etc) then you might want to check out CF_FileManager. It is a cross browser tool for just that. (To view product info) http://www.digital-crew.com/index.cfm/action/viewnavcat/navcatId/32 (For a demo) http://www.digital-crew.com/index.cfm/action/filemanagerExamples Hope this helps. Brian -Original Message- From: Terry Schmitt [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 11:52 AM To: CF-Talk Subject: Document Management?? Anyone know of a basic CF Document Management System? I'm not looking for an Enterprise level tool, but just some basic doc management with security. I've toyed with using Farcry (yes, I know it's a CMS)and it is way over-kill for what I'm looking for. I've googled till I'm dizzy, but can't find anything. Open-Source is always good, as I'm sure I'll have to tweak it. The obvious alternative it to write my own, but it seems like there should be something out there. Thanks, Terry ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234268 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Calculate the time elapsed between two dates based on business hrs
Has anyone tackled this before? I am trying to calculate the time elapsed between two dates based on business hrs. It will be used to build a report that tells us how long it takes to process an order. Basically only M-F 8am-6pm counts. Using datediff uses a 24hr calendar. I've looked at cflib.org for any functions. The actual records are in sql so a sql function might be better. Any pointers in the right direction would be appreciated. Thanks, Tom This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. Ce message (ainsi que les eventuelles pieces jointes) est exclusivement adresse au destinataire et contient des informations confidentielles. La copie, la communication ou la distribution du contenu de ce message sans l'accord prealable de l'expediteur sont strictement interdits et peuvent constituer un delit. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Si vous avez des questions se rapportant a ce courrier electronique, merci de bien vouloir notifier l'expediteur immediatement. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234269 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. scratches_headModel glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?/scratches_head Words of wisdom / good reading (including book recommendations) most appreciated. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234270 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
Ya I mailed ben-forta (supposedly written by him). No response as of now. Been more than a couple of days. I am trying to do what I want using a command line pkzip version, and using cfexecute to do it. But no luck that route too as of now... :( Isn't cfx_zip a paid tag? Maybe there are some examples in the documentation you could try to see if it's a tag or code problem. Failing that, maybe an email to the developer. Wish I could offer more help but as I said, I've never used it. Sorry. - Original Message - From: Srinivasa Teja Palla [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 4:29 PM Subject: Re: anyone used cfx_zip?? Gareth, I tried escaping the double quotes inside(putting them twice) and it still would do the full c: I have no clue what's going on. :( ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234271 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Calculate the time elapsed between two dates based on business hrs
SQL also has it's own DateDif() fucntion. -Original Message- From: Botts, Tom [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 18:29 To: CF-Talk Subject: Calculate the time elapsed between two dates based on business hrs Has anyone tackled this before? I am trying to calculate the time elapsed between two dates based on business hrs. It will be used to build a report that tells us how long it takes to process an order. Basically only M-F 8am-6pm counts. Using datediff uses a 24hr calendar. I've looked at cflib.org for any functions. The actual records are in sql so a sql function might be better. Any pointers in the right direction would be appreciated. Thanks, Tom This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. Ce message (ainsi que les eventuelles pieces jointes) est exclusivement adresse au destinataire et contient des informations confidentielles. La copie, la communication ou la distribution du contenu de ce message sans l'accord prealable de l'expediteur sont strictement interdits et peuvent constituer un delit. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Si vous avez des questions se rapportant a ce courrier electronique, merci de bien vouloir notifier l'expediteur immediatement. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234272 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Calculate the time elapsed between two dates based on business hrs
I did something similar in a reservation application here. What I did is I grabbed the difference in business days then multiplied those by the hours I have in a business day then I added in the hours on the last day and the first day. So if it started on Monday at noon and ended on Friday at 10AM I would do (3 * 10) + 4 + 2 That is a simplified explanation of what I did, hope it helps some. On 3/6/06, Botts, Tom [EMAIL PROTECTED] wrote: Has anyone tackled this before? I am trying to calculate the time elapsed between two dates based on business hrs. It will be used to build a report that tells us how long it takes to process an order. Basically only M-F 8am-6pm counts. Using datediff uses a 24hr calendar. I've looked at cflib.org for any functions. The actual records are in sql so a sql function might be better. Any pointers in the right direction would be appreciated. Thanks, Tom This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. Ce message (ainsi que les eventuelles pieces jointes) est exclusivement adresse au destinataire et contient des informations confidentielles. La copie, la communication ou la distribution du contenu de ce message sans l'accord prealable de l'expediteur sont strictement interdits et peuvent constituer un delit. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Si vous avez des questions se rapportant a ce courrier electronique, merci de bien vouloir notifier l'expediteur immediatement. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234273 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
Jacob, mind sharing that blog link? I am learning to hate FrameWorks. I am gung-ho for the concepts that you mentioned, but I don't think that FrameWorks are the only answer. Ray Munson, Jacob wrote: Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. scratches_headModel glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?/scratches_head Words of wisdom / good reading (including book recommendations) most appreciated. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234274 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
Well adhering to a framework does not mean you are OOP. I'd think that would boil down to the framework chosen. On 3/6/06, Munson, Jacob [EMAIL PROTECTED] wrote: Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234275 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code Well, IMHO these are just clichés. - code reuse? I don't see what in non framework application makes reusing any code any more difficult. - Flexibility? Framework means rules, how can rules add flexibilty? - Maintainability? By someone who knows the framework, may be, but for other (most of the time), it is like hell. - documented code? Any code should be documented, in a framework or not. Frameworks do not create documentation. Anyway, any experienced programer will end up with his own way to design applications, this is some kind of a framework, and it is the best one, because it is HIS. Gee I'm using a framework, and I didn't even know about it ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234276 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Depends what framework. The best thing is to take the bits you like and roll your own. I don't like the OO frameworks like Model-Glue as they take something simple (a web site) and make it extremely complicated. Fusebox can be good if you strip out all the crap. Russ -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 18:29 To: CF-Talk Subject: RE: OOP, why me? Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. scratches_headModel glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?/scratches_head Words of wisdom / good reading (including book recommendations) most appreciated. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234277 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
Lol, I'm more confused than I thought... So, Model Glue etc are frameworks, but don't necessarily adhere to OOP. For simplicity sake, are the current trend of CF Frameworks such as Model Glue, Fusebox, etc OOP? And, what does a Framework offer that OOP methodology doesn't? - Original Message - From: Aaron Rouse [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 6:37 PM Subject: Re: OOP, why me? Well adhering to a framework does not mean you are OOP. I'd think that would boil down to the framework chosen. On 3/6/06, Munson, Jacob [EMAIL PROTECTED] wrote: Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234278 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
Claude said 'Flexibility? Framework means rules, how can rules add flexibilty?' I have often felt that rules (structure,framework) provides the enviroment for flexiblity just my 2 cents charlie hanlon - Original Message - From: Claude Schneegans [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 2:06 PM Subject: Re: OOP, why me? The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code Well, IMHO these are just clichés. - code reuse? I don't see what in non framework application makes reusing any code any more difficult. - Flexibility? Framework means rules, how can rules add flexibilty? - Maintainability? By someone who knows the framework, may be, but for other (most of the time), it is like hell. - documented code? Any code should be documented, in a framework or not. Frameworks do not create documentation. Anyway, any experienced programer will end up with his own way to design applications, this is some kind of a framework, and it is the best one, because it is HIS. Gee I'm using a framework, and I didn't even know about it ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234279 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
I believe those are, but all CFM frameworks are not OOP. I do not keep up with every single one out there so can not sit here and list off the ones that are OOP and the ones that are not. A framework can or can not be OOP it is up to how it was designed. We use one here at work that is inhouse built and years old that is not OOP. I do not know Fusebox but I'd guess the older versions of it which I know people still use to this day are not OOP. It really seems that the very definition of OOP often changes between who you talk to. Just seems interesting that someone asks about OOP and it quickly changes to frameworks. Someone could have a CFM application that is OOP and does not adhere to any specific framework. On 3/6/06, Gareth [EMAIL PROTECTED] wrote: Lol, I'm more confused than I thought... So, Model Glue etc are frameworks, but don't necessarily adhere to OOP. For simplicity sake, are the current trend of CF Frameworks such as Model Glue, Fusebox, etc OOP? And, what does a Framework offer that OOP methodology doesn't? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234280 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Agreed... There is freedom in rules. Many people overlook that. For example, if a client says build me a website, but don't use the color black. You know that you can do anything, in any method as long as you don't use black. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Charlie Hanlon [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:13 PM To: CF-Talk Subject: Re: OOP, why me? Claude said 'Flexibility? Framework means rules, how can rules add flexibilty?' I have often felt that rules (structure,framework) provides the enviroment for flexiblity just my 2 cents charlie hanlon - Original Message - From: Claude Schneegans [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 2:06 PM Subject: Re: OOP, why me? The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code Well, IMHO these are just clichés. - code reuse? I don't see what in non framework application makes reusing any code any more difficult. - Flexibility? Framework means rules, how can rules add flexibilty? - Maintainability? By someone who knows the framework, may be, but for other (most of the time), it is like hell. - documented code? Any code should be documented, in a framework or not. Frameworks do not create documentation. Anyway, any experienced programer will end up with his own way to design applications, this is some kind of a framework, and it is the best one, because it is HIS. Gee I'm using a framework, and I didn't even know about it ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234281 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: GeoCoding Services
Very interesting I've got the text-based geocoder.us version working, which I call when a new submission is made. I think I'll stick with that, since it's a little more legal and this is a non-commercial app. But, definitely good to know the hackers route. On 3/6/06, Casey Dougall [EMAIL PROTECTED] wrote: Use google maps to get the geo-information then save it in the database. Still haven't seen any regulations against this in their api documents. The tutorial with this route is listed here. http://tutorial397.easycfm.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234282 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
I think there are many advantages for using an OOP framework. 1. Most of the major languages are OOP, or are capable of OOP so in learning the methodologies of OOP, you will only benefit yourself in the future. To name a few that are webcentric, Actionscript, Java, .NET, I will get flamed for this, but even javascript is capable of OOP. 2. A framework is extremely nice to help solve the issue of everyone doing thier own thing. I work in a place that hires contractors exclusively. Each time there is a new contractor, there is a new way of coding. I must have 5 different coding styles in the applications. If things were in a framework there would be no question regarding how things should be laid out, or where they put the logic at in the files. I realize that they could have created thier own framework here, but they don't have the expertise to do that and it's much easier to go off a community base with years of experience instead of having to rely on resources that come and go. I think OOP and frameworks are confusing because ColdFusion allows you to start coding without having to get into those things. It's hard to see the benefit because once it gets to hard it's very easy to go to coding without thinking of those terms. I think once you wrap your head around the ideas of OOP you start to see the benefit of it. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234283 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Model Glue and Mach-ii are implicit invocation frameworks which rely on and require OOP. Fusebox is a pipes and filter framework which is procedural in nature and while it can be used in an Oop like manner, does not require OOP. Some positive benefits of using an established framework include: Easier to understand someone elses code once you know the framework (you don't have to relearn a new way of how an application runs each time you work with someone else's code) With all the files around its easier to divide the work among varying levels of developers. (You need one senior level developer who handles the architecture and the really hard bits of code, someone really good at SQL for the database interaction and other developers of varying ability to implement CFC's and display code). So your costs can go down on a project since each programmer can program to their own level (hopefully getting better with each project). Its easier to find someone who can just jump into your code and be productive more quickly. Sandy Clark -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 2:12 PM To: CF-Talk Subject: Re: OOP, why me? Lol, I'm more confused than I thought... So, Model Glue etc are frameworks, but don't necessarily adhere to OOP. For simplicity sake, are the current trend of CF Frameworks such as Model Glue, Fusebox, etc OOP? And, what does a Framework offer that OOP methodology doesn't? - Original Message - From: Aaron Rouse [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 6:37 PM Subject: Re: OOP, why me? Well adhering to a framework does not mean you are OOP. I'd think that would boil down to the framework chosen. On 3/6/06, Munson, Jacob [EMAIL PROTECTED] wrote: Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234284 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
My experience with this has been when a new person is hired who does not follow an existing framework is they end up creating things outside of the framework. It ends up being a little bit of spaghetti. It does not always work out that way, but has more times than not out here where they hire solely contractors. On 3/6/06, Robert Everland III [EMAIL PROTECTED] wrote: If things were in a framework there would be no question regarding how things should be laid out, or where they put the logic at in the files. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234285 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
Knowing where those files are, knowing what they are named automatically, and other benefits of frameworks outweighs the argument about opening multiple files. John McKown President, CEO Delaware.Net, Inc. 888-432-7965 -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:29 PM To: CF-Talk Subject: RE: OOP, why me? Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. scratches_headModel glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?/scratches_head Words of wisdom / good reading (including book recommendations) most appreciated. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234286 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
That is just a way to create artificial job security. Rules is another word for standards. The standards are loose enough that you can modify them. Without standards, there would be no Internet, no POP3, etc. Frameworks can eliminate spaghetti code that is inevitable when 4 different developers all code with their own style on the same site. Frameworks promote team-based programming. If you always code alone, then you are right. You don't need them. John McKown President, CEO Delaware.Net, Inc. 888-432-7965 -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 2:07 PM To: CF-Talk Subject: Re: OOP, why me? The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code Well, IMHO these are just clichés. - code reuse? I don't see what in non framework application makes reusing any code any more difficult. - Flexibility? Framework means rules, how can rules add flexibilty? - Maintainability? By someone who knows the framework, may be, but for other (most of the time), it is like hell. - documented code? Any code should be documented, in a framework or not. Frameworks do not create documentation. Anyway, any experienced programer will end up with his own way to design applications, this is some kind of a framework, and it is the best one, because it is HIS. Gee I'm using a framework, and I didn't even know about it ;-) -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234287 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem with CFEXECUTE
hi, I have cfmx 6.1 and am trying to use pkzipc (command line utility) and cfexecute. I created the batchfile to change the directory but nothing happens. I appears like it changes the directory and runs the pkzipc command with no error msgs, but I dont see any zip file created in teh folder. Does anyone know if pkzipc works fine with cfmx How about a batch file that you run from cfexecute? This is exactly what I finally made. Thanks. -- ___ See some cool custom tags here: http://www.contentbox.com/claude/customtags/tagstore.cfm Please send any spam to this address: [EMAIL PROTECTED] Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234288 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Cf webservice timeout. Etc.
That much I do, of course. What I'm looking for is something a bit more intelligent: 1) Specify a custom timeout value per webservice function call, and catch all exceptions, including when it times out. 2) come up with thresholds on how many timeouts or errors should disable that section of the consuming website. 3) reset the count and timeout after a given amount of time to allow the site to retry... Anyone else have sections of their site which rely on webservices? dov -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:03 PM To: CF-Talk Subject: RE: Cf webservice timeout. Etc. How about cftry/cfcatch? cftry cfobject webservice= http://www.../wsdl; name = myobjectname cfcatch type=Application failed /cfcatch /cftry -Original Message- From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:53 AM To: CF-Talk Subject: Cf webservice timeout. Etc. I have an external CF site which uses webservices on my server. I'm trying to help them come up with some sort of timeout plan to disable a section of their site if for any reason the webservice calls timeout, to prevent their server from getting tied up on pending requests. Currently they use CFobject to create an object on my webservice and call methods on this. It doesnt' seem like there are any timeouts configurable for this way of consuming my service. What do most people do here? I was thinking of having them keep a timeout/error count threshold and last-timeout value and if the error count exceeds some threshold, they disable the feature for 1-2 hours and try again, etc... any advice is welcome... [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234289 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
There is freedom in rules. Many people overlook that. Sure! But the question was why more freedom with rules than without? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234290 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: GeoCoding Services
I recommend taking a look at the CFGoogleMaps CFC. http://www.coldfusionpodcast.com/cfgooglemaps -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:35 PM To: CF-Talk Subject: Re: GeoCoding Services Very interesting I've got the text-based geocoder.us version working, which I call when a new submission is made. I think I'll stick with that, since it's a little more legal and this is a non-commercial app. But, definitely good to know the hackers route. On 3/6/06, Casey Dougall [EMAIL PROTECTED] wrote: Use google maps to get the geo-information then save it in the database. Still haven't seen any regulations against this in their api documents. The tutorial with this route is listed here. http://tutorial397.easycfm.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234291 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
My experience with this has been when a new person is hired who does not follow an existing framework is they end up creating things outside of the framework. It ends up being a little bit of spaghetti. It does not always work out that way, but has more times than not out here where they hire solely contractors. I think you are right if the contractor is given no direction. If the existing employees give the new programmer direction and let them know that there is no programming outside of this framework, then you won't have this issue. If you give a programmer no direction and expect them to learn the framework on their own, then you are inviting spaghetti code. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234292 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
I think little direction is given in places that hire mainly or solely contractors. It seems to become more the attitude of the job needs to get done as quickly as possible so do what it takes. That probably is why none of the standards are truely followed around here. In the 5-6 years I have been here, this current group is the first to somewhat follow the standards that have always been set. Plus with frameworks unless you have someone doing some sort of code reviews you probably never would know a contractor did things different until way after the fact. On 3/6/06, Robert Everland III [EMAIL PROTECTED] wrote: I think you are right if the contractor is given no direction. If the existing employees give the new programmer direction and let them know that there is no programming outside of this framework, then you won't have this issue. If you give a programmer no direction and expect them to learn the framework on their own, then you are inviting spaghetti code. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234293 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: anyone used cfx_zip??
I would suggest you try zip.cfc - its VERY easy to use and it works great! On 3/7/06, Srinivasa Teja Palla [EMAIL PROTECTED] wrote: Ya I mailed ben-forta (supposedly written by him). No response as of now. Been more than a couple of days. I am trying to do what I want using a command line pkzip version, and using cfexecute to do it. But no luck that route too as of now... :( Isn't cfx_zip a paid tag? Maybe there are some examples in the documentation you could try to see if it's a tag or code problem. Failing that, maybe an email to the developer. Wish I could offer more help but as I said, I've never used it. Sorry. - Original Message - From: Srinivasa Teja Palla [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 4:29 PM Subject: Re: anyone used cfx_zip?? Gareth, I tried escaping the double quotes inside(putting them twice) and it still would do the full c: I have no clue what's going on. :( ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234294 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
JRUN and CF7 Enterprise
I am running ColdFusion 7 enterprise on a windows2003 server. I am having serious JRUN memory problems. My server guy is viewing the coldfusion-event.log and sees this line. 03/06 15:38:52 metrics Web Trends (busy/total) {jrpp.busyTh}/{jrpp.totalTh} Sessions: 21 Total Memory=247616 Free=22786 He is telling me that the Sessions: 21 is causing the JRUN memory to sky rocket and cause the CF server to be unresponsive. Is that Sessions: 21 equal to the total number of session variables set on the server? And if so, why would 21 sessions cause JRUNs memory to increase to a point where CF Server is unresponsive? Thanks very much in advance. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234295 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOLVED: Re: query to XML CF 6.1 vs 7
That'll teach ya to be vague eh ;-) ohhh so it's *MY* fault ... I see how this works now. :) Where's dave the disruptured when I need'em! Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234296 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Upload Problems
Deanna, Thank you for the information. Is there a way to reproduce this problem, since I cannot seem to do so? I did some further testing and it appears that CFMX, for the most part, is determining the MIME-type from the file extension, since I am able to add .pdf to any file type to get it past the application/pdf mime type restriction. Thank you, Mike Chabot On 3/6/06, Deanna Schneider [EMAIL PROTECTED] wrote: Application/octet-stream is what you'll get if the pdf is open on their system when they try to upload it. I don't know of a really great work around, other than catching that particular error and telling them to be sure to close it before uploading it. On 3/6/06, Mike Chabot [EMAIL PROTECTED] wrote: We have a file upload form that only accepts PDF files. A very small percentage of people have tried to upload files that end in .pdf, but CFMX 6.1 rejects them because they have MIME types of application/octet-stream or application/unknown. Since these files could not be uploaded, I am not sure if these files are legitimate PDFs, so I would like to know if anyone else has experience with this, or if there is some advice I can give to the people experiencing these problems? At what stage of the upload process does the MIME-type get associated with the file? Thank you, Mike Chabot ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234297 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOLVED: Re: query to XML CF 6.1 vs 7
ohhh so it's *MY* fault ... I see how this works now. :) Where's dave the disruptured when I need'em! Will yep...damned if ya do...damned if ya don't ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234298 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Upload Problems
I did some further testing and it appears that CFMX, for the most part, is determining the MIME-type from the file extension, since I am able to add .pdf to any file type to get it past the application/pdf mime type restriction. I think CF uses the mime-type reported by the browser, but I am not 100% sure. A safer solution to detect the mime-type is something like this: http://www.cflib.org/udf.cfm?ID=1229 Of course, that's only after the file is already on the server, so I am not sure if it fits your need. Massimo Foti Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234299 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dependent Select Lists (possibly)
thanks for the link andrew. cfajx looks quite interesting. i will definitely have a play with the dynamic lists. mike You could build a select box system using cfajax. First select box is country selection, onChange calls the townCity function that then populates the towncity selection box which then calls the suburb box etc etc CFAJAX can be found here: http://www.indiankey.com/cfajax/examples.asp Andrew. Hi guys, My client wishes the following scenario for new registrations... User selects country... if (country is NZ) user is required to select town/city eg. Wellington; if (town/city is Auckland/Wellington/Christchurch) user is required to select suburb; If (country is Australia) user is required to select state; user is then required to select town/city; user is then required to select suburb; Basically this is going to be quite a complicated form. Am I better to do a switch on the country, and then load a specific country form? If so, what happens when a registrant needs to update details and has changed countries - could I have a change country link that redirects to the country select? Generally forms will be in the structure... Address Suburb Town/City State Country If possible I would have liked to have kept this structure, but am not so sure I could achieve the above functionality. Just thinking aloud a little, but if anyone has worked on something similar I would really appreciate any advice. Regards Mike ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234300 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: PDF Upload Problems
I don't personally have a pdf generator, but I can reproduce it with an excel file, for example. It only happens with IE, though - Firefox correctly figures out the mime type. But, if you open an excel file with Microsoft Excel, and then try to upload it via your web page and IE, you'll discover that it thinks it's an application/octet-stream. On 3/6/06, Mike Chabot [EMAIL PROTECTED] wrote: Deanna, Thank you for the information. Is there a way to reproduce this problem, since I cannot seem to do so? I did some further testing and it appears that CFMX, for the most part, is determining the MIME-type from the file extension, since I am able to add .pdf to any file type to get it past the application/pdf mime type restriction. Thank you, Mike Chabot On 3/6/06, Deanna Schneider [EMAIL PROTECTED] wrote: Application/octet-stream is what you'll get if the pdf is open on their system when they try to upload it. I don't know of a really great work around, other than catching that particular error and telling them to be sure to close it before uploading it. On 3/6/06, Mike Chabot [EMAIL PROTECTED] wrote: We have a file upload form that only accepts PDF files. A very small percentage of people have tried to upload files that end in .pdf, but CFMX 6.1 rejects them because they have MIME types of application/octet-stream or application/unknown. Since these files could not be uploaded, I am not sure if these files are legitimate PDFs, so I would like to know if anyone else has experience with this, or if there is some advice I can give to the people experiencing these problems? At what stage of the upload process does the MIME-type get associated with the file? Thank you, Mike Chabot ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234301 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ANN: ColdFusion tag for tabbed GUIs
You can grab it from here: http://www.olimpo.ch/tmt/tag/tabs/ Nice. Can it cope with iFrame's in the tabs ? I never tried them, but I am positive it would be just fine I would expect this from any dhtml tabset. auto(re)sizeing would be a nifty feature - something that is hard to get right in our own home grown tag. I know, but that would require to stretch JavaScript a bit too much for my tastes... As an alternative to iframes yuo could use div with overflow: scroll. But then you will only get scrollbars, not auto(re)sizeing. When I wrote mine I built the overflow: auto (not scroll) into them by default with an optional argument to disable the scrolling... With scrolling disabled iirc the tabset sometimes becomes larger when you select a tab which has content which is wider or taller than is specified for the tabset. Looks wierd in IE -- probably looks way broken in FireFox (that tendancy FF has to display the content of a box expanding to the right of the box itself without expanding the box -- never understood why that was considered desirable behavior). s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234302 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ANN: ColdFusion tag for tabbed GUIs
http://www.olimpo.ch/tmt/tag/tabs/ The look and feel is totally CSS driven. I suggest to take a look at the samples to see the level of flexibility available. Looks like given some tweaks it might be a good work-around for the tabbed Flash forms (sh!) Sh! I have an accordion tag on my to-do list. Just don't tell abou it to anybody; okay? :-)) Massimo Heh... They look allright... the graphic-based tabs were flaky for me in IE6 ... I didn't dig around to figure out why... There's also jTab don't remember who wrote that one... and then there's all the GUI elements in the onTap framework, which have more features than either of these (tabs on any edge of the tabset for example), but which haven't seen widespread implementation (yet) because of their being integrated into the framework. Tabsets, accordians, cardstacks (which have no flash form equivalent yet), dhtml menus, trees, most of which automatically degrade when you disable javascript for the page (there were too many options of how to degrade a tabset so I decided not to lock them into any single method)... I'm thinking about going over the tree code again to make it easier to add nodes to the tree via the framework's ajax-esque javascript gateways. Right now you'd probably do that by replacing the whole tree, although that's still gonna be a smaller request than refreshing the whole page... Anyway... not really meaning to steal the limelight here (why I didn't respond to your original post) -- just saying, there are already some other cf-based alternatives to flash forms. But the competition is good! It means people have more options. :) s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234303 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Calculate the time elapsed between two dates based on business hrs
Hi Tom. I tackled this exact item last year, creating a tag that derives the result based on the number of business minutes between two given datetimes. The result is returned in either weeks, days, hours, or minutes depending on what return parameter you give it. The work hours are optional arguments (it assumes 8 to 5), it takes into account lunch time (which you pass in), and several other variables. I made it pretty thorough. Email me and I'll send you the code. The one part you'll have to touch is the part that takes into account company holidays, since every company has different holidays. [EMAIL PROTECTED] Doug :0) Has anyone tackled this before? I am trying to calculate the time elapsed between two dates based on business hrs. It will be used to build a report that tells us how long it takes to process an order. Basically only M-F 8am-6pm counts. Using datediff uses a 24hr calendar. I've looked at cflib.org for any functions. The actual records are in sql so a sql function might be better. Any pointers in the right direction would be appreciated. Thanks, Tom This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. Ce message (ainsi que les eventuelles pieces jointes) est exclusivement adresse au destinataire et contient des informations confidentielles. La copie, la communication ou la distribution du contenu de ce message sans l'accord prealable de l'expediteur sont strictement interdits et peuvent constituer un delit. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Si vous avez des questions se rapportant a ce courrier electronique, merci de bien vouloir notifier l'expediteur immediatement. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234304 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
What would you strip out of Fusebox? If you look at FB4.1 there isn't any crap that I know of. It's a couple XML files, and the core-files. Greg On 3/6/06, Snake [EMAIL PROTECTED] wrote: Depends what framework. The best thing is to take the bits you like and roll your own. I don't like the OO frameworks like Model-Glue as they take something simple (a web site) and make it extremely complicated. Fusebox can be good if you strip out all the crap. Russ -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: 06 March 2006 18:29 To: CF-Talk Subject: RE: OOP, why me? Gareth, I'm in the same boat you are. Especially after reading a blog entry by a prominent figure in the CF community, where the complaint was given that simple changes to a framework based site were /not/ simple. You had to modify a few different files just to make a simple change. Kind of goes against the makes modifications easier argument. The biggest reasons I see for using frameworks are: -code reuse -flexibility -maintainability -documented code I can make my applications adhere to the above principles, /without/ using a framework. However, I'm eagerly awaiting any responses from the framework crowd, as I'm still sitting on the fence. -Original Message- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. scratches_headModel glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?/scratches_head Words of wisdom / good reading (including book recommendations) most appreciated. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234305 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query of Queries and GROUP - problem
My guess is that Region is a reserved word *somewhere* between CF, the OS, the web server...something. That's probably why aliasing the field names fixed the problem. In fact, I would bet that if you just aliased the region field and grouped by it, it would STILL work on both your dev box and the other. :0) Doug :0) When you figure out the specs on the production server, be sure to post - because I've never had this problem and it this is a new issue with 7 (we're not there yet), we're going to be in for a world of hurt. On 3/4/06, Roberto Perez [EMAIL PROTECTED] wrote: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234306 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
I don't like the OO frameworks like Model-Glue as they take something simple (a web site) and make it extremely complicated. Exactly! -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234307 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
What would you strip out of Fusebox? *.* ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234308 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Truncated Emails : maybe OT
Excuse me if this is too OT, but I have an end user who recieves HTML emails from us, and the last few have been truncated with the bottom of the page displayin [Message clipped]. Can anyone point me in the right direction to solve this. thanks, Charlie Hanlon ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234309 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
This thread has drifted away from Gareth's original question. There's nothing wrong with that, but I dont think anyone's actually answered him.I'm going to have a go at it . Why bother with OOP, when other ways get the job done? I'm a recent convert to OOP. I struggled with it for ages, till finally the light came on and i had one of those Eureka! moments when it finally made sense. And I'm extremely grateful that it did. Gareth, I strongly urge you to keep on with it and you'll see the light, I feel sure.Let me tell you some of the things I find helpful about this process. I'm sure you've seen the arguments from the likes of Hal Helms et al. and thought as I did that looks really great, but I can't see where I get practical benefits out of all that work to learn it. Perhaps I can give you a parallel when you learn how to style pages with CSS, suddenly the separation of style and look and feel from the code is very liberating. Your code is simpler and easier to maintain. Using OOP gives you similar benefits. When you do a query on a database, you then move that query object around, getting access to the elements in that query, which might number thousands of elements with a few logical, easily understood CF expressions.Well when you use OOP techniques, you get that same benefit in many other ways. Instead of just queries you're bouncing around your pages, you can manipulate other neat little bundles of data. For example, I usually use beans. Say for example a User bean. There's a value in the bean for every field in the User table. So if I'm doing a user profile form for example, I'll know that once the bean is created there will always be a value for every field in the form. Gone forever is the variableA is not defined errors that drove me crazy before. When I create a User bean, and initialise it with the Kear record, I know that when I pass the bean to a page, every detail about Kear is available with for example #User.getFirstName()#. During January, when everyone else was having a holiday relaxing on the beach, I was sitting in the tent writing my new Content Management System. It's the most complex app I've ever written. But it was a joy to write. Because I decided long ago that no matter what it took, I was going to persevere until I understood this OOP thingy, I only used this bean/DAO approach to it. And the end result includes the following: - It's easy to build because OOP forces you to modularise all the app's procedures into small, self-contained elements - It's easy to maintain because of the above, and because you can find the bit of code you want far easier. e.g. ALL your queries on the User table will be in the component UserDAO.cfc (in my example) - The resulting app is far more robust than any app I've ever written. To my astonishment I found I was regularly writing bits of the application that worked first time, no errors. And far fewer bugs to iron out that I'd been used to. - The CMS is more complex than anything I've ever done, but works faster and is easire to customise than anything I've ever done. Since I built it, I've added major elements, and made numerous minor changes as I've had client reaction, and it's a breeze to do. - The CMS is easily deployable. Since I built that one in January, I've reproduced it and customised it for 4 more sites that are about to be deployed. I wouldnt have DREAMED of attempting to build 5 sites simultaneously before.The sites look totally different ot the casual visitors, but they are built on the same core code, with all the differences being in a few places in teh code, put there to hold customised elements, and with different CSS style sheets. - This OOP thing has allowed me to get my mind organised to the point where I have a code generator to look after most of the drudgery of writing all those getters and setters and common methods. In short - it's bloody magic! Gareth, until you have that eureka moment it looks like a lot of effort to learn all this strange language for little return. I'm far from an expert, but I've been through that 'Eureka moment and I can see that persevering is worth it. The terminology is confusing at first, and some people seem to like dumping a whole lot of strange jargon on you which bamboozles the beginner (which is in part why I've tried to keep away from it entirely here) but focus on what it does for you. In my case, i reasoned that if all those programmers talked and lived this OOP thing so much, and wrote such complicated programs of all kinds with it, there must be something I could learn from it. I think you can too if you keep on going with it. If i can help you ( or anyone else for that matter ) off line, please contact me. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET
Re: Truncated Emails : maybe OT
spam filter?? Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234311 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
Mike, can you please define two things in your message: 1. bean - I know this is related to the java style method of OO but can you please expound? 2. DAO -- Josh - Original Message - From: Mike Kear [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 06, 2006 2:11 PM Subject: Re: OOP, why me? This thread has drifted away from Gareth's original question. There's nothing wrong with that, but I dont think anyone's actually answered him.I'm going to have a go at it . Why bother with OOP, when other ways get the job done? I'm a recent convert to OOP. I struggled with it for ages, till finally the light came on and i had one of those Eureka! moments when it finally made sense. And I'm extremely grateful that it did. Gareth, I strongly urge you to keep on with it and you'll see the light, I feel sure.Let me tell you some of the things I find helpful about this process. I'm sure you've seen the arguments from the likes of Hal Helms et al. and thought as I did that looks really great, but I can't see where I get practical benefits out of all that work to learn it. Perhaps I can give you a parallel when you learn how to style pages with CSS, suddenly the separation of style and look and feel from the code is very liberating. Your code is simpler and easier to maintain. Using OOP gives you similar benefits. When you do a query on a database, you then move that query object around, getting access to the elements in that query, which might number thousands of elements with a few logical, easily understood CF expressions.Well when you use OOP techniques, you get that same benefit in many other ways. Instead of just queries you're bouncing around your pages, you can manipulate other neat little bundles of data. For example, I usually use beans. Say for example a User bean. There's a value in the bean for every field in the User table. So if I'm doing a user profile form for example, I'll know that once the bean is created there will always be a value for every field in the form. Gone forever is the variableA is not defined errors that drove me crazy before. When I create a User bean, and initialise it with the Kear record, I know that when I pass the bean to a page, every detail about Kear is available with for example #User.getFirstName()#. During January, when everyone else was having a holiday relaxing on the beach, I was sitting in the tent writing my new Content Management System. It's the most complex app I've ever written. But it was a joy to write. Because I decided long ago that no matter what it took, I was going to persevere until I understood this OOP thingy, I only used this bean/DAO approach to it. And the end result includes the following: - It's easy to build because OOP forces you to modularise all the app's procedures into small, self-contained elements - It's easy to maintain because of the above, and because you can find the bit of code you want far easier. e.g. ALL your queries on the User table will be in the component UserDAO.cfc (in my example) - The resulting app is far more robust than any app I've ever written. To my astonishment I found I was regularly writing bits of the application that worked first time, no errors. And far fewer bugs to iron out that I'd been used to. - The CMS is more complex than anything I've ever done, but works faster and is easire to customise than anything I've ever done. Since I built it, I've added major elements, and made numerous minor changes as I've had client reaction, and it's a breeze to do. - The CMS is easily deployable. Since I built that one in January, I've reproduced it and customised it for 4 more sites that are about to be deployed. I wouldnt have DREAMED of attempting to build 5 sites simultaneously before.The sites look totally different ot the casual visitors, but they are built on the same core code, with all the differences being in a few places in teh code, put there to hold customised elements, and with different CSS style sheets. - This OOP thing has allowed me to get my mind organised to the point where I have a code generator to look after most of the drudgery of writing all those getters and setters and common methods. In short - it's bloody magic! Gareth, until you have that eureka moment it looks like a lot of effort to learn all this strange language for little return. I'm far from an expert, but I've been through that 'Eureka moment and I can see that persevering is worth it. The terminology is confusing at first, and some people seem to like dumping a whole lot of strange jargon on you which bamboozles the beginner (which is in part why I've tried to keep away from it entirely here) but focus on what it does for you. In my case, i reasoned that if all those programmers talked
OT: quickee Windows permission
I am running Win2k3 server Std and win2k wkstns. Yesterday I was running a win2k server. All of my users must access a DOS batch file that executes the command type filename.ps lpt1 (which at least in the past was a faster way to send a file to a printer than copy filename.ps lpt1). LPT1 is a networked printer. Now the command doesn't work. Access denied is coming from the printer resource (the disk resource is set up to allow full control). Does anyone know where I set the permissions on this? I have played around with printer ownership/rights but nothing seems to be working. I may need to reboot the server to reset the resource, which is tough to explain to the masses if I have to keep doing it as I experiment. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234313 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query of Queries and GROUP - problem
I would bet that if you just aliased the region field and grouped by it, it would STILL work on both your dev box and the other. :0) Mmm... no, I aliased and unaliased (if that word exists) one by one all the columns in different combinations each time (in Group alone, in Group and CFoutput, in CFoutput alone, etc), and the only way it worked was to have all of them aliased. Like I said, the output of a ColumnList command yielded different values for each column on my desktop and on the server, but the aliases were interpreted exactly the same by both development and production servers (still waiting on the specs of the production one). Why the columns were being interpreted differently by DEV and PRO, that would be good to know. Roberto ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234314 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
G'day Josh, I wanted to avoid using the OOP jargon terms that so confused me when I was learning, but a few sneaked in there. For all I know I have it confused myself, but it works for me so let me see if i can try and explain it without using the OOP jargon, then when you go and read a more knowledgeable explanation it might make more sense to you (note to experts - I know this is simplified, but that's what's sorely lacking to beginners at this OOP thing) A bean is a CFC containing a single object. Think of a query. It is an object that might contain a thousand records. We're all used to creating the query object at the top of a page, and passing it around the page, accessing the elements inside it at points down the page. A bean contains all the data relating to one record. A user bean for example might be a cfc that has a value for a single user's first name, last name, email address, username, password etc.So by passing the User bean to a page, in one element you pass everything the bean knows about one person. The only job the bean does is hold the data about one record so it can be passed around the site.Think of it as a coffee bean. In the coffee jar, there is a bean with Kear on it, and another with Josh on it and thousands of others. Want to know about kear? just get the Kear bean.(Actually what you do is initialise the User bean with the Kear data). Inside the Kear bean is a value #user.getLastName()# and another value #user.getEmail()#.At any point, values can be changed it your app requires it by #user.setEmail()# Now the bean has a different value for email. The UsersDAO (Data Access Object) is the cfc that looks after all the database interaction with the Users table. It contains the CRUD (Create, Read, Update, Delete) methods and some others. It's where all your queries are. So to save the new email value to the database for example, you pass the User bean into the update() method of the UserDAO.cfc. ALL the values currently in the bean are saved to the User table. You dont need to check any more whether you have values for this field or that field, because ALL the fields always have values in the bean, even if they're Null values. This is not the only way to think of these things. But it's what I used in my CMS app, and it works pretty fine for me. Multiply this by 15-20 tables and before you know it you have a framework, whether you call it Model-Glue or MachII or Scaffolding. What the framework gives you is a defined, organised way or doing things so that others following along behind you or working along with you know what's going to be where. I'm doing some work right now on an old app that was written some years ago, and it takes me 40 minutes finding the code i want to change for every 5 minutes actually making changes. With a framework, that ratio is reversed. I hope this helps you. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 3/7/06, Josh Nathanson [EMAIL PROTECTED] wrote: Mike, can you please define two things in your message: 1. bean - I know this is related to the java style method of OO but can you please expound? 2. DAO -- Josh ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234315 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: quickee Windows permission
I am running Win2k3 server Std and win2k wkstns. Yesterday I was running a win2k server. All of my users must access a DOS batch file that executes the command type filename.ps lpt1 (which at least in the past was a faster way to send a file to a printer than copy filename.ps lpt1). LPT1 is a networked printer. Now the command doesn't work. Access denied is coming from the printer resource (the disk resource is set up to allow full control). Does anyone know where I set the permissions on this? I have played around with printer ownership/rights but nothing seems to be working. I may need to reboot the server to reset the resource, which is tough to explain to the masses if I have to keep doing it as I experiment. Are you doing this through a CFEXECUTE tag? If so, your CF server will have to run as a user with the appropriate network rights, and LPT1 will have to be redirected for that user appropriately. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234316 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OOP, why me?
I don't like the OO frameworks like Model-Glue as they take something simple (a web site) and make it extremely complicated. Exactly! I don't use frameworks to build web sites... I use them to build applications, which are often not simple. :) s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234318 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query of Queries and GROUP - problem
Incidentally, you can use [] to escape reserved words in query of queries. I've had to do that on a few occasions, and I made sure when I implemented my locale-specific query sorting function that it escaped the column names being passed in this way since I couldn't know that it wouldn't be used to sort on reserved words for query of queries. My guess is that Region is a reserved word *somewhere* between CF, the OS, the web server...something. That's probably why aliasing the field names fixed the problem. In fact, I would bet that if you just aliased the region field and grouped by it, it would STILL work on both your dev box and the other. :0) Doug :0) When you figure out the specs on the production server, be sure to post - because I've never had this problem and it this is a new issue with 7 (we're not there yet), we're going to be in for a world of hurt. On 3/4/06, Roberto Perez [EMAIL PROTECTED] wrote: s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234317 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
There is freedom in rules. Many people overlook that. Sure! But the question was why more freedom with rules than without? Well, I'm sure to piss someone off with an analogy or two later in the thread, but here goes. The freedom that any set of rules provides is the freedom to avoid having to answer every question about how to do something, every time it comes up. If I don't have to decide what to name a program, or where to put it, or how other programs interact with it, I can focus on the unique, important things about that program and what it has to do. Of course, that's a somewhat elastic definition of freedom, but important nonetheless. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234319 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
How about a sample (and simple) app that shows the OOP method at work...(as simple as possible to demonstrate the concept) wihtout any jargon in the explanation... Or perhaps there is one already that you can reference? Rick -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 5:11 PM To: CF-Talk Subject: Re: OOP, why me? If i can help you ( or anyone else for that matter ) off line, please contact me. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234320 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OOP, why me?
And what is the minimum required version of CF to use these OOP methods? Rick -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 6:03 PM To: CF-Talk Subject: Re: OOP, why me? G'day Josh, I wanted to avoid using the OOP jargon terms that so confused me when I was learning, but a few sneaked in there. For all I know I have it confused ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234321 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54