Mike Oliver
Member since Oct 22, 2010
- Profile: /members/7128-mike-oliver.htm
- Comments: 8
Recent Blog Comments By Mike Oliver
-
CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9
Posted on Jun 29, 2011 at 4:59 PM
@Peter, I wasn't really referring to backwards compatibility. I consider maintaining backwards compatibility a separate issue. Adobe should have done one of two things for that: 1) Maintained backwards compatibility by default and provide the option for the new functionality (basically how everyon... read more »
-
CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9
Posted on Jun 29, 2011 at 1:33 PM
I think the bug tracker item came from the idea that page processing is not the same as request processing. Although I didn't know about the bug tracker item, I probably would have voted for it, since it never made sense to me that aborting the page processing would also end the request without fir... read more »
-
Maintaining Key-Case During JSON Serialization In ColdFusion
Posted on Apr 1, 2011 at 3:50 PM
@Ben, I agree with you on the implicit struct notation. It does work though if you put the key name in quotes (like you can do in JavaScript) in CF 9.0. i = 0; foo = { normalTest = "bar", "caseTest" = "jazz", "caseTest_#i#" = "jazz bar" ... read more »
-
What If ColdFusion Recognized More Truthy / Falsey Values
Posted on Mar 25, 2011 at 4:54 PM
@Anna, I think most languages that allow -1 to be true is because for that language, any non-zero numeric value is true. This made me realize that I tend to force the "false <= 0" logic whenever I have a numeric variable that could be negative. I don't think I've ever intentionally l... read more »
-
What If ColdFusion Recognized More Truthy / Falsey Values
Posted on Mar 25, 2011 at 2:59 PM
Very neat idea. @Ben/Lola, Being able to do "<cfif query>" would be handy if query wasn't always a query object. An example being if you declared a variable at the start of a function as 0, but the setting the variable to the value of a query was the result of some if logic (so you... read more »
-
Using CFML Files To Pre-Process CFM Files In ColdFusion
Posted on Dec 27, 2010 at 2:18 PM
I'm also wondering why... I'm not sure what the benefit is of passing in a function anonymously vs defining it with a meaningful name and passing in that variable. I would probably settle for adding the function type for the argument definitions so you can at least define an argument as expecting ... read more »
-
Implementing Javascript Inheritance And Synthesized Accessors With Annotation
Posted on Oct 22, 2010 at 1:48 PM
Ugh, it's too early for me to write proper sentences, sorry about the poor grammar.... read more »
-
Implementing Javascript Inheritance And Synthesized Accessors With Annotation
Posted on Oct 22, 2010 at 1:47 PM
That is superb! I've just been recently started creating JavaScript classes (so I'm still pretty new to it), and that cuts out a lot of work in the long run with the setup of classes. If you wanted to go down the route that ColdFusion did with implicit getters and setters, you could make th... read more »