Dan Fredericks
Member since Dec 29, 2009
- Profile: /members/5053-dan-fredericks.htm
- Comments: 11
Recent Blog Comments By Dan Fredericks
-
Object Thinking By David West
Posted on Jun 11, 2013 at 7:33 AM
Sounds like a conference like NCDevCon needs a hands on 2 hour session on OOP...So, time to hit Matt Gifford up and get him there to go through his book in detail, maybe you and many of us would have the ah-ha moment.... read more »
-
Writing My First Unit Tests With MXUnit And ColdFusion
Posted on Jul 11, 2012 at 7:38 AM
Hey Ben, don't forget about he MXUnit google group...the developers that monitor the group are awesome and have helped me a lot with the tests I have tried to create...the code I have to test is crazy so I have needed quite a lot of help, and so far I don't think there has been anything they could ... read more »
-
Writing My First Unit Tests With Jasmine And RequireJS
Posted on Jul 9, 2012 at 7:06 AM
Ben, Don't forget about the ColdFusion Koans...they all use MXUnit to test CF "stuff". It might night be straight up MXUnit testing, but it might give you the basics for MXUnit, and you might learn a thing or 2 in the process :) Some day I might be able to get into the JS testing stuff, b... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 7, 2010 at 7:21 AM
Ben and Ray, Source Control, what is that? You mean when we do some updates on code and we don't want to screw up the working code? Well, we just make a new folder using explorer and copy all the files there and start to work...isn't that good enough :) Trust me, I have done a simple presentation o... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:33 PM
Ok, so I am dumb. I re-read your posting and tried what you said. I read the file, i did a replace with the regex then over wrote the file with the variable. This added the comment code into the file. that really helped me do what I needed. As always you guys are big helps!! Dan... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:25 PM
so, should I put Ben's regex inside a loop, or just by itself? I am reading the file: <cffile action="read" file="c:\coldfusion9\wwwroot\newtest\cfqueryPage.cfm" variable="readThis"> now, should I just use is code after that, or in a loop? Then, how does it actu... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:09 PM
a demo, if it's not too much trouble...i kinda understand, but I am not 100% sure. thanks... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 2:03 PM
Hmmm, since I have not used the insert function before, this should be interesting. so i just do a cffile action=read this will read line by line... when i find my line, i should be able to insert ()into the file not sure how to figure out position... the filewrite it back part not sure about. I g... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 1:51 PM
Ben, Ray and others: the reason I asked about this is I am trying to automate a process we are doing manually now. We have inline queries we are moving to cfc's. I figured if I could find the queries inline, I could add a beginning comment and an ending comment tag which would comment out the query... read more »
-
Reading In File Data Using ColdFusion 8's New File Functions
Posted on Oct 6, 2010 at 1:13 PM
This is great for reading files, but is there a way to write a line of code within the file, not appending to the end? I need to loop over the file and at a certain line, add some text, is this possible?... read more »