I swear this is a bug. It has to be a bug because it’s so ridiculous. If it’s not a bug, I hope someone can explain it.
After you finish part 1 and part 2 of logging in using Google’s AuthSub. You’ll find it’s just not enough. Something really weird happens if you attempt to get [...]
Remember that “next” variable that we passed to google in my previous post? That’s the URL that google will send our users to after they go through the approval process on Google.com. They have to do two things, first login to Google.com, then either grant or deny your request to access their google data. If [...]
If you’re using ColdFusion to access BLOBs stored in a Sybase server, you may have a problem. Apparently, Sybase severely limits the timeframe wherein you’re allowed to retrieve the actual binary data, which is supposed to be available until the end of the current transaction. ColdFusion doesn’t pull the backing binary data immediately, and when [...]
The first step of the AuthSub proxy process is very simple. Which is good. It’ll ease you into using the Google API. Below is the first function in my GoogleAuthenticate.cfc file. I’ll publish the full file after I cover the individual functions. Feel free to build the CFC and follow along. Basically all you [...]
I’ve become addicted to Google. The company does some truly wonderful things. Not perfect by any means, but wonderful. Lately I have been playing around quite a bit with the Google calendar API and the Google spreadsheet API. Also…logging into the API, which is important to understand. I’ve written a few CFCs to access all [...]
Let’s jump right to some code.
::CODECOLORER_BLOCK_8::
versus:
::CODECOLORER_BLOCK_9::
They look pretty similar right? Near identical. Neither is really easier or harder to read. Performance wise, I suspect you couldn’t see much of a difference. If you’re thinking to yourself, “Aww geez Steve Nelson is about to go on a week long rampage about something.” You would be [...]
In my new effort to rid my life of global variables, I’ve been focusing on the arguments scope. I think the arguments scope is the key to solving this problem.
With my MVC-CFC framework I find it is easy as pie to live without global variables. In a nutshell, EVERYTHING is passed in through a <cfargument>. [...]
It’s been 10 years since I first heard someone say that global variables are bad news.
To be truthful I didn’t really understand the reason back then. The most common reason not to use global variables is the namespace argument. Basically the problem is that you can accidentally overwrite another variable. Yeah ok, I guess that’s [...]
A few people have asked me if I’ve done anything with my MVC framework that I presented a year ago at the CF Frameworks conference. The short answer. Yes, but very minor.
I admit it. I’m an addict. Mostly it’s the utter simplicity that I love. It takes the power of CFCs with the simplicity of [...]
I was updating an app to take advantage of CF8’s new EXIF reading abilities, and came across an error. When I tried to call imageGetEXIFMetaData() on a certain image, I got a 500 java.lang.StackOverflowError (you can read the complete error in the attached HTML file).
I took a peek at the stack, and found that Adobe [...]