Part 5: Refactoring and Modernization with AI and the SmartComponent Library
 

Consultingwerk Blog

Part 5: Refactoring and Modernization with AI and the SmartComponent Library

by Mike Fechner | May 04, 2026

This final part builds on our discussion of AI adoption, tooling, continuous change, and the evolving developer role - and brings everything together in the context where these shifts have the most tangible impact: real-world modernization projects.

Modernization as an Exercise in Understanding

Modernization projects are rarely about rewriting code line by line.

At their core, they are about understanding existing applications:

  • what they do
  • how responsibilities are distributed
  • where business logic lives
  • which patterns have evolved organically over many years

AI proves especially valuable in exactly this phase.

Given access to source code, architectural conventions, and domain knowledge, AI agents can:

  • analyzing legacy ABL code to explain intent and data flow
  • identifying redundancies and inconsistencies
  • highlighting candidates for refactoring or restructuring

ABL’s readable syntax and explicit database interaction make it particularly well suited for this analysis.

From Legacy Patterns to Modern Architectures

In most modernization projects, the goal is not to discard existing business logic, but to reorganize it into a cleaner, more maintainable architecture.

At Consultingwerk, this typically means moving logic out of TTY or GUI-centric applications and into the backend of the SmartComponent Library, where it becomes reusable for modern web or desktop frontends and accessible via RESTful services.

AI supports this transition by helping to map legacy patterns to modern equivalents:

  • identifying where business logic belongs in Business Entities, Business Tasks, or Services
  • suggesting how existing code can be aligned with established architectural patterns
  • assisting in splitting monolithic logic into well-defined components

This approach allows modernization to proceed iteratively, with AI accelerating analysis and implementation while developers retain full control over architectural decisions.

The SmartComponent Library as an AI Enablement Framework

AI-assisted modernization does not succeed without structure.

The SmartComponent Library provides the necessary guardrails through clearly defined patterns, base classes, and conventions that apply equally to human developers and AI agents.

Over the years - and especially throughout 2025 - we extended it with AI-specific capabilities:

  • markdown-based rule sets combining natural language and example code
  • MCP servers exposing framework knowledge, ABL references, and architectural metadata
  • prompt-based generators that replace traditional wizards

This allows AI to generate more than isolated snippets. It can:

  • create or extend Business Entities in full compatibility with existing tooling
  • generate and register server-side event handlers
  • query repository metadata to resolve direct database access into ORM-based patterns
  • ensure that generated code adheres to framework standards and project-specific rules

Result: This turns AI into a predictable, repeatable, and scalable modernization accelerator.

Shifting the Focus: From Manual Work to Design and Review

As AI takes over more repetitive and analytical tasks, the focus of modernization projects shifts. Less time is spent on mechanical implementation, and more time on:

  • solution design and target architecture
  • defining clear rules and constraints for AI
  • reviewing results and validating assumptions

This shift improves both speed and quality.

Call to Action

For existing customers of the SmartComponent Library, now is the ideal time to revisit your development workflows.

AI is no longer an abstract promise - it is a practical tool that, when combined with the latest tooling and AI capabilities of the SmartComponent Library, can significantly improve productivity, code quality, and modernization outcomes.

We encourage you to reach out to Consultingwerk to explore how AI-driven workflows, modern IDEs, and the latest SmartComponent Library features can be integrated into your existing projects - pragmatically, safely, and with measurable impact.

Final Thoughts

2025 marked the point where AI became a permanent part of professional software development.

The lessons are clear:

  • Structure beats chaos
  • Standards amplify AI
  • Thoughtful integration unlocks sustainable productivity

The journey is far from over  - but the direction is unmistakable.

About the author

Mike Fechner

Mike Fechner, lead modernization architect at Consultingwerk started using Progress over 30 years ago and ever since has supported Progress Application Partners and end customers in adopting the features of the latest OpenEdge and Progress releases to enhance the capabilities of existing applications. With his framework design skills he has set the stage for development of many successful OpenEdge applications.


Mike is specialized on object orientation in the ABL, software architectures, the GUI for .NET, web technologies and a wide range of Progress products such as OpenEdge, Telerik and Corticon. He is involved in software modernization projects on a day by day basis.


He is a well-known and active member of the international OpenEdge community, frequent presenter at conferences around the world and is a board member of the German PUG and founder of the committee of the EMEA PUG Challenge. He’s also a founding member of the Common Component Specification project.