October 2006 Web Log Entries

Showing 1 - 15 of 74   < Prev | Next >

GetPageContext.Include() DOES Parse Files And More (Thanks Charlie Arehart)

Posted: October 31, 2006 at 9:01 AM by Ben Nadel

Tags: ColdFusion

I was under the impression that when you included a template via the page context Include() method, the template was simply included as a text file. <!--- Include page without parsing. ---> <cfset GetPageContext().Include( "./include.cfm" ) /> I touched upon this in my entry about reading in files using CFInclude . Charlie Are... read more »

Comments (15)  |  Post Comment  |  Ask Ben  |  Permalink



Skin Spider : Meta Form Data

Posted: October 31, 2006 at 8:11 AM by Ben Nadel

Tags: ColdFusion, Skin Spider

To learn all about Skin Spider, click here . To view the most updated application, click here . To view the current code base, click here . Until now, we only knew one thing about our forms: they were either submitted or they weren't. That might be two things, but I am going to consider it one thing since they both depend on a single value (... read more »

Comments (0)  |  Post Comment  |  Ask Ben  |  Permalink


Ask Ben: Reading In A File Using CFFile And CFInclude

Posted: October 30, 2006 at 6:18 PM by Ben Nadel

Tags: Ask Ben, ColdFusion

I have seen on some message boards people say to use cfinclude to read in files. I use cffile with action="read" to read in files right now. Is there a better way to do it? How can you read in a file using cfinclude? NOTE : Charlie Arehart has pointed out serious flaws in my logic below, regarding GetPageContext().Include(). Please see my othe... read more »

Comments (23)  |  Post Comment  |  Ask Ben  |  Permalink



Skin Spider : Applying The Programmatic Configuration Object

Posted: October 30, 2006 at 9:15 AM by Ben Nadel

Tags: ColdFusion, Skin Spider

To learn all about Skin Spider, click here . To view the most updated application, click here . To view the current code base, click here . In my earlier updates, I created two ColdFusion component configuration objects, Config.cfc and PublicConfig.cfc . After some discussion on the blog, I have decided to go with the private Config.cfc. ... read more »

Comments (3)  |  Post Comment  |  Ask Ben  |  Permalink


This Kitty Is Too Cute!

Posted: October 29, 2006 at 10:34 AM by Ben Nadel

Tags: Life

I haven't been blogging too much lately. The main reason for this is that my girlfriend just got a new Kitty, Isabelle (Izzy for short). She is tooooo cute. But, she's a lot of work. Hopefully, once things get back into more of a schedule I will pick up the blogging a bit more. And, just so you can all see what's keeping me from my computer, here... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Permalink


Project HUGE : Weeks 5 & 6

Posted: October 29, 2006 at 9:31 AM by Ben Nadel

Tags: Health / Fitness, Project HUGE

Sorry for the delay in posting. Over the last two weeks, my girlfriend and I have gotten a little kitten, Izzy, who is freakin' adorable beyond all measure. I have also had to go to several birthday parties including my mother's and my girlfriends. So, needless to say, things have been a bit hectic. Because of the busy schedule I missed the push ... read more »

Comments (8)  |  Post Comment  |  Ask Ben  |  Permalink


Skin Spider : ColdFusion User Defined Function Library Structure

Posted: October 27, 2006 at 8:56 AM by Ben Nadel

Tags: ColdFusion, Skin Spider

To learn all about Skin Spider, click here . To view the most updated application, click here . To view the current code base, click here . This is a very minor update. I prepared the ColdFusion user defined library structure. The library itself, UDFLib.cfc , is broken up into smaller, more cohesive libraries: AJAXLib.cfc ArrayLib.cfc ... read more »

Comments (23)  |  Post Comment  |  Ask Ben  |  Permalink


CFSilent vs. CFContent Reset = True

Posted: October 26, 2006 at 3:26 PM by Ben Nadel

Tags: ColdFusion

Before I learned that ColdFusion could reset the page buffer (either though the CFContent tag or through GetPageContext()) I used the CFSilent tag to cut down all pre-page processing white-space. Then, once I learned about clearing / resetting the page buffer, I started putting that in my header files right before the doctype definition. Right no... read more »

Comments (7)  |  Post Comment  |  Ask Ben  |  Permalink


Perhaps The Most Inspirational Speech Ever

Posted: October 26, 2006 at 11:30 AM by Ben Nadel

Tags: Life

This is Al's speech from the movie Any Given Sunday. If this doesn't inspire you and get you all reved up and give you some possitive thoughts about team-work, you might not be alive. I have this speech on my iPod and will sometimes just listen to it on repeat. Awesome stuff here, awesome stuff! ... read more »

Comments (6)  |  Post Comment  |  Ask Ben  |  Permalink


Generating ColdFusion Class Methods On The Fly In A Wrapper Class

Posted: October 26, 2006 at 9:07 AM by Ben Nadel

Tags: ColdFusion

Yesterday, in my blog entry on programmatic configuration objects , Peter Bell pointed out some cool things you could do if your object instance data variables were private and accessible only via getters and setters. Of the things that he mentioned, one was the use of wrapper classes... at least, I think that's what he was getting at. In any r... read more »

Comments (11)  |  Post Comment  |  Ask Ben  |  Permalink


Newspapers Can't Use Liquid Layouts... But Is It Good For The Web?

Posted: October 25, 2006 at 8:43 AM by Ben Nadel

I've been seeing a lot of Liquid Page Layouts popping up lately. I have to say, I just don't get it. Maybe people just aren't doing it right, but it rarely makes my viewing experience any better. Point of fact, most of the time, I find a liquid page harder to read. Think about newspapers for a second. Do you ever see a newspaper have full-page (ho... read more »

Comments (11)  |  Post Comment  |  Ask Ben  |  Permalink


Confirmed Availability Of Java String Methods In ColdFusion

Posted: October 25, 2006 at 8:16 AM by Ben Nadel

Tags: ColdFusion

For anyone who follows my blog, you know that I LOVE using the underlying Java methods of ColdFusion objects. I had went back and forth with Ben Forta a bit about this, but apparently, Jason Delmore at MAX 2006 has confirmed that this is, in fact, a completely valid way to program in ColdFusion . Freakin' sweet ass sweet! Java and ColdFusion i... read more »

Comments (7)  |  Post Comment  |  Ask Ben  |  Permalink


Skin Spider : A Programmatic Configuration Object

Posted: October 25, 2006 at 7:55 AM by Ben Nadel

Tags: ColdFusion, Skin Spider

To learn all about Skin Spider, click here . To view the most updated application, click here . To view the current code base, click here . For this update, I have created two configuration objects. One of the things that I want to do in this iteration of the application is pull the configuration information out of the Application.cfc (whi... read more »

Comments (22)  |  Post Comment  |  Ask Ben  |  Permalink


ColdFusion Query of Queries Creates BIGINT Values When Hard Coding Integers

Posted: October 24, 2006 at 2:24 PM by Ben Nadel

Tags: ColdFusion

Just a minor thing that I came across today; ColdFusion query of queries defines hard-coded integer values as type BIGINT. While this is a very minor detail, it can cause some issues when performing a UNION as I had to do today (I had join a query to itself in a parent-child relationship query). I had a query that looked like this: <!--- Qu... read more »

Comments (5)  |  Post Comment  |  Ask Ben  |  Permalink


CGI.hot_n_sexy Does Not Throw A ColdFusion Error

Posted: October 24, 2006 at 10:40 AM by Ben Nadel

Tags: ColdFusion

My co-worker was going through some of my code and spotted an error that I had made when using a CGI variable. I had misspelled the key "script_name". The reason that I had not caught it was because ColdFusion did not throw any error. Strange. When I did some more testing on this, it seems that you can basically access any key in CGI and will not ... read more »

Comments (8)  |  Post Comment  |  Ask Ben  |  Permalink

Showing 1 - 15 of 74   Pages: 1 2 3 4 5 < Prev | Next >

September 2006 Entries »

Recent Blog Comments
Nov 22, 2009 at 1:45 AM
Streaming Text Using ColdFusion's CFContent Tag And The Variable Attribute
The reason you would want to do this is to stream. Ack json/xml files to ria clients I used thus technique before because putting json in response stream causes debugging info to come thru As well a ... read »
Nov 21, 2009 at 6:47 PM
Hal Helms - Real World Object Oriented Development, Sarasota - Day Five
@charlie griefer, Thank you.. ... read »
Nov 21, 2009 at 5:15 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jose Galdamez, Oh heh yeah I didn't paste the whole code. I should have defined the vars -- my bad. It's fixed thou. Thanks. ... read »
Nov 21, 2009 at 4:49 PM
Styling The ColdFusion 8 WriteToBrowser CFImage Output
Great work yet again Ben! Whilst I didn't use this whole code, I copied some of your regex code for a similar problem with the lack of an alt attribute and unescaped ampersands in CFIMAGE for Railo 3 ... read »
Nov 21, 2009 at 1:13 PM
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
@Ben, Because I am pedantic, I just want to make sure that everyone knows there is absolutely no encryption going on. There is only encoding and obfuscation. The cfencode tool only obfuscates your C ... read »
Nov 21, 2009 at 12:28 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jody I can't seem to get your code sample to work. If you are still having problems, try this code out and see if it gets you what you wanted. <!--- Comma delimited list with various duplicates ... read »
Nov 21, 2009 at 11:03 AM
Groovy Operator Overloading Does Not Work In The ColdFusion Context
Hi Ben, Thanks for this informative post. Now I am reading ur old posts too ... read »
Nov 21, 2009 at 10:56 AM
HostMySite.com Has The Best ColdFusion Hosting
@Mehul, Yes very nice people, however several downtimes per day which was not acceptable. Hence we had to move out. I am glad you are having good luck with them so far. ... read »