
March 12 2008 by

Andrew Powell
I recently had a situation where I needed functionality to serialize and de-serialize a ColdFusion complex variable. Recalling that CF8 now lets us serialize CFCs using java.io.ObjectOutputStream, I figured it would probably let me serialize other CF data types as well (Array, Struct, etc). It did.
Serialization was only the first part of the process, next I needed a way to de-serialize the data back into ColdFusion data types. The process is fairly straightforward, and is, essentially, a reverse of the serialization process.
I've decided to release the Serializer.cfc on
my google code site. You can find the download link below, or you can access it via SVN.
Find The Code Here
Posted in Java | ColdFusion | General | Google | Adobe | Universal Mind |
0 comments

March 12 2008 by

Andrew Powell
After talking to
Ben Stucki at
360|Flex, I decided that I should create a
Google Code site for my code samples and preso posts. I am currently in the process of moving all my os code and preso samples into this repository for public consumption. Going forward, you will be able to find all my code samples there. It is released under the MIT License, which basically means, it's released "as is" and without warranty. Some things will be posted and never updated again. Other things will be updated and improved. There is no set schedule for projects to be updated, it's just a central point for you to find my code samples.
My Google Code Site
Posted in Java | ColdFusion | Flex | Caching | General | Conferences | BlazeDS | Spry | JMS | ColdSpring | StockQuoter | Google | Spring | Adobe | Universal Mind | Hibernate | Air | Hessian | XML | Speaking |
0 comments

January 16 2008 by

Andrew Powell
Any developer worth their salt will admit that they do not know everything about their trade. Anyone who does is either a fool or delusional. Plain and simple. With this premise in mind, let's proceed.
In the past seven years or so, something wonderful has happened. Developers have really taken to blogging (obviously). This has lead to an unparalleled compendium of knowledge about every development language used today. If you run into an error, or problem that you can't solve, you can turn to a developer's best friend and strongest tool for an answer: Google. If you need a code sample, tutorial, error fix, or bug fix there's a good chance that someone else has already run into it and blogged about it. Just search it.
If someone has not blogged your particular tip or fix, go ahead and add to the compendium and blog it yourself. Only you, the developer who uses this great resource for help can add to it. This is a call to arms to developers to try to blog at least one tip or code trick a month for this year. If you do that, we can keep adding to and expanding this wealth of knowledge we have available on the Internet.
According to Google Analytics, most of my traffic comes via search engines, and to a smaller extent aggregators. This tells me that people are using search engines more and more to help them with their development. We are, as a community, in essence, training each other.
The real kicker to this though is that the other day, I was googling how to do something with Spry and came upon my own blog with the answer. What a kick in the gut that was. I guess it's at the very least, just a bit ironic. I was helping myself with an answer. Go figure.
Posted in ColdFusion | Flex | General | Spry | Google | Adobe | Training |
6 comments