ColdFusion Legacy 2 Modernization E-Course Full Summary
13 Steps To CF Modernization In Review
Just as the hobbits left the comfort of the Shire to face greater challenges, you've embarked on a transformation from legacy code to a powerful, modern ColdFusion app.
If you did all the action steps, you have now reached full-on CF Modernization!
Here’s an entire recap that covers all 13 lessons.
1) Untangling Spaghetti Code: Achieving Elven Efficiency
This lesson taught you how to get rid of your spaghetti code. You pulled out code that looks similar and put it into several functions that have new parameters.
2) Crash-Proof ColdFusion: The Shield of Gondor
This lesson tackled the importance of performance monitor tools that help diagnose crashes and pinpoint where the problems lay. You were presented with two options for a performing monitor tool: FusionReactor (our favorite) and Adobe CF PMT.
3) Defeating Bugs: The Council of Elrond's Edicts
This email focused on the significance of having consistent development, test, and production environments, and how automation minimizes bugs and ensures reliable application performance.
You downloaded Docker and began automating your environment setup to avoid manual errors and inconsistencies.
4) Docker Containers: Your Lothlórien Haven
We introduced Docker as a powerful tool for containerizing your environments, ensuring that development, staging, and production settings are perfectly mirrored to eliminate discrepancies.
You applied version control to your Docker configurations and used CommandBox to spin up ColdFusion servers and had another CF dev test it out.
5) Hard-Coded Havoc: The Return of Clean Code
This lesson covered the dangers of hard-coded values. You sought out and listed all hard-coded values and replaced these magic numbers/values with descriptively named variables.
6) Source Control: Guarding Your Code like Gondor
We explored the importance of source control, highlighting how Git and Bitbucket can prevent your code from being lost or overwritten, facilitate bug tracking, and enhance team collaboration.
You downloaded Git or Bitbucket and now have a source control system.
7) Testing with Docker: An Elven Fortress
The importance of a separate testing environment was underscored, highlighting how it helps catch bugs early, ensures your app can perform under pressure, and protects your live environment.
You used Docker and CommandBox to set one up, and you ensured that it is configured identically to your production environment to prevent discrepancies.
8) Secure Your Code: The Andúril of Testing
This lesson outlined the necessity and benefit of incorporating regular security audits into your coding practice. We presented three different tools for you to download: CF lint, Fixinator, and TestBox.
9) CI Tools: Your Fellowship for Integration
This lesson taught you how to automate your CI so you can do it daily and keep the quality of your code high. We introduced several programs that can do this, Jenkins being the most popular.
10) Pruning the Deadwood: Keeping Out The Ents
This lesson emphasized the importance of regularly identifying and removing obsolete or unused code (“deadwood”) from your codebase. It also introduced tools like code coverage testing to determine which parts of your code are active, ensuring that only necessary code remains in your application.
11) Efficient Ticketing: Your Eye of Sauron
This lesson explained how a formal ticketing system enhances organization, efficiency, and access to valuable data on team and individual performance. It included tool suggestions for proper ColdFusion ticketing systems.
12) Comments and Docs: The Lore of Middleware-earth
This lesson broke down the difference between good comments and destructive ones. We explored strategies for effective documentation, and you reviewed your comments and came up with a plan to improve them.
13) ColdFusion Automation: Aragorn’s Guide to DevOps Unity
We delved into provisioning tools like Ansible, Chef, and Puppet, showing how they can automate the tedious aspects of setting up and managing CF environments, tailored to your team’s preferences and requirements.
You downloaded your chosen tool and started automating your ColdFusion environment provisioning and gave yourself a coffee as a reward for completing the final lesson!
Aragorn Action Step: Review the list above. If you missed any lessons or have yet to complete the action step, go back and do it!
If you’re all caught up, then congratulations, you are now doing Modern CF!
Raise your sword high! You’ve defeated the legacy foes!
Feeling stuck or overwhelmed by the list above?
If you want to set up a call to discuss how we can help, please click here.
Michaela Light
*Note: This content is from our free ColdFusion Legacy 2 Modernization E-Course. To learn more about the E-course, click here.