Sunday, May 31, 2009

Coding Cogitations: Converting Cold Fusion to .Net


Well anyone with an ounce of coding will recognise the misnomer title for this post. You convert Cold Fusion to .Net like you convert grass to diamond earings. There are a few steps in the journey from Point A to Point B.

Here's how the game played out:

1. Luckily the backend is SQL Server 2005 so only some minor tweaking required to make use of it in this case. (Hail Mary full of grace)

2. Run a code generator over the Database to create my Data Access Layer. Luckily the previous developer (God bless his soul) broke up his Cold Fusion into seperate pages for the various data access methods. This gives me a great set of code to run a parser through to recreate the calls in my extended DAL

3. He also created seperate pages for the various business requirements though one for every single method, but god bless his little cotton socks his incode comments left nothing to assumption.

4. The GUI was pulled apart in no time. Carved into a variety of objects and recreated with Master pages.

This all seems pretty straight forward Jayson I hear you say. It was! So why blog about it? Because the real message here is that great coding in the first instance on any project makes updates, transitions and complete rebuilds a joy to undertake. Thank you previous developer - your spirit now lives on in .Net....

No comments:

Post a Comment