Adobe Solution Partner

January 30, 2008

Google API: Using gSessionId with AuthSub Part 4

Filed under: ColdFusion, Google — Tags: , , , — Steve Nelson @ 5:46 am
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 [...]

January 28, 2008

Google API: Logging in with AuthSub Part 3

Filed under: ColdFusion, Google — Tags: , , , — Steve Nelson @ 8:43 pm
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 [...]

January 25, 2008

ColdFusion, Sybase, and 0-byte BLOBs

Filed under: ColdFusion, Databases — Tags: , , — Daryl Banttari @ 12:36 pm
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 [...]

Google API: Logging in with AuthSub Part 2

Filed under: ColdFusion, Google — Tags: , , , — Steve Nelson @ 8:39 am
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 [...]

January 24, 2008

Google API: The cool way to Login Part 1

Filed under: ColdFusion, Google — Tags: , , , — Steve Nelson @ 8:28 am
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 [...]

January 23, 2008

Evils of Global Variables when Unit Testing

Filed under: ColdFusion, Fusebox — Tags: , , , — Steve Nelson @ 6:53 am
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 [...]

January 22, 2008

Use CFArgument For… Everything

Filed under: ColdFusion, Fusebox — Tags: , , — Steve Nelson @ 9:31 am
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>. [...]

A New Reason to Not use Global Variables

Filed under: ColdFusion — Tags: , , — Steve Nelson @ 5:48 am
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 [...]

January 21, 2008

Steve’s MVC Framework a year later

Filed under: ColdFusion, Fusebox — Tags: , , , — Steve Nelson @ 5:07 pm
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 [...]

October 26, 2007

ColdFusion 8 EXIF error

Filed under: ColdFusion — Tags: — Shannon Hicks @ 6:56 pm
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 [...]
« Newer PostsOlder Posts »

Server Down?

Maximize Web application uptime by drawing upon Webapper's years of experience tuning and stabilizing many of the world's largest ColdFusion Web applications. Contact us today!