Creating Base64 images with ColdFusion

I have been working on recreating a website to make it iPhone compliant. In doing this I have been investigating numerous ways to reduce calls to the server. In some demo code I had I saw an image load using a Base64 image. This intrigued me and I investigated this further.

I was able to convert all the navigational images in the site to Base64. This reduced the overall loading call count from 300 to 5. However, the CSS file was much larger. But even still, the overall load time was reduced by over 50%.

There are numerous advantages and disadvantages do using this technique. The first large one is browser support. Since I was targeting the iPhone, this method works fine. However, IE only supports this with v8 and limited support at that. Read more about the pros/cons here.

[More]

CFCMapper Update

CFCMapper is now V1.0! I decided to get it out of beta since I have had no reports of any major bugs or other issues. Go here cfcmapper.riaforge.org to get the latest version.

--Dave

CFC Mapper on RIAForge

I have released my CFC Mapper project on RIAForge. You will find it here: cfcmapper.riaforge.org. This is my first project that I have released to the CF community. Please let me know what you think of it. If you find any issues please email me or report a bug on RIAForge.

Thanks,

--DAVE

New Project "CFCMapper"

I am working on a new project. It was the result of my need to figure out a few things in a different project I was working on.

I have named this project "CFCMApper". Basically it maps out all the dependences between CFCs. The mapper will crawl a directory recursively and find all the CFCs. It will take what it finds and map out other object calls are made from inside the CFCs. IT will then store the results and create a browsable version. You can then see what object calls are being made by a CFC. You will also be able to do the inverse and see what CFCs are calling an specific object.

This is not a replacement for the CFC explorer that ships with ColdFusion. It is merely a tool to see the dependences between objects. The CFC explorer does not examine the code for object calls nor does it create a list of dependences. The CFCMapper does not go into detail about the CFC.

More details to come as I work out all the code. I will be setting up a website for it very soon so stay tuned. The website will allow you to sign-up to get a prerelease version to take it for a test drive. If you want to get an alpha version to play around with send me an email (dave@dkferguson.com) and I'll get it to you.

--Dave