Posted on December 18, 2009 at 4:32 PM in
ColdFusion
In my previous entry I discussed the use of comment-based attributes for the new all-script CFCs in CF9 and what it actually takes to make them work as advertised. As Andy Matthews pointed out in a comment on the post, they aren't technically "comments" in a traditional sense, but rather are JavaDoc notations.
After spending a bit of time weighing the arguments both for and against the use of comments as executable code, and playing with using them and not using them, I have conclusively sided with the "comments as executable code are pure evil" group. Why?
[Continue Reading]
Posted on October 22, 2009 at 6:08 PM in
ColdFusion
If you're like me, you absolutely love CF9's new script-based CFCs. I recently re-worked a very simple class and went from 111 lines of code in my old tag-based version down to 66 lines of code in the new all-script version. Nice! But I was having trouble getting comment-based attributes for the component, properties, and functions to actually work.
[Continue Reading]
Posted on October 21, 2009 at 6:57 PM in
ColdFusion
One of the "tricks" I have used for a long time now is to use a mixin with an object. For example, I have a collection of UDFs that are related to date and time manipulation. Certain classes get all or some of these mixed in like so:
[Continue Reading]
Posted on October 18, 2009 at 2:50 PM in
ColdFusion
One of the (many) really nice features of CF9 is the addition of implicit getters and setters for CFCs. While I love having a concrete API, I am learning to love this idea more and more because of the saved keystrokes.
[Continue Reading]
Posted on October 18, 2009 at 2:28 PM in
ColdFusion
In the first post of what I hope turns out to be a series of posts about CF9, I wanted to give a couple of tips on getting CF8 and CF9 running alongside one another. It is really nice to be able to have both running simultaneously.
[Continue Reading]
Posted on October 18, 2009 at 2:22 PM in
ColdFusion
Well, after planning to play with CF9 for a very long time now but unable to find any time to do so, I am now in a situation where I must make time to learn it. As I work my way through the refactoring of an enormous code base to run on CF9, I will try and make a series of posts with any tips, tricks, or gotchas that I run across.
If you are not yet at least playing with CF9, I would encourage you to download the Developer Edition and get to working on it!
Posted on September 22, 2009 at 9:43 PM in
ColdFusion
This is one of those posts that is definitely for my future reference. You know, one that I will hopefully never ever ever ever ever ever ever ever ever ever need, but will probably do the same stupid thing again anyways. Oh well, hopefully it will help someone else, too.
[Continue Reading]
Wow. I have been so busy with things lately that I just realized that I forgot to release the latest version of cfUniForm. Well, that and I finally took a much needed vacation. :-)
This release contains a handful of minor bug fixes and a few new features, most of which are from new contributors to the library! So let's take a quick glance under the hood.
[Continue Reading]
Posted on July 9, 2009 at 7:28 PM in
ColdFusion, Transfer
The purpose of this post is primarily to assist me in remembering this little tidbit, but hopefully it will be of use to someone else as well.
To date (like the pun?) I have not had to use NULL dates with Transfer, so I had never encountered this issue. However, today I needed to handle them, and so I wrote a couple of lines in my decorator thinking that would properly take care of everything.
[Continue Reading]
Posted on June 17, 2009 at 7:33 PM in
ColdBox, ColdFusion
Ayep, you read the title right. Quite frankly, it totally sucks that I have been forced to come to that realization, but I suppose in the end, it is better that I realized it before it was too late.
[Continue Reading]
More Entries >>