Re: [ACFUG Discuss] Starting the New Year with ACFUG
This is flex 1.5 though right? On 1/4/07, Cameron Childress [EMAIL PROTECTED] wrote: Here's another good Flex sample app: http://maps.yahoo.com -Cameron On 1/4/07, Alex Pilson [EMAIL PROTECTED] wrote: At 3:35 PM -0500 1/4/07, [EMAIL PROTECTED] wrote: I remember being at the Flex demo Ben Forta gave a while back and thought to myself where and how would I use this in a real world app? As I have never come across a site that has used Flex for anything. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] IE7 vs IE6
from google ie7 quirks mode http://www.satzansatz.de/cssd/quirksmode.html On 12/19/06, Mike Staver [EMAIL PROTECTED] wrote: I know I read about this somewhere - but isn't there a way to force IE7 to behave like IE6 in terms of some quirks vs native behavior? The day 7 was released, I thought I had read somewhere about a quick tag you could put at the top of your pages to force this one way or another. Anybody know what I'm referring to? -- -Mike Staver [EMAIL PROTECTED] http://www.fimble.com - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] unit testing
CFCUnit is good for most things just make sure when you are setting up your tests that you customize your fail scenarios to include your object/variable that fails. I've also had some issues with debugging giving me bad error messages (saying one thing when actually it was another) I think that has to do with the try/catch mechanism. I havent tried cfunit On 12/14/06, Douglas Knudsen [EMAIL PROTECTED] wrote: ok, I'm wanting to start messing with unit testing of CFCs and introduce it to some staff. I must admit, I'm a bit behind on this topic. I see two projects about cfcUnit and CFUnit. Any opinions on these? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Re: regex help
hmm... ok i dug a little deeper ([A-Z]|[a-z]|;|_|=|/|\s)* On 12/13/06, Steven Ross [EMAIL PROTECTED] wrote: I should be able to do this... but its beating me up and im no masochist so here it is: this is my string (its the cookie in a cfhttp call and i need to pass it back in): BIGipServerupower_proc_pool=2932677656.6145.; path=/ and i want to just get this via regex: 2932677656.6145. thanks, Steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] CF serving platform
hehe... what does myspace run on? On 11/29/06, Derrick Peavy [EMAIL PROTECTED] wrote: Blue Dragon Server JX on Mac OS X Server 10.4.8 and Dual G5 X Serve, 8 GB RAM. Have handled as many as 600,000 user sessions per day with no hiccup. _ Derrick Peavy Sales and Web Services Universal Advertising Phone: 404-786-5036 Fax: 404-370-0470 http://www.universaladvertising.com http://www.collegeadvertising.com http://www.collegeclassifieds.com ___ On Nov 29, 2006, at 5:28 PM, Tom Chambers wrote: i run cf 1.51 on a windows NT 3.51 box with SQL server 6.5 sorry...had a 10 yr flashback hehe John Mason wrote: That is correct, it is higher on the 64 bit systems. It's only in 32-bit systems that the JVM limit goes up to 2 GB. John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Haygood Sent: Tuesday, November 28, 2006 10:14 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] CF serving platform I think its only that low on 32-bit Windows though (due to memory space limitations). X64 Windows apps can reference up to 4 GB of memory (which should allow more memory for the JVM instance) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 9:34 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] CF serving platform As a matter of performance, Solaris seems to be the best option. On windows linux the max amount of memory available to a JVM instance is about 1.25GB. That number goes up to 3GB on Solaris. I'm not going to get into the Sun conspiracy theories here, but that is the performance difference I've seen. ap On Nov 28, 2006, at 9:15 AM, Anthony Mathis wrote: For four years it was windows 2000 Advanced server. Last year we decided to try Linux (Ubuntu). Coldfusion works better with Debian base linux, for me anyway. Been loving cf on linux ever since. On Mon, 2006-11-27 at 20:11 -0500, Alex Pilson wrote: I am looking at new opportunities and thought I would pose a question to the CF community here. What seems to be the platform of choice for most CF developers to serve from? Windows or Linux? Or something else? Thank you for your time. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=gin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] useful tools
If you like service capture you might want to check out this tool for firefox: https://addons.mozilla.org/firefox/966/ lets you watch requests and modify them before they are sent, very useful for debugging flash apps. -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: RE: [ACFUG Discuss] useful tools
Yeah I have firebug, it wont show you the requests coming out of flash though... at least i don't see where it does that. On 11/28/06, Charlie Arehart [EMAIL PROTECTED] wrote: If you like that, Steven, do also consider Firebug if you've not before: https://addons.mozilla.org/firefox/1843/ And for non-Firefox users, still another option like them (and also free) is Fiddler: http://www.fiddlertool.com/fiddler/ All these are great tools for understanding what's going on between your browser and the server, and useful not just for debugging Flash apps but also Ajax, Flex, and even traditional web-based apps. I've been a fan and advocate of them for a long time, and they've saved my bacon more than once. :-) /Charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Tuesday, November 28, 2006 10:43 AM To: ACFUG ColdFusion Discussion Subject: [ACFUG Discuss] useful tools If you like service capture you might want to check out this tool for firefox: https://addons.mozilla.org/firefox/966/ lets you watch requests and modify them before they are sent, very useful for debugging flash apps. -- Steven Ross - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: RE: RE: RE: [ACFUG Discuss] Blue Dragon
Teddy made that sound harder than it is! Drop the mysql connector jar in the proper cfmx lib directory and then specify your db like below. CF Data Source Name (whatever you want) JDBC URLjdbc:mysql://127.0.0.1:3306/dbname Driver Classcom.mysql.jdbc.Driver Driver Name (whatever you want) On 11/22/06, Dusty Hale [EMAIL PROTECTED] wrote: Being that this application is extreamly basic, I think I will just try the one in CF admin and if I can't get it to work for some reason try the other. Basically all this thing needs to do is insert one record into a single table and then upload an image that associated with the data. I'm assuming I need to handle the image upload with cfftp rather than cffile. Thanks again for the replies. Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne Sent: Wednesday, November 22, 2006 7:53 PM To: discussion@acfug.org Subject: Re: RE: RE: [ACFUG Discuss] Blue Dragon I would probably recommend using the drivers from mysql.org even for earlier versions. The JDBC drivers provided with CF work fine, but I noticed that in my previous adventures in querying MySQL databases, that the JConnector did offer better error messages and more compatibility. The down side is that you have to configure the application a little bit more with a connection string. The process is pretty well documented though. Teddy On 11/22/06, Steven Ross [EMAIL PROTECTED] wrote: As for the version you need to check what is running if it is v5 you have to download the driver and call it through jdbc. On 11/22/06, Dusty Hale [EMAIL PROTECTED] wrote: Ahhh in this case the MySQL box is several states away :) probably be slow like this but it will only be used to do 1 insert query a day for just one record so I don't think the sluggishness will be too much of a problem. Thanks again for all the replies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Justin Haygood Sent: Wednesday, November 22, 2006 5:09 PM To: discussion@acfug.org Subject: RE: RE: [ACFUG Discuss] Blue Dragon I do this exact thing all the time, except the mysql server is on the same LAN as the cf application server :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Wednesday, November 22, 2006 4:31 PM To: discussion@acfug.org Subject: Re: RE: [ACFUG Discuss] Blue Dragon You can certainly do that. You just need a user on the mysql box that will let you connect and the firewall has to be setup to let traffic in on 3306 (or whatever port your running mysql on). -Steven On 11/22/06, Dusty Hale [EMAIL PROTECTED] wrote: Teddy one thought though is maybe I run just this application on a shared server. Do you know if there is a way to access a remote MySQL database (one running on the linux server) with CF? Could an DSN be made on the shared server that could update the MySQL database which resides on a remote server on a different network? I have not worked with MySQL before but something tells me that I think I remember researching this once and determining it couldn't be done. Thanks for your previous reply and any suggestions you may have. Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne Sent: Wednesday, November 22, 2006 2:35 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Blue Dragon What about hosting the site on an application service provider? You don't have to budget for the CF license then. Is the client firm on the fact that the Linux server must house the site? Teddy On 11/22/06, Dusty Hale [EMAIL PROTECTED] wrote: I have a new client I need to design a very simple app for and I would prefer to do it in cold fusion because I could do it fast and not have to charge much. The problem is that the dedicated server he has is a Linux server and does not have CF on it. Of course I know CF will run fine on a linux server but since there is no budget to purchase a license for it, I assumed I would need to rethink it and do this with PHP. However, then I though Blue Dragon maybe? Could anyone tell me if my thoughts are worth researching more? Will Blue Dragon allow me to develop my app with my local cf server then move to his server where I install Blue Dragon on it? Do you think I will run into headaches and issues with this approach. Thanks ahead of time for any advice I get. Dusty - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa
[ACFUG Discuss] cfhttp retrieving a file
Hey all I've got a page that is outputting a file (mp3 to be exact) I want to hit that with cfhttp and output the data back to the browser as a valid mp3 file. The reason why cfhttp is calling a cfm that serves a mp3 is that I have to simulate what the external service is going to do when it is developed so no questions about why im doing that! ; ) I tried this: cfhttp url = http://localhost/servemp3.cfm; / cfset thefile = cfhttp.fileContent cfcontent type = audio/mpeg CFSCRIPT writeOutput(toString(theFile)); /cfscript and i tried this: cfhttp url = http://localhost/servemp3.cfm; / cfcontent type = audio/mpeg file=#cfhttp.fileContent# -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Re: cfhttp retrieving a file
Is the answer i have to write it to disk first? On 11/22/06, Steven Ross [EMAIL PROTECTED] wrote: Hey all I've got a page that is outputting a file (mp3 to be exact) I want to hit that with cfhttp and output the data back to the browser as a valid mp3 file. The reason why cfhttp is calling a cfm that serves a mp3 is that I have to simulate what the external service is going to do when it is developed so no questions about why im doing that! ; ) I tried this: cfhttp url = http://localhost/servemp3.cfm; / cfset thefile = cfhttp.fileContent cfcontent type = audio/mpeg CFSCRIPT writeOutput(toString(theFile)); /cfscript and i tried this: cfhttp url = http://localhost/servemp3.cfm; / cfcontent type = audio/mpeg file=#cfhttp.fileContent# -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: re[3]: [ACFUG Discuss] cfhttp retrieving a file
Actually that isn't the scenario at all on this... we are streaming these files in flash so the faster we can get them to the user the faster it will start playing. Each box in this cluster has 32 GB of ram and these are small files. Also caching isn't an option because we aren't using sticky sessions on the cluster I'll try the firebug thing. On 11/22/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: I was just trying to take advantage of the vast ammount memory on this box and avoiding the overhead of IO. $0.02 I would argue that if a user is going to wait 30 seconds or more to download an mp3, it's not going to matter whether you spend two seconds to store the file on disk first. However, with a user having the ability to open up multiple windows and multiple users being able to hit your server, I would be concerned about every page request taking up 5MB (or whatever the mp3 file size is) of RAM. Not even considering the fact that it will be child's play to cache the request if it's a file, and much harder/expensive to do when you keep it in memory. /$0.02 /m - To unsubscribe from this list, manage your profile @ http://www.acfug.org?falogin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] Coldfusion MX 7.0.2 and Windows Vista Enterprise x86
Yeah this boils down to the fact that you need the newer mod_jrun for apache... FYI you have to compile it on anything other than windows. I wrote up a blog post on how to do this if anyone is interested. On 11/15/06, John Lyons [EMAIL PROTECTED] wrote: stop cfmx remove wsconfgi jar replace with new jar start run the java applet remove the current webserver configuration add new configuration restart apache and it should work i can get tthe exact steps tonight if youd like that. Mike Staver wrote: When you say remove the old configuration - you mean the wsconfig.jar file and the modules it creates? I used 7.0.2's wsconfig.jar file and the one from the hotfix to pull the modules out of, and neither worked for me on vista. John Lyons wrote: It works I am running 2.2 and cfmx 7.02 on my box right now. you have to remove the old configuration and add a new one. Mike Staver wrote: I'd also like to add that after a few hours of banging my head on my desk with Apache 2.2, it does not appear that CFMX 7 on windows will work with Apache 2.2, even with this hotfix: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8001e97 They apparently fixed it for Linux/Unix, but the connector is still not working on Windows. No biggie for me though, I rolled back to Apache 2.0.59 and I now have CFMX7 running on Vista :) Thanks again Steven for hitting me over the head with a clue stick and reminding me of this option! Steven Ross wrote: If you cant figure it out you can always run apache On 11/14/06, Mike Staver [EMAIL PROTECTED] wrote: I don't think it's setup right. Attached is a screen shot of what I see. I'm not sure what I should put here. Justin Haygood wrote: Do you have .cfm associated with the ColdFusion / JRun ISAPI handler and/or CGI process? (not sure which is used for CFM)? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Staver Sent: Tuesday, November 14, 2006 5:35 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Coldfusion MX 7.0.2 and Windows Vista Enterprise x86 Thanks for the input - I thought about doing that as well yesterday, so I made the change today. However, now IIS just serves up the page for download rather than parsing it with CFMX. I have a feeling I'm SOL until an update gets released, if one does at all. I'll be using virtual machines for this stuff I think until then. Damon wrote: I do not have Vista and this may be a log shot but you can try to add a MIME type in IIS (IIS 6 you right click the computer name in the IIS manager and go to properties, not sure for IIS 7) of .CFM for extension and cfm-application/octet-stream for mime type. This should at least let IIS serve up the cfm. Just a guess -Damon Ledet -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Staver Sent: Monday, November 13, 2006 6:41 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Coldfusion MX 7.0.2 and Windows Vista Enterprise x86 I'm going to go out on a limb here and assume that nobody has tried this yet, but I have the final release of Windows Vista Enterprise that was released to manufacturing running on my workstation now. It's a completely fresh install, and I attempted to install CFMX 7.0.2 on it to run with IIS 7. As you might assume, it doesn't work. I'm running the x86 version, rather than the x64 in the hopes more things work with it. I've been wrong with that guess mostly for a lot of apps. Below is what IIS spits out: -- Server Error in Application Default Web Site HTTP Error 404.3 - Not Found Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed. Error Code: 0x80070032 Notification: ExecuteRequestHandler Module: StaticFileModule Requested URL: http://127.0.0.1:80/CFIDE/administrator/index.cfm Physical Path: C:\inetpub\wwwroot\CFIDE\administrator\index.cfm Logon User: Anonymous Logon Method: Anonymous Handler: StaticFile Most likely causes: * It is possible that a handler mapping is missing. By default, the static file handler processes all content. * The feature you are trying to use may not be installed. * The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.) What you can try: * In system.webServer/handlers: * Ensure that the expected handler for the current page is mapped. * Pay careful attention to preconditions
Re: [ACFUG Discuss] Re: Adobe Donating Flash Scripting Engine to Mozilla
There is a good link off of fortas post mentioned above on what it means. Its very thorough. http://www.hecker.org/mozilla/adobe-mozilla-and-tamarin On 11/8/06, Precia [EMAIL PROTECTED] wrote: Coming back to the Flash scripting engine code. What's the big picture with this? What could this do in the Mozilla browser? Shall we have a way to write AS for SWF files generating on the fly in that specific browser? I don't know how this is useful to Mozilla. Precia On 11/7/06, Precia [EMAIL PROTECTED] wrote: Adobe has donated the Flash scripting engine code to Mozilla. The announcement was made at the Web 2.0 conference. Would someone enlighten me on the big picture of this gesture. Precia - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: RE: [ACFUG Discuss] Best Practice for Assembling Pages
Im not sure how the latest version of contribute is but, in dealing with templates that are calling includes it can be a pain because Contribute wants the user to enter the page title. It can cause a double title to appear if you are say setting the title in a variable and then contribute sticks it in as well. Just something to keep in mind when you build DW templates and use them in Contribute. I think the templates are ok but can be overrated. On 11/7/06, Dusty Hale [EMAIL PROTECTED] wrote: Also your number 2 approach will work good with Contribute and prevent the client from being able to edit the include areas in Contribute (unless they go to the include file in contribute to make the edit). Again can't think of a reason to use the DW template if you use includes. Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dusty Hale Sent: Tuesday, November 07, 2006 10:59 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Best Practice for Assembling Pages Clarke: I have successfully used your #2 approach and by using the includes, it will prevent your client from being able to edit the include areas which I think is what you want. I personally think this is much better than going the DW template route. BTW I don't see why you would been the DW template if you use the includes but that is just me. Hope this info helps in your decesion making. Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clarke Bishop Sent: Tuesday, November 07, 2006 10:29 AM To: discussion@acfug.org Subject: [ACFUG Discuss] Best Practice for Assembling Pages Did my questions not make sense to anyone or was everyone just feeling sorry for me sending messages out on Saturday night? If this is confusing, please let me know. Clarke From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clarke Bishop Sent: Saturday, November 04, 2006 8:01 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Best Practice for Assembling Pages I am building a simple information-oriented site. Each page will have the same header, footer, right-hand column and a content area. Ideally, I'd like my customer to be able to edit the content area, but nothing else. I'd like to ask all of you about the best practice for assembling the page. Here are the ways I'm thinking about: 1. Use a Dreamweaver template and/or Dreamweaver library. I've done this before, so I know it works. 2. Use Dreamweaver templates as in #1, but cfinclude the header, footer, etc. 3. Use onRequestStart in Application.cfc to cfinclude the header, footer, etc. 4. Some other more CF-oriented approach, but hopefully not FuseBox I like method #1 or #2, because then I can use Contribute and allow my customer to edit certain content. Right now, the site will only use the most minimal CF for a Contact Form, etc. Still, I want to get this right from the start. Thanks for any ideas! Clarke - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] Adobe Donating Flash Scripting Engine to Mozilla
I think the above response is drawing some pretty large conclusions that aren't based on any substantiated facts. Here is an article concerning the move http://www.vnunet.com/vnunet/news/2168153/adobe-donates-flash-code article content below -- Adobe has donated its ActionScript Virtual Machine code to the Mozilla Foundation, kicking off a new open source project dubbed Tamarin. Tamarin will be a component of SpiderMonkey, the core JavaScript engine for Mozilla's Firefox browser. Adobe's ActionScript offers a scripting language for the company's Flash player. Flash technology is best known for its use by online video websites such as Youtube and Google Video. The language is similar to JavaScript and Microsoft's JScript. Adobe and Mozilla expect that the donation will speed up the creation of a standards based scripting language, promote the creation of online applications and increase their performance on Firefox. Scripting languages are at the core of today's Web2.0 applications. The Ajax technology that forms the basis of Gmail and Flickr for instance is an acronym for Asynchronous JavaScript and XML. The Adobe contribution is the largest code donation that Mozilla has received in its 3 year history. On 11/7/06, Adam Churvis [EMAIL PROTECTED] wrote: Among other things, it means that when the time comes (relatively soon), Adobe will most likely wash their hands clean of ColdFusion via the open source route as well, rather than by trying to dump it on another company. But it most likely also signifies that Adobe realizes its Flash-centric development model and tools cannot keep pace with Microsoft's XAML-based offerings. When you compare the two, Flash-based development looks like an unwieldy cobbled together tinkertoy. And there just isn't enough Adobe funding available to change that in any significant way, so they give it up to the people and let them join in for free. Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: Precia To: discussion@acfug.org Sent: Tuesday, November 07, 2006 4:42 PM Subject: [ACFUG Discuss] Adobe Donating Flash Scripting Engine to Mozilla Adobe has donated the Flash scripting engine code to Mozilla. The announcement was made at the Web 2.0 conference. Would someone enlighten me on the big picture of this gesture. Precia - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] OT: swf decompiler
this came up in my gmail... heh http://www.sothink.com/product/flashdecompiler/index.htm On 11/6/06, Precia [EMAIL PROTECTED] wrote: 2.0 On 11/6/06, Bryan Tidd [EMAIL PROTECTED] wrote: What version of Actionscript does it have to support? Is that known? Bryan -Original Message- From: Precia [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:41 AM To: discussion@acfug.org Subject: [ACFUG Discuss] OT: swf decompiler Does anyone know of a good SWF decompiler? TIA, Precia - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?falogin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] CFCUnit configuration tip
This may seem obvious but, for those running CFCUnit this tip may help (if it isn't that obvious!) We were doing a bit of testing and found that we had to write all of this setup code in each of our tests... ie test variables etc that each test required so our test had something like: cfset this.AccountFriendlyName = Joe Bob's Home Line/ cfset this.AccountIdentity = joebob42 cffunction name=setUp returntype=void access=private cfinvoke component=com.Application method=onApplicationStart returnvariable=tst cfset this.Utility = CreateObject(component, com.Utility) cfset this.imap = CreateObject(component, com.Imap) / /cffunction Now that got annoying having to set this up for each of our tests because I found that we were doing a bit of overlap (ie we had to set this stuff up sometimes twice depending on which components we were testing (service DAO). So I wrote another component (call it SetupTests.cfc) it extends the testcase component (required for cfcunit) it does ALL the configuration and calls setup and teardown then all of our test cases extend the SetupTests.cfc so now all our configuration lives in one CFC so we are sure that when our tests are running they are all using the same variables. Ah, CF's CFC architecture is very nice indeed. I am going to write up a blog post about this with a little more detail later. -Steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] mac flex builder
in case anyone missed this... flex builder for the mac beta: http://labs.adobe.com/technologies/flexbuilder2/ -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] mac flex builder
Hm, when will CS3 be released? hehe... I'm sure they will give you an answer. On 10/25/06, Precia [EMAIL PROTECTED] wrote: Yeah, they are passing around a USB with that for all the Mac Users at Adobe MAX this week. Is there anything someone would like to ask an Adobe member? Several ACFUG members are at the conference that could seek out answers. Precia On 10/25/06, Steven Ross [EMAIL PROTECTED] wrote: in case anyone missed this... flex builder for the mac beta: http://labs.adobe.com/technologies/flexbuilder2/ -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] len() question
How do I force Len(somestring) to return the length including the line breaks? Is there a way to do this without parsing the string for the breaks and then adding that number to the Len() function? thanks, steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Re: len() question
nevermind aparently this is an issue with cfsavecontent not saving line breaks... On 10/24/06, Steven Ross [EMAIL PROTECTED] wrote: How do I force Len(somestring) to return the length including the line breaks? Is there a way to do this without parsing the string for the breaks and then adding that number to the Len() function? thanks, steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] cfhttp and SSL
Anyone used cfhttp with SSL? having a really fun time trying to set this up and get it going... i installed my certificate (at least i think i did it correctly)... i had to convert it from a pem file and then i installed it. Hoever now i am getting this in CF when i try to cfhttp with ssl: ErrorDetail: I/O Exception: peer not authenticated -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] cfhttp and SSL
We got it finally... yeah the certs were a pain... I'm going to write up a blog post about the experience. Oh and fyi aparently there is a bug in java 1.4.x that your key cant be larger than 2048. On 10/24/06, Dean H. Saxe [EMAIL PROTECTED] wrote: Verifying the remote cert provides authentication of the remote server. So my guess would be that you didn't install the appropriate root certs correctly. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] I have always strenuously supported the right of every man to his own opinion, however different that opinion might be to mine. He who denies another this right makes a slave of himself to his present opinion, because he precludes himself the right of changing it. -- Thomas Paine, 1783 On Oct 24, 2006, at 2:54 PM, Steven Ross wrote: Anyone used cfhttp with SSL? having a really fun time trying to set this up and get it going... i installed my certificate (at least i think i did it correctly)... i had to convert it from a pem file and then i installed it. Hoever now i am getting this in CF when i try to cfhttp with ssl: ErrorDetail: I/O Exception: peer not authenticated -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] cfhttp and SSL
Yeah it was a configuration issue on the cert and converting into javas weird format... once we got it installed cf was spitting out useful errors from java (at least). Thanks for the info dean... I don't know why a 4k key was generated to begin with but, good to know a 2k one is plenty. On 10/24/06, Max Immelman [EMAIL PROTECTED] wrote: Steven, I had issues with using a shared cert, but it like you are not sharing a cert. The prob. i had was that the application variables were not being passed on when entering a https page. So I had to come up with a work around. but again, I don't think you are sharing a cert. Max - Original Message - From: Steven Ross [EMAIL PROTECTED] To: ACFUG ColdFusion Discussion discussion@acfug.org Sent: Tuesday, October 24, 2006 2:54 PM Subject: [ACFUG Discuss] cfhttp and SSL Anyone used cfhttp with SSL? having a really fun time trying to set this up and get it going... i installed my certificate (at least i think i did it correctly)... i had to convert it from a pem file and then i installed it. Hoever now i am getting this in CF when i try to cfhttp with ssl: ErrorDetail: I/O Exception: peer not authenticated -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Ajax isn't just some guy from way back when...
Go get firebug for firefox if you dont have that installed... it will show you what your ajax is doing. https://addons.mozilla.org/firefox/1843/ On 10/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok I know I am missing a piece of the Ajax/webservice puzzle in the below code can anyone spot what I am doing wrong. [BEGIN GEEKISH WRITINGS] script language=javascript function processReqChange() { // only if req shows loaded if (xmlhttp.readyState == 4) { // only if OK if (xmlhttp.status == 200) { // ...processing statements go here... document.bob.innerHTML = xmlhttp.responseText; } else { alert(There was a problem retrieving the XML data:\n + xmlhttp.statusText); } } } function sendData() { xmlhttp=null // code for Mozilla, etc. if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest() } // code for IE else if (window.ActiveXObject) { xmlhttp=new ActiveXObject(Microsoft.XMLHTTP) } if (xmlhttp!=null) { var frmInput = document.form.searchfield.value; xmlhttp.open(POST, http://127.0.0.1/com/googlemini;, true); xmlhttp.setRequestHeader(Content-Type, text/xml; charset=utf-8); xmlhttp.setRequestHeader('SOAPAction','http://127.0.0.1/com/googlemini'); xmlhttp.send('varQ='+'needles'); xmlhttp.onreadystatechange = processReqChange; } else { alert(Your browser does not support XMLHTTP.) } } /script form name=form input type=text name=searchfield / input type=button name=myclick value=go onclick=sendData(); / /form div id=bob /div !--- This works... cfscript myObj = createobject(webservice,http://127.0.0.1/com/googlemini.cfc?wsdl;); myObjVal = myObj.PostQuery(consent form,); /cfscript cfdump var=#myObjVal# / --- [END GEEKISH WRITINGS] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] Ajax isn't just some guy from way back when...
sorry i didnt read all of your email charlie... I see you mentioned firebug. On 10/19/06, Steven Ross [EMAIL PROTECTED] wrote: Go get firebug for firefox if you dont have that installed... it will show you what your ajax is doing. https://addons.mozilla.org/firefox/1843/ On 10/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok I know I am missing a piece of the Ajax/webservice puzzle in the below code can anyone spot what I am doing wrong. [BEGIN GEEKISH WRITINGS] script language=javascript function processReqChange() { // only if req shows loaded if (xmlhttp.readyState == 4) { // only if OK if (xmlhttp.status == 200) { // ...processing statements go here... document.bob.innerHTML = xmlhttp.responseText; } else { alert(There was a problem retrieving the XML data:\n + xmlhttp.statusText); } } } function sendData() { xmlhttp=null // code for Mozilla, etc. if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest() } // code for IE else if (window.ActiveXObject) { xmlhttp=new ActiveXObject(Microsoft.XMLHTTP) } if (xmlhttp!=null) { var frmInput = document.form.searchfield.value; xmlhttp.open(POST, http://127.0.0.1/com/googlemini;, true); xmlhttp.setRequestHeader(Content-Type, text/xml; charset=utf-8); xmlhttp.setRequestHeader('SOAPAction','http://127.0.0.1/com/googlemini'); xmlhttp.send('varQ='+'needles'); xmlhttp.onreadystatechange = processReqChange; } else { alert(Your browser does not support XMLHTTP.) } } /script form name=form input type=text name=searchfield / input type=button name=myclick value=go onclick=sendData(); / /form div id=bob /div !--- This works... cfscript myObj = createobject(webservice,http://127.0.0.1/com/googlemini.cfc?wsdl;); myObjVal = myObj.PostQuery(consent form,); /cfscript cfdump var=#myObjVal# / --- [END GEEKISH WRITINGS] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: RE: [ACFUG Discuss] cf 7 bug?
please don't respond to the obvious security concerns in the code below... im aware! On 10/17/06, Steven Ross [EMAIL PROTECTED] wrote: cfscript adminObj = createObject(component,cfide.adminapi.administrator); adminObj.login(cfide_password); //cfide_password is set in cfide.cfm // Instantiate the runtime object. myObj = createObject(component,cfide.adminapi.runtime); // clear cache myObj.clearTrustedCache(); /cfscript On 10/17/06, Charlie Arehart [EMAIL PROTECTED] wrote: Steven, are you just turning off the trusted cache? Or actually flushing the template cache as well? Show us the Admin API call you're using. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Monday, October 16, 2006 4:41 PM To: ACFUG ColdFusion Discussion Subject: [ACFUG Discuss] cf 7 bug? Anyone using trusted cache and clearing it with the admin API? If so do your CFC's still remain? We are trying to find out if this is a bug or not. Thanks, Steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: RE: [ACFUG Discuss] cf 7 bug?
cfscript adminObj = createObject(component,cfide.adminapi.administrator); adminObj.login(cfide_password); //cfide_password is set in cfide.cfm // Instantiate the runtime object. myObj = createObject(component,cfide.adminapi.runtime); // clear cache myObj.clearTrustedCache(); /cfscript On 10/17/06, Charlie Arehart [EMAIL PROTECTED] wrote: Steven, are you just turning off the trusted cache? Or actually flushing the template cache as well? Show us the Admin API call you're using. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Monday, October 16, 2006 4:41 PM To: ACFUG ColdFusion Discussion Subject: [ACFUG Discuss] cf 7 bug? Anyone using trusted cache and clearing it with the admin API? If so do your CFC's still remain? We are trying to find out if this is a bug or not. Thanks, Steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: RE: RE: RE: [ACFUG Discuss] cf 7 bug?
Ok I gotcha, thanks Charlie. I'm not sure why this is happening to them. I can ask about a SVN issue but, I don't think that is what is going on. My original question was concerning code not showing up on an existing server after they use the admin api to clear the trusted cache. Ie: they put new code into prod, clear the cache and only the cfm files are reloaded not the cfc's. A co-worker tested this on his windows box and therein might lie the problem. This site is running on Solaris in production. I thought by what you said that the clearing of the trusted cache will only remove the cfm files and not the cfc's? I will ask about the class files being saved. This isn't something they can really fiddle with in production since the 9 machine cluster is serving some serious traffic. -Steven On 10/17/06, Charlie Arehart [EMAIL PROTECTED] wrote: Well, I want to be clear: you say they don't want to restart the server, but I assume you mean when it comes time to push new code. That's not what I was referring to when I talked about restarting the server. I was referring just to a one-time turning off of the save class files option. And even then, I realize that there are good reasons for it to be enabled in production. I was just proposing it as a work-around for the problem you were hitting. But then you also mention that your guy is proposing using the precompiled templates option. That will then require use of the class files. As for his assertion that someone restarted the server whenever they did a push, that seems pretty harsh. With the new admin API ability to clear the template cache, it would seem no longer required. (And since doing that didn't solve your problem, I'd say that those are different points of concern.) In fact, since you're using CF 7, you may want to investigate this useful article from Adobe on causing uploaded files to auto-trigger a cache flush: http://www.adobe.com/devnet/coldfusion/articles/cacheclear.html But is your original point (about a changed CFC not showing up in a request) related to deployment of code to a new server? If so, then I recommend again that you consider the point I'd raised (about the possibility that the file date on the uploaded server is newer than the file date of the file being uploaded, as can happen if you use source control and roll back to an earlier version on your dev/staging server.) Hope that's all helpful. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Tuesday, October 17, 2006 1:50 PM To: discussion@acfug.org Subject: Re: RE: RE: [ACFUG Discuss] cf 7 bug? Yeah the point was that they didn't want to restart the server. I found this article regarding how MM (I mean Adobe) handles deployment of new code into their cluster and it gives a good tip on speeding up some of the initial compilation: (sorry dont have the url) Given both Simon's and Bob's comments, I got curious as to how our web team manages deployments to the Adobe website. Vijay Shah, who used to work on the CF engineering team, manages the group here. This is what he had to say: The Adobe site is run on a cluster of servers, all of which have the trusted cache switch turned on. Every time a new version of the site is to be deployed, the servers are brought down one at a time, the new set of precompiled templates pushed in, and then restarted. Note that the web team pushes out precompiled templates to the production servers. This is another technique that you could adopt if you want to save the one-time cost of compilation in production environments. This is especially important for servers that function under high loads - when a server is restarted and brought back into the cluster it will brought under load very suddenly. The cost of simultaneously having to compile a large number of different templates due to sudden load could bring a server to its knees! In case you're wondering how to precompile templates, see the documentation for cfcompile here. On 10/17/06, Charlie Arehart [EMAIL PROTECTED] wrote: Ok, yes, that is clearing the cache. (There is also an available API call to turn the trusted cache on and off, which would be different.) Indeed, the name of this method is a misnomer: it doesn't clear the trusted cache but instead just clears the template cache. The trusted option simply controls whether CF should look for newly updated files before loading them if it already has them in the cache. All that said, what's the problem you're experiencing? Is it that you change CFCs and reload, but don't see them? That may instead be caused by problems in the underlying Java class files. If you want to confirm it, turn off the save class files option in the Admin, and restart CF (to be safe), then request your file. Now, that alone may cause it to pick up the changed files, but you want to go a step further and change the CFC again and reload
Re: RE: RE: RE: RE: [ACFUG Discuss] cf 7 bug?
Thanks for the info, I think it is an environment issue... as it is working as expected on my local box and from another's windows workstation. I'll check the path variable to see if that can help me out. On 10/17/06, Charlie Arehart [EMAIL PROTECTED] wrote: You ask: I thought by what you said that the clearing of the trusted cache will only remove the cfm files and not the cfc's? Well, I don't think imply any difference in the handling of CFCs vs CFM files regarding the trusted cache, but if that's how you read it, no there's no difference. That said, though it's certainly true that if the CFCs instances are stored in shared variable scopes (session, application), then that would explain them not being picked up. Here's another possibility: the CFC may be being picked up from somewhere other than where you expect. Recall that CFCs are called using an order of searching which (I think) is the local directory, the web root, any mapped (CF Admin mappings) directories, the customtags directory, and any added custom tags directories. If it finds one earlier in that search order, that would keep it seeing the one you may be changing. Just a thought. Check the path variable returned in the structure when you call getmetadata() against the CFC instance, to know for sure. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross Sent: Tuesday, October 17, 2006 4:23 PM To: discussion@acfug.org Subject: Re: RE: RE: RE: [ACFUG Discuss] cf 7 bug? Ok I gotcha, thanks Charlie. I'm not sure why this is happening to them. I can ask about a SVN issue but, I don't think that is what is going on. My original question was concerning code not showing up on an existing server after they use the admin api to clear the trusted cache. Ie: they put new code into prod, clear the cache and only the cfm files are reloaded not the cfc's. A co-worker tested this on his windows box and therein might lie the problem. This site is running on Solaris in production. I thought by what you said that the clearing of the trusted cache will only remove the cfm files and not the cfc's? I will ask about the class files being saved. This isn't something they can really fiddle with in production since the 9 machine cluster is serving some serious traffic. -Steven - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] cf 7 bug?
Anyone using trusted cache and clearing it with the admin API? If so do your CFC's still remain? We are trying to find out if this is a bug or not. Thanks, Steven -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] css - a little off topic
-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: Re: [ACFUG Discuss] css - a little off topic
I didn't mean to insinuate that IE 7 is coming out so eveyone will upgrade... i was just making the point that if you intend to future proof your css build for the standard and work backwards because eventually the non compliant browsers will die off and (hopefully) the compliant ones will take over. If you do it the other way around you are just going to end up fixing it later. On 10/4/06, allen [EMAIL PROTECTED] wrote: IE6 won't be going anywhere for a long time - do you really think corporate america will upgrade the minute 7 is final? Who is running win2k in 2006? :) - Original Message From: Steven Ross [EMAIL PROTECTED] To: discussion@acfug.org Sent: Wednesday, October 4, 2006 8:55:55 AM Subject: Re: Re: [ACFUG Discuss] css - a little off topic Yeah i follow this same track... easier for me to get it right (epecially since ie 6 will go away at some point) and support the standards then hack backwards to get IE compatibility. On 10/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yes, when it comes to CSS, IE stinks. You can write relatively standard code in Firefox (heck even Safari), and standards are good. But since the majority of people choose IE, you then have to come up with fixes. Probably more time consuming, but I start in FF, to get more standard oriented code. Then I go to IE to make things work there. Usually cursing how bad it's standards support is. Bias, no. mcg allen [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/03/2006 04:55 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject Re: [ACFUG Discuss] css - a little off topic Dan - I have to disagree with you :) As someone who has been doing html since it started, my advice is always to either: a. work in IE because if you get it right there, you can get it right anywhere b. check both at the same time. Checking Firefox only will cause more time/work on you in the long run. Of course, as my first professor said, there are 1,000 ways to utica. :) Also, technically to save a line of code - you could bring the margin-left and right into one line of code. And you could also do: margin: top right bottom left so a typical default is: margin: 0 auto auto auto -- Allen http://www.htmlcenter.com http://www.centernetworks.com - Original Message From: Dan Kaufman [EMAIL PROTECTED] To: discussion@acfug.org Sent: Tuesday, October 3, 2006 4:51:48 PM Subject: RE: [ACFUG Discuss] css - a little off topic Dusty, Mary Catherine is right about adding to the CSS definition text-align: center; (I was a little too quick in my reply) #MyDiv { margin-left: auto; margin-right: auto; } Body { text-align: center; } In general remember Google is your friend. Just Google for CSS Center Next, remember you can always View/Page Source for any web page. You see a site that uses CSS, view the page source, if the style sheet is linked just copy the path, it will be in the head section, paste this back into your browser and you'll be looking at their CSS for that page/site. Study it to see how they positioned and styled elements, etc. The biggest headache you'll have is with IE. The problem here is IE often follows its own rules and not strict W3C guidelines. So you'll do a page, developing with IE and think GREAT it works, only to see the site with Netscape or Firefox and it has blown up. This has been my personal nemesis. Until I SWITCHED TO FIREFOX. It really is a better browser. Now I develop my CSS using Firefox and then tweak it to work with IE's quirks. Good luck, Dan Kaufman From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 1:12 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] css - a little off topic I believe that you have to use margin: auto (or at least right and left) for it to play nice in IE. You may also have to put a container around your div with text-align:center. Or you can add that to your BODY tag. (I'm a little rusty on this myself) mcg Dusty Hale [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/03/2006 03:59 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject [ACFUG Discuss] css - a little off topic Does anyone know how to center a div using css? I should know this and maybe just forgot. Google search only produces reference to the text-align property. I want to center the box on the page not the content inside the box. For example div id=mydiv Hello World /div --- /* css code */ #mydiv { What goes here to make the div box centered on the page. } Many thanks, Dusty - To unsubscribe from this list, manage your
Re: Re: Re: [ACFUG Discuss] Client? Session?
Yeah same here and where is the info that says a CFC can't access the client scope? On 10/2/06, Teddy Payne [EMAIL PROTECTED] wrote: I am curious as well. The example of not storing being being able to effectively store a value or service object is a limitation to be sure, but even then that can be worked around with a facade. Teddy On 10/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just out of curiosity, why would you say Don't use the Client scope!? Thanks, Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeremy Allen Sent: Saturday, September 30, 2006 12:30 AM To: discussion@acfug.org Subject: Re: Re: [ACFUG Discuss] Client? Session? Don't use the Client scope! There are only a few reasons to use Client scope and I would still think long and hard about it after having maintained an application that was almost purely Client scope for user state. I think you should avoid the client scope unless you have a real and hard requirement that you absolutely can't lose session data in the event of a server failure. I admit, it is kind of nice to still have all of your user sessions when you restart CF and that benefited our applications in some cases. However, I still don't think the benefits for Client scope are not worth it. Sticky sessions are OK in a load balanced situation. You may get some uneven clumping of clients in some cases, but in reality it turns out not to be a big deal. Playing with WDDX and the overheads involved in that and the pain of keeping track of the serialization state of your data just isn't worth it. You can't even serialize a CFC with WDDX, but they will happily live in the session scope. If you do use client scope make sure you abstract it with a good layer around it so that what scope you use is transparent to your application so that you can change it in the future without your application noticing. Look to the Facade design pattern for that. Jeremy On 9/27/06, Teddy Payne [EMAIL PROTECTED] wrote: Allen made a good point about WDDX. I tend to overlook CFWDDX. cfwddx action = cfml2wddx input = #session# output=client.foo cfdump var=#client.foo# can dump your session into foo variable stored into the client scope. Your result in the DB would look similar to: foo=wddxPacket version#='1.0'header/datastruct type#=' coldfusion.runtime.MemorySessionScope'var name#='cftoken'string88107569/string/varvar name#='urltoken'stringCFID#=7101amp;CFTOKEN#=88107569/string/varvar name#='cfid'string7101/string/varvar name#='sessionid'stringTESTAPP_7101_88107569/string/var/struct/data/wddxPacket# Teddy On 9/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just as an aside - you can still store complex structures in client variables but you'll have to wddx them into a string and then store them into the client variable. Also, if you do this and you have your client variables stored in the database, you'll want to make sure your datasource is enabled to retrieve BLOB's without the 64k limit. One other thing, if you're running on MX in JRUN configuration (not standalone), you can share the sessions between servers (if I remember right). J2EE has clustering built in and I believe it supports the equivalent of a session state server. Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 9:22 AM To: discussion@acfug.org Subject: Re: Re: [ACFUG Discuss] Client? Session? In general it seems to me that the rule is that once a user is on a server, they are on the same server. Define complex data. I potentially see structures and possibly an occasional object in the shared scope, but honestly I don't know yet. We don't officially have any code written. mcg Steven Ross [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/26/2006 08:04 PM Please respond to discussion@acfug.org [EMAIL PROTECTED] cc SubjectRe: Re: [ACFUG Discuss] Client? Session? Yeah it depends on how you want your requests routed... it is my understanding that if you want the machines to round robin each request then you need to do client variables, if you don't care and you just want users to stay on one server then you can use sessions. On 9/26/06, Teddy Payne [EMAIL PROTECTED] wrote: Are you looking to store complex data in your shared scope? If so, you need some sort of sticky session solution. If you are looking to store simple data, using the datasource option of client variable storeage would make it easier to switch over between servers. Teddy On 9/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm a little confused as to what scope of variables to use in our situation. We have a primary server and a 'backup' server in case
Re: RE: [ACFUG Discuss] New user question
Can you get CF to connect to sqlite? I've seen some folks do this with rails but, it has a built in webserver so that definately opens up a whole realm of possibilities... http://www.sqlite.org/ On 10/2/06, John Mason [EMAIL PROTECTED] wrote: Yep, honestly that is not a good excuse. Well we looked around and couldn't find anything...basically they were being lazy. What about now? Is Camden's not good enough? I sometimes wonder what people are thinking. If that excuse flew at Adobe then franky that's pretty sad. John From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Monday, October 02, 2006 1:33 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] New user question heehee. There was a thread on this a bit back on teh flexcoders list. IIRC, the excuse was that there was no good CF based Wiki software at the time. You'd think from a marketeering perspective, they would have whipped one up eh? DK On 10/2/06, John Mason [EMAIL PROTECTED] wrote: Why Adobe? Why? Why build a wiki using php and not your own product? From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Precia Sent: Monday, October 02, 2006 1:13 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] New user question When is the delivery date? If you have time to consider this, look into Adobe's Apollo. Apollo is a cross-OS runtime that allows developers to leverage their existing web development skills (Flash, Flex, HTML, Ajax) to build and deploy desktop RIA's. http://labs.adobe.com/wiki/index.php/Apollo Precia On 10/2/06, Max Immelman [EMAIL PROTECTED] wrote: All, Just joined the user group today. I have been a CF developer since 2000. I need to find out if anyone had built or knows how to build an online/offline application. Something like a thin client that the user installs. When working offline the data is saved locally and then synced when the user is online again. Thanks! -Max - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - nN?ry???j???j - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] regex / quotedvaluelist question
Trying to find out if this is possible using regex? Would I need to use backreferences to accomplish this? I'd like to search the following string: cfset string = [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] and produce this: '[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' The reason is that i want to use it in an IN clause... I thought i might be able to use QuotedValueList but, looks like that wont work... is that right? -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] Client? Session?
Yeah it depends on how you want your requests routed... it is my understanding that if you want the machines to round robin each request then you need to do client variables, if you don't care and you just want users to stay on one server then you can use sessions. On 9/26/06, Teddy Payne [EMAIL PROTECTED] wrote: Are you looking to store complex data in your shared scope? If so, you need some sort of sticky session solution. If you are looking to store simple data, using the datasource option of client variable storeage would make it easier to switch over between servers. Teddy On 9/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm a little confused as to what scope of variables to use in our situation. We have a primary server and a 'backup' server in case the primary fails. Now that is the current situation. Eventually the backup will be replaced with a better machine and the load will be balanced a little more evenly. Currently the balancing is done via Resonate software (and no one seems to like it). As far as 100% failover, I really don't see that as a necessity, these aren't banking applications. Also these servers don't talk to each other that I know of. TIA Mary-Catherine - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- cf_payne / Blog: http://cfpayne.wordpress.com/ Atlanta CFUG: http://www.acfug.org - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] CF and symlinks
Hi all I'm trying to get my box to follow symlinks... for some reason this is working fine in apache but when you try to hit a coldfusion resource it fails. Anyone dealt with this in apache/coldfusion and have it working? just curious what I'm doing wrong. -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: re[2]: [ACFUG Discuss] Spawning threads in Coldfusion: making my webapp run faster
Isn't the nature of CF synchronous (when it comes to page requests)? So regardless of the order in which you execute these things each one will be executed one at a time on the java stack (FILO - first in last out) think stacking plates on one of those buffet lines - that's the way the java stack behaves It may have the appearance of multi threaded but, I doubt it will speed anything up in reality. It may look faster but, you still have to wait for all those things to finish before you can do anything with them. So multithreaded its not if that is the case. Ive done only a few multithreaded apps (and they were not complex mind you) in java and I'm not sure how CF behaves but when you do this you may create more of a problem for yourself because you are increasing the number of requests per user per page (if multiple users hit this app). Just some things to think about. Here is the link to the java tutorial on threads... might be a little more helpful than the javadoc link above: http://java.sun.com/docs/books/tutorial/essential/concurrency/procthread.html On 9/13/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: I can't speak to the difference between regular frames and iframes, but you got the idea I had. I'm assuming the cfhttp part of CF will attempt to load all those (i)frames at the same time and open up multiple connections. I also assume that much of the wait you're experiencing is due to the remote server processing your request and not your server working hard. Let us know if it worked! /m On 9/8/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: As a low-tech solution, could you write a cfm page with frames that calls other cfm pages in those frames and then cfhttp the top page? /m Intriguing idea... :-) So let's talk about this one... I can create one cfm template that has multiple iframes in it... each iframe would would essentially be a thread I want to spawn, right? Furthermore, each iframe would just be another cfm template, but it has code to go do work (in my case, go find the price of a book), and then save the information to a database. When the page is done loading, all the information will be saved to the database AND, supposedly, this would all run faster because each iframe would be doing its work at the same time as the other iframes. Is the logic correct here? Would the iframes really be doing their work at the same time? (Or should I use traditional frames?) Thoughts? Thanks! -- nathan - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?falogin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: re[2]: [ACFUG Discuss] Tagging example in CF
- -- cf_payne / Blog: http://cfpayne.wordpress.com/ Atlanta CFUG: http://www.acfug.org - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] converting wav files
Hey all, I have a cfc (that is really just a wrapper for java) and it is pulling some data down and writing out a wav file. I'd like to either have coldfusion or java convert that file to an mp3 (or anything else that can be natively played by flash). Anyone know of a solution for this (I've searched the web a bit and haven't come up with much). Thanks -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: Re: [ACFUG Discuss] Establishing an email server
You could always test that theory out by just turning on smtp on your local box and trying to send mail. If you can then you probably wont have to worry about it. On 9/6/06, Dean H. Saxe [EMAIL PROTECTED] wrote: My guess is they do not allow you to deploy your own email server. And firewall rules usually block unsanctioned email servers from making outbound connections... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] Here in America everything is bought and sold, you can get anything for little bits of gold. We'll rape the earth and ruin the air, cut down every tree from here to there. -- Donna The Buffalo America On Sep 6, 2006, at 3:54 PM, [EMAIL PROTECTED] wrote: ** If the failing email server successfully accepts mail from CF but never sends, then CF will have no way of knowing to use the backup server. Thanks, I'll check with the email admin on this one. ed -- Ed Szwedo Web Development Team Lead CSC E-mail: [EMAIL PROTECTED] 919-541-3955 (Voice) 919-541-3719 (Fax) Mischa Uppelschoten ext 10 To Mischa.Uppelsch Web Site discussion@acfug.org [EMAIL PROTECTED]cc m Sent by: Subject [EMAIL PROTECTED] re: [ACFUG Discuss] Establishing an email server 09/06/2006 03:41 PM Please respond to [EMAIL PROTECTED] .org We depend on an email server that is not under our control. More often than we would like, the email server is down, effecting several of our applications that depend on email to complete a user request. The project officer has asked if we can establish our own email server. ** I'm with John, install an SMTP server on the CF server. Depends on your OS as to how/what to install. On a related matter, the ColdFusion administrator allows us to specify backup email servers, which I have done. However, this feature doesn't work, and the email administrator said it probably won't work for reasons that I can't recall. Anyone have experience successfully failing over to a backup mail server? ** If the failing email server successfully accepts mail from CF but never sends, then CF will have no way of knowing to use the backup server. /m ed -- Ed Szwedo Web Development Team Lead CSC E-mail: [EMAIL PROTECTED] 919-541-3955 (Voice) 919-541-3719 (Fax) - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http
Re: Re: [ACFUG Discuss] Speeding up execution time against 2.3 m records
Would that still be the reason for the huge slowdown between php and CF? I would think there would be something else there causing that... just curious. On 9/7/06, Cameron Childress [EMAIL PROTECTED] wrote: On 9/7/06, Cameron Childress [EMAIL PROTECTED] wrote: Does this not accomplish the same thing? Heh - I accidentally deleted what I put here, but it was essentially a subselect. A self join as Dean suggested also might work. The key is just to minimise the data MySQL and CF have to shuttle back and forth and keep any larger datasets inside the MySQL machine. -Cameron - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] jrun and adobe
odd... indeed maybe they are just changing directions with it. On 8/31/06, Douglas Knudsen [EMAIL PROTECTED] wrote: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b8f2bf16pss=rss_jrun_b8f2bf16 I'm not intending to spread FUD on this, but I've never seen a technote like this from the old macromedia. odd. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Feeling a little SPRY
Wow that IS ugly... sorry all I can do is state the obvious.On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:code_snippet source= fekke.com/blogscriptvar dsData = new Spry.Data.XMLDataSet(http://www.fekke.com/com/SpockWS.cfc,/soapenv:Envelope/soapenv:Body/ns1:getQuoteResponse/getQuoteReturn, { method:POST, postData: '?xml version=1.0 encoding=UTF-8standalone=no?SOAP-ENV:Envelopexmlns:SOAP-ENV= http://schemas.xmlsoap.org/soap/envelope/xmlns:apachesoap=http://xml.apache.org/xml-soap xmlns:impl=http://com xmlns:intf=http://comxmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/xmlns:tns1= http://rpc.xml.coldfusionxmlns:wsdl=http://schemas.xmlsoap.org/wsdl/xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/ xmlns:xsd=http://www.w3.org/2001/XMLSchemaxmlns:xsi=http://www.w3.org/2001/XMLSchema-instance SOAP-ENV:Bodymns:getQuote xmlns:mns=http://comSOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ /mns:getQuote/SOAP-ENV:Body/SOAP-ENV:Envelope',headers: { Content-Type: text/xml; charset=utf-8, SOAPAction: http://localhost:8300/com/SpockWS/getQuote } , useCache: false });dsData.startLoadInterval(1);/script/code_snippetThere has to be an easier and prettier way of calling a webservice from spry, any ideas?-To unsubscribe from this list, manage your profile @http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com--- Steven Ross web application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
[ACFUG Discuss] CF 7 on Tomcat
Anyone deployed CF7 on tomcat? I've got it working (at least deployed) but when it comes to serving cfm files they are downloaded instead of processed... im sure its something in tomcat that needs to change but searching the web hasn't turned up much. -- Steven Ross web application interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Dell laptop battery recall
On 8/15/06, John Mason [EMAIL PROTECTED] wrote: Figure I post this since several of us have Dell laptops. Dell is doing a massive recall of laptop batteries. It's the largest recall in consumer electronics history. To see if your affected simply go to following site.. http://www.dellbatteryprogram.com Apparently, it's a batch of batteries they received form Sony and made in Japan that are at issue. These batteries have been known to catch on fire without warning which is a quick way to lose a laptop.And ruin your furnature http://www.engadget.com/2006/07/31/dell-laptop-number-3-explodes/ Or cause a fire:http://www.theinquirer.net/default.aspx?article=32550 John [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 7:25 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] RE: XML Formatting in CF5 question Yeah, I tried that one first but it didn't work...I'm guessing the way the data was stored in unicode wasn't compatible with the utf 8. When I googled the invalid character reference, Microsoft actually suggests (it was the first link by the way) to use the iso 8859. The web is a never-ending learning process! Thanks John, Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John Mason Sent: Tuesday, August 15, 2006 12:07 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] RE: XML Formatting in CF5 question Yep, actually UTF-8 is the way to go here. The group that supported the older 8859-1 (Latin-1) group has move on. The UTF standards are the newer and more accepted encoding standard. http://en.wikipedia.org/wiki/ISO-8859-1 John [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Steven Ross Sent: Monday, August 14, 2006 4:32 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] RE: XML Formatting in CF5 question why not use utf-8? guess it depends on your input forms On 8/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Quick update - just in case anyone else ever runs into this problem. Again, just to restate quickly - say you have a German name with the double dots over the u or you have a spanish name with the ~ over the n or something like that, it was breaking my xml. To fix it I just needed to put this declaration at the top of the xml document: ?xml version=1.0 encoding=iso-8859-1 ? Allen -Original Message- From: Underwood Allen (WJJ1AXU) Sent: Monday, August 14, 2006 12:32 PM To: 'discussion@acfug.org' Subject: XML Formatting in CF5 question Hello everyone, I've got an aggravating situation. We're using CF5 and I'm doing some AJAX interfaces. My problem is, we have international users that have unicode characters such as o acutes and various other flavors of invalid xml characters...Do any of you know of a way either in XML or in CF5 to escape the characters that will cause the XML to be invalid? Also, so you know, the values that are causing problems are attributes and not text values in-between the tags...for instance: person fName=invalidCharacterShowsUpHere / CDATA won't solve my problem and I'm running out of ideas. Any help would be awesome! Thanks, Allen - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink
Re: [ACFUG Discuss] RE: XML Formatting in CF5 question
why not use utf-8? guess it depends on your input formsOn 8/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Quick update - just in case anyone else ever runs into this problem. Again, just to restate quickly - say you have a German name with the double dots over the u or you have a spanish name with the ~ over the n or something like that, it was breaking my xml. To fix it I just needed to put this declaration at the top of the xml document: ?xml version=1.0 encoding=iso-8859-1 ? Allen -Original Message-From: Underwood Allen (WJJ1AXU) Sent: Monday, August 14, 2006 12:32 PMTo: 'discussion@acfug.org'Subject: XML Formatting in CF5 question Hello everyone, I've got an aggravating situation. We're using CF5 and I'm doing some AJAX interfaces. My problem is, we have international users that have unicode characters such as o acutes and various other flavors of invalid xml characters...Do any of you know of a way either in XML or in CF5 to escape the characters that will cause the XML to be invalid? Also, so you know, the values that are causing problems are attributes and not text values in-between the tags...for instance: person fName=invalidCharacterShowsUpHere / CDATA won't solve my problem and I'm running out of ideas. Any help would be awesome! Thanks, Allen - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Verity and Blobs
hmm.. I'm not sure on that one... in my experience with verity I didn't choose that direction. I just stored the files outside of the web docroot and indexed them normally. I have an aversion to storing files in the db... I would think it would slow verity down a bit pulling all that data from the db. If Verity can't index files that are stored in the db you may have to end up writing a query to dump all the data to the file system and then run your indexer (now that would be painstaking). The livedocs don't really reveal an answer to you question. http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=1303.htmOn 8/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: We are looking at potentially storing files in the database. I'm not a big fan of that, but it's a possibility. Can Verity index files if they are in the database? Thanks, mcg - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: re[2]: [ACFUG Discuss] Regex help
http://www.amazon.com/gp/product/0672325667/002-0166281-3017656?v=glancen=283155 On 8/10/06, Steven Ross [EMAIL PROTECTED] wrote: I liked the sams teach yourself regex book written by ben forta. Basic primer and good examples.On 8/10/06, West, Jason [EMAIL PROTECTED] wrote: OT: Can you all suggest a good book that would give a better understanding on regular _expression_ programming? Thanks JLW From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Teddy Payne Sent: Monday, August 07, 2006 15:52 To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application. Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the cfqueryparam or cfprocparam tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. Cheers On 8/7/06, Dean H. Saxe [EMAIL PROTECTED] wrote: Say you want to find your string and its 10 to 12 characters in the hexadecimal character set.You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12.Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] If liberty means anything at all, it means the right to tell people what they do not want to hear. -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: Thanks! The piece that I was missing was the not (^) :) Dean, this _expression_ rereplace(mystring, [^A-F0-9], , all) filters out all the unwanted characters. What does {min},{max} do? Mischa. actually he would need this: rereplace(string, [^a-fA-F0-9], , all); On 8/7/06, Dean H. Saxe [EMAIL PROTECTED] wrote: rereplace(string, [^A-F0-9], , all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] If liberty means anything at all, it means the right to tell people what they do not want to hear. -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: I can figure out how to remove a number of disallowed characters from a string, but what if I want to include only a-f and 0-9 and discard everything else? so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing if a user supplies E97152C6CF1DD198DE9;hackcode; it is supposed to return: E97152C6CF1DD198DE9accde Is that possible with a single regex? Or will I have to cycle through the string, and replace every character that doesn't match [a-f]|[0-9] with nothing? Thanks! Mischa, - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat
Re: [ACFUG Discuss] Change Management Options Debate.
Not sure, it is command line on linux... that much i know.. course the only command you need to know is create and the rest is managed through something like TortoiseSVNOn 8/8/06, Robert Reil [EMAIL PROTECTED] wrote: U was going to put this on the Win Dev Server. What work arounds will I encounter? I can see already that I will probably have to load Apache to use this. Is this a command line only tool? No GUI? Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw , Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com From: Steven Ross [mailto: [EMAIL PROTECTED]] Sent: Tuesday, August 08, 2006 2:32 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Change Management Options Debate. I posted a blog entry about setting up a fedora box and getting SVN going: easy stuff... course now I'm liking ubuntu, but the basic commands stay the same (except you use apt instead of yum) and some config files are in different places. http://www.zerium.com/zerium/index.cfm?mode=entryentry=63467E64-E1E5-119E-19FA55A04B20E4F3 On 8/8/06, Robert Reil [EMAIL PROTECTED] wrote: Doug: You did not hijack my thread. I opened it up for debate and I just stood back and absorbed. It seems that the debate provided a general consensus of SVN. I appreciate the candid banter and absorbed a lot from it. Objective fulfilled! Thanks again. Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw , Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com From: Douglas Knudsen [mailto: [EMAIL PROTECTED]] Sent: Monday, August 07, 2006 8:42 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Change Management Options Debate. thank you Jeremy! As Charlie pointed out, it would be a good blog post to get consumed. Robert, we kind of hijakced your thread, but this is some good fudge for your version control sundae you will be eating! I made a couple in line comments below. I'll add one thing I really hate about CVS, you can't export a module from teh repository to a existing directory where you exported the module previously. CVS will not overwrite files. This forced us to checkout working copies on our prod server. No biggie, we are a intranet only team, but a pain. DK On 8/7/06, Jeremy Allen [EMAIL PROTECTED] wrote: THe points for SVN go like this: Versioning is much more sane and manageable. When I first started using SVN it was much more bearable to me. Your entire codebase can be encapsulated in one SVN version number instead of each file having its own version. When I say version 543 of the codebase with SVN there is no ambiguity about the state of the system when I say that. CVS has no easy concept of referring to the contents of the repository as a whole with a version number. That to me is what makes SVN so much better. We use tags in CVS for this. Works fine, but certainly doesn't tie in with the version of a file. This is a interesting concept. This means a file that was created as teh first file in your tree and never edited for 5 years still has the version listed at the max of all file versions, eh? SVN is easier to manage. This is a personal opinion but my experiences bear this one out. The command line for SVN is much more intuitive. SVN allows for you to delete and rearrange branches. This is HUGE. Deleting folders in CVS is plain not possible. CVSs delete functionality is just lacking in every way. yes, this is a major PITA for sure in CVS. Most clients hide this issue by 'pruning' empty dirs. Directories have revision numbers too. Everything in the system behaves consistently and there are no surprises or differences to deal with with different types of entities in the system as there is with CVS. SVN has no special functionality for branching, merging, or tagging. It is all implemented using the same functionality so how you arrange your repository is up to you. The cost of these operations in SVN is constant O(1) which is great compared to CVS and its slowness with many of these operations, especially on larger codebases. branching and merging is a major PITA, luckily we rarely do it. The team of 10 here usually works on seperate projects. That is all I can remember off the top of my head. I know there are a couple of other good points somewhere in there that favor SVN. Sure a lot of these are small things but add them up and it makes SVN much better to work with. So if you are starting from scratch why bother with CVS? Unless you have very specific interoperability requirements or you are already really experienced with CVS from a management perspective I recommend using SVN. Its not just about solving issues with CVS. The system is also a bit more cohesive overall. And I promise you that with a team of 10
Re: [ACFUG Discuss] interesting issue
I'm with dean, i always put this stuff in the request scope... seems to make more sense.On 7/23/06, Douglas Knudsen [EMAIL PROTECTED] wrote:lock if a race condition is expected, eh? a DSN setting that is never expeced to change on a regular basis wouldn't need a lock. But if other things are being set/read in a shared scope ( frames can be suspect here) locking may need to be used. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18235DKOn 7/23/06, Dean H. Saxe [EMAIL PROTECTED] wrote: Shared scope variables are generally locked.I know this changedwith CFMX and I'm not sure what the latest thinking is.Its beenhabit for so long I can't seem to break it.-dhsDean H. Saxe, CISSP, CEH [EMAIL PROTECTED]To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the Americanpublic. -- Theodore RooseveltOn Jul 23, 2006, at 6:29 PM, Dusty Hale wrote: Why would an application scope variable need to be locked (it never changes)? I was always under the assumption that only session scope variables need to be locked. I could have this wrong but I thought as a best practice, persistent variables values that never change (like a datasource name) should be application scope and persistent variables that do change (like specific user info) should be client or session scope (client scope preferred) and that only session scope variables need locks. Do you recommend also locking client scope? These are best practices I learned years ago with Hal Helms but it has been a while and could be a little fuzzy in my head ... Dusty -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dean H. Saxe Sent: Sunday, July 23, 2006 5:58 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Which would lead you to lock it... the REQUEST scope is fine for this sort of data. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public.-- Theodore Roosevelt On Jul 23, 2006, at 5:02 PM, Dusty Hale wrote: Now that I think of it since things like datasource names don't change at all ever, I should probably be using the application scope . Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Teddy Payne Sent: Sunday, July 23, 2006 4:45 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Dusty, IFrames are buggy to begin with.In the past to overcome this, I used a more persistent scope like CLIENT or SESSION scope to persist into the IFRAME. I remember something to the effect that the loading page will get the request scope, but the IFrame is created by the browser, so that is the client browser creating the request and not the application. Teddy On 7/23/06, Dusty Hale [EMAIL PROTECTED] wrote: Yes I only have one application.cfm in the webroot and the page that is in the frame is also in the webroot. Strang one ... ??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Mason Sent: Sunday, July 23, 2006 2:28 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] interesting issue Is the page that is in the frame on the same directory or sub directory of the application.cfm? Do you have any other application.cfm's floating around? John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dusty Hale Sent: Sunday, July 23, 2006 12:33 PM To: discussion@acfug.org Subject: [ACFUG Discuss] interesting issue I ran into something interesting and wondered if anyone had any insight on it. I have noticed that variables set in application.cfm, in this case in the request scope, do not work when pages are in an iFrame. For example (request variables are set in application.cfm): CFQUERY datasource=#request.dsnName# username=#request.dsnUser# password=#request.dsnPass#name=tracks SELECT * FROM myTable ORDER BY datestamp DESC /CFQUERY This query runs fine on its own and the datasource, user, pass are set up in the application.cfm file. However, if I use this same query on a page that calls the page it is in from an iFrame as in: iframe src="" width=133 height=320 scrolling=Auto frameborder=0/ iframe, it won't run and throws an error: [Macromedia][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object 'myTable', database 'myDataBase', owner 'dbo'. When I hard code the datasource, username, password into the cfquery tag instead of using the variables set in application.cfm, it then runs fine in the iFrame tag. This is a band aid I guess but it would be nice to understand why it is really happening. Anyone have any insight? Dusty - To
Re: [ACFUG Discuss] interesting issue
sorry useless point, have you tried getting any variable from the request scope in your iframe?On 7/24/06, Steven Ross [EMAIL PROTECTED] wrote:I'm with dean, i always put this stuff in the request scope... seems to make more sense. On 7/23/06, Douglas Knudsen [EMAIL PROTECTED] wrote:lock if a race condition is expected, eh? a DSN setting that is never expeced to change on a regular basis wouldn't need a lock. But if other things are being set/read in a shared scope ( frames can be suspect here) locking may need to be used. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18235DKOn 7/23/06, Dean H. Saxe [EMAIL PROTECTED] wrote: Shared scope variables are generally locked.I know this changedwith CFMX and I'm not sure what the latest thinking is.Its beenhabit for so long I can't seem to break it.-dhsDean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the Americanpublic. -- Theodore RooseveltOn Jul 23, 2006, at 6:29 PM, Dusty Hale wrote: Why would an application scope variable need to be locked (it never changes)? I was always under the assumption that only session scope variables need to be locked. I could have this wrong but I thought as a best practice, persistent variables values that never change (like a datasource name) should be application scope and persistent variables that do change (like specific user info) should be client or session scope (client scope preferred) and that only session scope variables need locks. Do you recommend also locking client scope? These are best practices I learned years ago with Hal Helms but it has been a while and could be a little fuzzy in my head ... Dusty -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dean H. Saxe Sent: Sunday, July 23, 2006 5:58 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Which would lead you to lock it... the REQUEST scope is fine for this sort of data. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public.-- Theodore Roosevelt On Jul 23, 2006, at 5:02 PM, Dusty Hale wrote: Now that I think of it since things like datasource names don't change at all ever, I should probably be using the application scope . Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Teddy Payne Sent: Sunday, July 23, 2006 4:45 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Dusty, IFrames are buggy to begin with.In the past to overcome this, I used a more persistent scope like CLIENT or SESSION scope to persist into the IFRAME. I remember something to the effect that the loading page will get the request scope, but the IFrame is created by the browser, so that is the client browser creating the request and not the application. Teddy On 7/23/06, Dusty Hale [EMAIL PROTECTED] wrote: Yes I only have one application.cfm in the webroot and the page that is in the frame is also in the webroot. Strang one ... ??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Mason Sent: Sunday, July 23, 2006 2:28 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] interesting issue Is the page that is in the frame on the same directory or sub directory of the application.cfm? Do you have any other application.cfm's floating around? John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dusty Hale Sent: Sunday, July 23, 2006 12:33 PM To: discussion@acfug.org Subject: [ACFUG Discuss] interesting issue I ran into something interesting and wondered if anyone had any insight on it. I have noticed that variables set in application.cfm, in this case in the request scope, do not work when pages are in an iFrame. For example (request variables are set in application.cfm): CFQUERY datasource=#request.dsnName# username=#request.dsnUser# password=#request.dsnPass#name=tracks SELECT * FROM myTable ORDER BY datestamp DESC /CFQUERY This query runs fine on its own and the datasource, user, pass are set up in the application.cfm file. However, if I use this same query on a page that calls the page it is in from an iFrame as in: iframe src="" width=133 height=320 scrolling=Auto frameborder=0/ iframe, it won't run and throws an error: [Macromedia][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object 'myTable', database 'myDataBase', owner 'dbo'. When I hard code the datasource, username, password into the cfquery tag instead of using the variables set in application.cfm, it then runs fine in the iFrame tag. This is a
Re: [ACFUG Discuss] interesting issue
I just tested creating a dummy query in my application cfm and dumping it in my iframe and it worked fine...On 7/24/06, Steven Ross [EMAIL PROTECTED] wrote:sorry useless point, have you tried getting any variable from the request scope in your iframe? On 7/24/06, Steven Ross [EMAIL PROTECTED] wrote:I'm with dean, i always put this stuff in the request scope... seems to make more sense. On 7/23/06, Douglas Knudsen [EMAIL PROTECTED] wrote:lock if a race condition is expected, eh? a DSN setting that is never expeced to change on a regular basis wouldn't need a lock. But if other things are being set/read in a shared scope ( frames can be suspect here) locking may need to be used. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18235DKOn 7/23/06, Dean H. Saxe [EMAIL PROTECTED] wrote: Shared scope variables are generally locked.I know this changedwith CFMX and I'm not sure what the latest thinking is.Its beenhabit for so long I can't seem to break it.-dhsDean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the Americanpublic. -- Theodore RooseveltOn Jul 23, 2006, at 6:29 PM, Dusty Hale wrote: Why would an application scope variable need to be locked (it never changes)? I was always under the assumption that only session scope variables need to be locked. I could have this wrong but I thought as a best practice, persistent variables values that never change (like a datasource name) should be application scope and persistent variables that do change (like specific user info) should be client or session scope (client scope preferred) and that only session scope variables need locks. Do you recommend also locking client scope? These are best practices I learned years ago with Hal Helms but it has been a while and could be a little fuzzy in my head ... Dusty -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dean H. Saxe Sent: Sunday, July 23, 2006 5:58 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Which would lead you to lock it... the REQUEST scope is fine for this sort of data. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public.-- Theodore Roosevelt On Jul 23, 2006, at 5:02 PM, Dusty Hale wrote: Now that I think of it since things like datasource names don't change at all ever, I should probably be using the application scope . Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Teddy Payne Sent: Sunday, July 23, 2006 4:45 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Dusty, IFrames are buggy to begin with.In the past to overcome this, I used a more persistent scope like CLIENT or SESSION scope to persist into the IFRAME. I remember something to the effect that the loading page will get the request scope, but the IFrame is created by the browser, so that is the client browser creating the request and not the application. Teddy On 7/23/06, Dusty Hale [EMAIL PROTECTED] wrote: Yes I only have one application.cfm in the webroot and the page that is in the frame is also in the webroot. Strang one ... ??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Mason Sent: Sunday, July 23, 2006 2:28 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] interesting issue Is the page that is in the frame on the same directory or sub directory of the application.cfm? Do you have any other application.cfm's floating around? John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dusty Hale Sent: Sunday, July 23, 2006 12:33 PM To: discussion@acfug.org Subject: [ACFUG Discuss] interesting issue I ran into something interesting and wondered if anyone had any insight on it. I have noticed that variables set in application.cfm, in this case in the request scope, do not work when pages are in an iFrame. For example (request variables are set in application.cfm): CFQUERY datasource=#request.dsnName# username=#request.dsnUser# password=#request.dsnPass#name=tracks SELECT * FROM myTable ORDER BY datestamp DESC /CFQUERY This query runs fine on its own and the datasource, user, pass are set up in the application.cfm file. However, if I use this same query on a page that calls the page it is in from an iFrame as in: iframe src="" width=133 height=320 scrolling=Auto frameborder=0/ iframe, it won't run and throws an error: [Macromedia][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object 'myTable', database 'myDataBase', owner 'dbo'. W
Re: [ACFUG Discuss] interesting issue
Hmm.. i just tried this with basically your same setup... iframe calls a query to SQL server and the DSN is in the application.cfm in the request scope and it works fine. running CF 7,0,1,116466 On 7/24/06, Dusty Hale [EMAIL PROTECTED] wrote: I have no doubt that the problem must lie somewhere else … From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Steven Ross Sent: Monday, July 24, 2006 8:53 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue I just tested creating a dummy query in my application cfm and dumping it in my iframe and it worked fine... On 7/24/06, Steven Ross [EMAIL PROTECTED] wrote: sorry useless point, have you tried getting any variable from the request scope in your iframe? On 7/24/06, Steven Ross [EMAIL PROTECTED] wrote: I'm with dean, i always put this stuff in the request scope... seems to make more sense. On 7/23/06, Douglas Knudsen [EMAIL PROTECTED] wrote: lock if a race condition is expected, eh? a DSN setting that is never expeced to change on a regular basis wouldn't need a lock. But if other things are being set/read in a shared scope ( frames can be suspect here) locking may need to be used. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18235 DK On 7/23/06, Dean H. Saxe [EMAIL PROTECTED] wrote: Shared scope variables are generally locked.I know this changed with CFMX and I'm not sure what the latest thinking is.Its been habit for so long I can't seem to break it. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. -- Theodore Roosevelt On Jul 23, 2006, at 6:29 PM, Dusty Hale wrote: Why would an application scope variable need to be locked (it never changes)? I was always under the assumption that only session scope variables need to be locked. I could have this wrong but I thought as a best practice, persistent variables values that never change (like a datasource name) should be application scope and persistent variables that do change (like specific user info) should be client or session scope (client scope preferred) and that only session scope variables need locks. Do you recommend also locking client scope? These are best practices I learned years ago with Hal Helms but it has been a while and could be a little fuzzy in my head ... Dusty -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dean H. Saxe Sent: Sunday, July 23, 2006 5:58 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Which would lead you to lock it... the REQUEST scope is fine for this sort of data. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. -- Theodore Roosevelt On Jul 23, 2006, at 5:02 PM, Dusty Hale wrote: Now that I think of it since things like datasource names don't change at all ever, I should probably be using the application scope . Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Teddy Payne Sent: Sunday, July 23, 2006 4:45 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] interesting issue Dusty, IFrames are buggy to begin with.In the past to overcome this, I used a more persistent scope like CLIENT or SESSION scope to persist into the IFRAME. I remember something to the effect that the loading page will get the request scope, but the IFrame is created by the browser, so that is the client browser creating the request and not the application. Teddy On 7/23/06, Dusty Hale [EMAIL PROTECTED] wrote: Yes I only have one application.cfm in the webroot and the page that is in the frame is also in the webroot. Strang one ... ??? -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of John Mason Sent: Sunday, July 23, 2006 2:28 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] interesting issue Is the page that is in the frame on the same directory or sub directory of the application.cfm? Do you have any other application.cfm's floating around? John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dusty Hale Sent: Sunday, July 23, 2006 12:33 PM To: discussion@acfug.org Subject: [ACFUG Discuss] interesting issue I ran into something interesting and wondered if anyone had any insight on it. I have noticed that variables set in application.cfm, in this case in the request scope, do not work when pages
Re: [ACFUG Discuss] DW Record set setup struggle
Go into the CF admin and set the RDS password and make sure that feature is on...Security tab RDSOn 7/21/06, Robert Reil [EMAIL PROTECTED] wrote: I am terminaled into the CF server. And I am using DW locally. The wwwroot directory is mapped as the W drive. The 127.0.01 was a typo' I wanted to duplicate the error so I closed CF Admin in the terminal session and reopened it and now it does not error. Probably just a little slow I guess. Anyways if on the DW client and click Application, Databases, or Bindings etc it still is stuck on RDS login. And gives that error. The server name or address could not be resolved. (note I can hit the page in my browser find with that path) Possible reasons: 1. The URL specified for this site's testing server may be incorrect: http://intranet.motorcyclecarbs.com/ 2. The testing server may be incorrectly configured (for example, ColdFusion may not be running). (Note: This is a CF server box) Any ideas? I know CF works as I can browse our site www.motorcyclecarbs.com and see that it works. So I think #2 is not the problem. But I can browse http://intranet.motorcyclecarbs.com/ No problem as well. Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw , Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com From: Douglas Knudsen [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2006 9:19 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] DW Record set setup struggle this on your local PC? No IIS? You are running CF on a different port than 80, probably 8500 or 8300. DK On 7/21/06, Robert Reil [EMAIL PROTECTED] wrote: Thinking further I opened CF Admin on the web server and got this error: 'Cannot find the file 'http://127.0.01/CFIDE/administrator/index.cfm ' (or one of its components). Make sure the path and filename are correct and that all required libraries are available. Checking the local path I do find in the wwwroot directory C:\Inetpub\wwwroot\CFIDE\administrator\index.cfm Hmm... What gives now? FYI I also saw an error in DW with the same path name. Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw , Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com From: Robert Reil [mailto: [EMAIL PROTECTED]] Sent: Friday, July 21, 2006 8:48 AM To: discussion@acfug.org Subject: [ACFUG Discuss] DW Record set setup struggle Im in fortas Construction book trying to set up a Record set as on page 89. Im trying to click Application, Bindings, to associate the database to the site in DW. All I get in any window in the Application sub tabs all have: To use dynamic data on this page: 1. Create a site for this file. (checked) 2. Choose a document type. (checked) 3. Set up the sites's testing server 4. Specify the RDS login information for ColdFusion server. 5. Create a Coldfusion data source. Looks like Im stuck on step 3. Clicking on the link in step 3 opens a Site Definition for (SiteName) dialogue box and wants me to fill our the TESTING SERVER information. That info as far as I can tell is correct. Server model: ColdFusion Access: Local/Network Testing server folder: W:\wwwroot\intranet.motorcyclecarbs.com\ (Our web path in IIS) Refresh remote list auto ON URL Prefix: http://localhost/intranet.motorcyclecarbs.com/ The URL Prefix is the location of the site's root folder on the testing server. I just changed it to http://intranet.motorcyclecarbs.com/ and now #3 check's as done But now I get another error: The server name or address could not be resolved. (note I can hit the page in my browser find with that path) Possible reasons: 1. The URL specified for this site's testing server may be incorrect: http://intranet.motorcyclecarbs.com/ 2. The testing server may be incorrectly configured (for example, ColdFusion may not be running). (note: This is a CF server box) Do I have to tell CF to see this new IIS hosted site I made this AM? How where? Forta says I should be able to click the + sign on the bindings tab and have a GUI called RECORDSET pop up. Any ideas where to figure out whats going on? Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw , Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink
[ACFUG Discuss] flash player 9
came out... today?potential issues:http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4a8d52ae-- Steven Ross web application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] ???...Model Glue, Frame Work Etc...???
A framework is simply a methodology... like someone else stated. Ie: you put all of X type code in X template and Y type code in Y template. Read up on MVC (model view controller) and Model Glue is simply an implementation of the MVC paradigm. http://en.wikipedia.org/wiki/Model-view-controllerOn 6/23/06, Robert Reil [EMAIL PROTECTED] wrote: Analagous to CSS then it would seem...Robert P. ReilManaging Director,Motorcyclecarbs.com, Inc.4292 Country Garden Walk NWKennesaw, Ga. 30152Office 770-974-8851 Fax 770-974-8852www.motorcyclecarbs.com-Original Message-From: Douglas Knudsen [mailto:[EMAIL PROTECTED] ]Sent: Friday, June 23, 2006 11:11 AMTo: discussion@acfug.orgSubject: Re: [ACFUG Discuss] ???...Model Glue, Frame Work Etc...???Well, MS Visual Studio is a develement environment for 'coding'.A framework is more a set of rules, guidelines, and plan-of-attacks tofollow while 'coding'.Consider this analogy.Lets say you are a writer of magazinearticles.The 'framework' in this sense maybe the particular approach you use to format your text, structure your paragraphs, etc.Maybeits a 'block framework' or 'free form framework' or 'The TimesFramework'.Also in this sense, what you type the articles on makesno difference to the framework, you could use a typewriter, pencil, or PC/Mac.DKOn 6/23/06, Robert Reil [EMAIL PROTECTED] wrote: So basically Model Glue is framework software. Frame Work software is basically an environment to build a CF App within that is able to manage jobs etc like MS Visual Studio? I then would not need to even be involved with this technology if I am the sole app developer or am able to micro manage the dev of this app. If I am incorrect please correct me.. NOW THAT'S! A CAN OF WORMS! Lol I sense a long thread today here Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2006 10:20 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] ???...Model Glue, Frame Work Etc...??? wow, what a can of worms!Personally, i'd worry about learning CF first, add frameworks in later.Frameworks are a sort of guide to building a application that a group of folks have a consensus on. Thus developers working on a project that use say ModelGlue can easily use the same vocabulary and if you add a new developer in the mix that knows ModelGlue, then they will already know the vocabulary and seeminlgy join in quicker and easier to the current conversations. DK On 6/23/06, Robert Reil [EMAIL PROTECTED] wrote: I am hearing a lot about Framework. Also Model Glue, and others like the 2 seminette's we had at the last meeting. Question is: What is it all about, will I ever need it, and when would I? Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ---Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? -To unsubscribe from this list, manage your profile @http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com-- To unsubscribe from this list, manage your profile @http://www.acfug.org?fa=login.edituserformFor more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com--- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info,
Re: [ACFUG Discuss] SUSE 10 Coldfusion and Apache
I thought there was just an installer file (or a script to get apache to talk to CF)On 6/19/06, Anthony L. Mathis [EMAIL PROTECTED] wrote: Does anyone have any info on getting Coldfusion to run on SUSE 10 and connecting it to Apache? Thanks, A.Mathis -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Learning Cold Fusion
I read somewhere that the best way to learn is having to do something... ie: your fired if you don't learn coldfusion. Hah, there is some nice learning pressure for you.I would say that the best (and cheapest) way to learn CF (or any programming language) is to read a book and try to build something while having a mentor. This helped a ton when I learned java... course I did also take an online class that sorta forced me to do the material. the great thing about the cf list is that it can definately help you out when you are lost!On 6/17/06, Douglas Knudsen [EMAIL PROTECTED] wrote: I actually had to watch that CBT back in 2000 when I entered the CFworld. 'SkillBuilding With ColdFusion'IIRC was the title.It wasfor 4 or 4.5 version but the basic ideas still apply today.I know Ihave a copy around, but alas those copyright rulez!:)Luckily we have electrity now, so its ok:)I'd concur with others on this.Hands-on experimenting with somebooks on the side is a great approach.If you are dead againstself-teaching look into Fig Leaf for sure. DKOn 6/17/06, Charlie Arehart [EMAIL PROTECTED] wrote: Thank you for that, Dean. I'm especially pleased to hear that I've been of help to you, seeing how much you now give back to the community. And that is indeed the way it ought to be. I was motivated to get into user groups because I learned so much from them, starting in the early 80's in my mainframe career--yes, we had user groups back then, and mailing lists, and even electricity. :-) Seriously, though, that cycle of learning and giving back has been so valuable. As to Jeremy's suggestion in his earlier note regarding SQL books, I would have to counter that Joe Celko's books are definitely more for those who have achieved not just the basics but really is ready to go well beyond that. Certainly great stuff, but like recommending the Gang of Four book as someone's first foray in to Design Patterns (Head First would be a better choice there). Instead, I'd recommend Ben Forta's Teach Yourself SQL in 10 Minutes. If you read the spotlight review at Amazon, mine from 2000, you'll see why I like it so much, and it's in its 3rd edition now. Otherwise, Jeremy makes fine points, as confirmed and added to by Dean and Rick. As for books, you mentioned Ben's CFWACK and it's indeed a classic. You can find discounted copies of that, and The CFMX Bible (done by the Churvises, Hal Helms, and myself), and many other good CF books (like the Oreilly one) online. And don't forget the free manuals that come with CF, and more than just the reference. There's a real user guide to CF, CFML, coding, and more, that's several hundred pages long. You can get it in print and read it online in HTML and PDF. In CFMX 7 the manual's called the ColdFusion MX Developer's Guide, and in 6.1 Developing ColdFusion MX Applications (and something yet again in CF5). It and all the docs are available online in PDF and HTML form (and can even be purchased in print) at http://www.adobe.com/support/documentation/en/coldfusion/documentation.html Don't forget, as well, the example apps that come with CF (an option on installation). They're not paragons of good design, but as has been conveyed in this thread, there's learning to get started, and then there's learning to advance. CF7 in particular has an especially nice flash-based interface to help with its getting started resources. Finally, though it may be old, there was a CD produced by Allaire called the SkillBuilder. I would bet you could find it. There's a more recent version of something similar, a video that does cover CFMX, at: http://www.learnwebdevelopment.com/intro_to_coldfusion_mx.html I've not used either of them but the price for the latter is right to fit in your budget. /charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dean H. Saxe Sent: Saturday, June 17, 2006 4:45 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Learning Cold Fusion I'm with Jeremy on this.I'm a book learner, read a book, implement, read more, implement more.I'm a self-taught programmer, unless you consider taking Pascal in college in 1990 part of my career (I don't).Classes are helpful,but they are expensive.Most classes I see on any technical area of expertise are in the neighborhood of $750 - $1000/8 hour day. That having been said, the best addition to books and trying new things has always been having a mentor to work with.Someone who knows XYZ technology just a bit better than you so you can learn from his or her experience.My first boss, Eric Palmer, was that person for me WRT DB design and SQL.My next boss helped me really get my feet wet with OO and Java.WRT application security, I was on my own for a while but eventually found some people who have helped me grow in that space as well.I've also learned a lot from people in ACFUG over the years too.Cameron Childress, Jeremy Allen (who I'm happy to work with now), Charlie Arehart, Shawn
[ACFUG Discuss] Ajax help
FYI, anyone working with ajax might appreciate this debug tool for firefox: Firebug http://www.joehewitt.com/software/firebug/ It helped me figure out a recent error I was having...-- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Frameworks
Thats what we are going to use for the ACFUG site rebuild... any Model Gluers out there want to jump in? On 6/9/06, Dean H. Saxe [EMAIL PROTECTED] wrote:I *really* like Model Glue. A lot. I used it in HacmeShipping (being released next week from Foundstone) and it took me a few days to get up and running. After that it was easy-squeezy. -dhs Dean H. Saxe, CEH [EMAIL PROTECTED] [U] nconstitutional behavior by the authorities is constrained only by the peoples' willingness to contest them --John Perry BarlowFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On Jun 9, 2006, at 2:02 PM, [EMAIL PROTECTED] wrote: So I have this large, new application we are DESIGNING (yes, actually taking the time to do this) and the question of framework/methodology is starting to come up, since we are working on prototyping aspects of the system. The theory is that we will be running this on CFMX 7; but this isn't set in stone yet (but it would make SO many things easier). I only have FuseBox 3 experience and part of the current app is in FB3 - needless to say it hasn't left the best taste in my mouth. There is one other team member with some MachII FB experience and another member with no framework experience at all. My goal in choice of framework is simple: ease of use and flexibility. Ease of use goes beyond being knee deep in the code, but easy for a newbie to pick up as well. And newbie being team members picking it up to whomever ends up supporting it in the future. I am shooting for this application, once complete, to be able to be supported by a junior level developer (or only a part time senior level developer). Promise I'm not trying to start a flame war on lovely Friday afternoon, just looking for some opinions, articles, etc.Thanks,Mary-Catherine - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com- -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Convert Word to Flash Paper on Linux Coldfusion
Found this at openoffice (probably your best bet) ConverterServlet This servlet shows how to convert arbitrary documents on a remotely running office server. The converted document will be pushed from the web server to the client browser. Please see the README file for further information.On 5/16/06, Leif Wells [EMAIL PROTECTED] wrote: We're actually looking to make it a two part process... finding a way to convert doc, ppt and pdf to html and then using Coldfusion to convert the html to swf. I don't know if that's the best way to proceed, but we don't have access to COM since we are on Linux (unless there is something out there to get around that...) LeifOn 5/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Let me know what you find out about Powerpoint. Word is an HTMLish document I believe, but I haven't gone Word to CF before. But I did find this: http://www.aspose.com, which looked very promising. I asked on the list and no one gave any response really on it. One thought (an interviewee had yesterday!) is to pry open Open Office to see how it does things. mcg Leif Wells [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/16/2006 12:05 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject [ACFUG Discuss] Convert Word to Flash Paper on Linux Coldfusion Can anyone point me to a way to convert Word, Powerpoint and/or Acrobat documents to Flash Paper using Coldfusion? Is there a way to do this? Leif * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * * List hosted by www.fusionlink.com * * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * * List hosted by www.fusionlink.com * - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by www.fusionlink.com - -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by www.fusionlink.com -
Re: [ACFUG Discuss] login app
yeah, i use it as well... never had any issues with it. On 5/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Why don't you care for it? I know that it isn't a wizard type of solution, but it gives you a framework to build on. Shawn Gorrell Web Development Applications Architect Federal Reserve Bank - Atlanta Office (404) 498-8449 Douglas Knudsen [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/11/2006 02:28 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject Re: [ACFUG Discuss] login app I've never been a big fan of cflogin, but here are some tutorials I just found http://www.google.com/search?q=cflogin+tutorialstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official Looks like Ray Camden's Blog software use it, so that would be a good example http://ray.camdenfamily.com/ his other SW uses it too it appears. DK On 5/11/06, Dusty Hale [EMAIL PROTECTED] wrote: Do you by any chance know of a good code example I could follow. The one on livedocs didn't look a very good one. Many thx for the reply. Dusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 11, 2006 1:50 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] login app I like using cflogin. Then you can use roles for CFC permissions and such. Inside of your cflogin you can do whatever you like. Database, LDAP, ActiveDirectory. Whatever meets your business need. Shawn Gorrell Web Development Applications Architect Federal Reserve Bank - Atlanta Office (404) 498-8449 Dusty Hale [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/11/2006 01:37 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject [ACFUG Discuss] login app Hey it has been awhile for me in the CF world. I am building a login module for a client and wanted to know if there are any new and improved techniques. Should I consider using cflogin? The way I used to do it was to build a login form that runs a cf script to query the database for a match and then set permissions into variables. Since it has been I while, I thought I would ask. Dusty * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists *
Re: [ACFUG Discuss] secure file download
use cfcontent to serve the files and put them outside of the docroot of the webserver.On 5/8/06, Dusty Hale [EMAIL PROTECTED] wrote: Not sure if anyone has any advice on this but I am building a site feature that allows users who are logged in to download MP3 files. I am storing MP3 records in an sql server database (title, description, and filename) and the actual MP3 file in their own folder. I want to make sure that users will not be able to short cut to the MP3 files without being logged in. Any advice is greatly appreciated. thx Dusty * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists * -- Steven Rossweb application interface developer http://www.zerium.com[phone] 404-488-4364 * To unsubscribe from this list, manage your profile @ * * http://www.acfug.org?fa=login.edituserform * * * * For more info, see http://www.acfug.org/mailinglists *