Welcome!

Helping Developers Master PowerBuilder Classic and .NET

Yakov Werde

Subscribe to Yakov Werde: eMailAlertsEmail Alerts
Get Yakov Werde via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Related Topics: Enterprise Architecture, Enterprise Application Performance

Blog Post

PB .NET Migration Assistant

The missing link?

PBDJ Blog Post

PowerBuilder Developer's Journal - It started off by me wondering, why is there is no version 12 .NET migration assistant like the one in previous versions?  Then it dawned on me. The migration process is its own assistant!

Here's what I mean.  The version 12 .NET migration process is significantly different than any migration that came before it.  For the first time in history migration is non-volatile; the original PBLs remain intact and are untouched by the migration process!  Plus, migration creates a new target and source directories and emits migrated source code there.  What does this mean to you?  First, you can keep your original source open in Classic while migrating.  More importantly, you can test migrate and build your application as many times as you like until you fell you've got it right.  If you get errors on migration or the subsequent .NET target full build, you simply remove the target from the .NET solution and delete all the generated artifacts.  Figure 1 shows the .out folder, .pbl folder(s) and .pbtx file that result from a single PBL target migration.

Figure 1:  Migration artifacts

Then you can go back into Classic to refactor or otherwise adjust your code and migrate again.  You can repeat this process as many times as you like.  This means that you can do the bulk of your code refactoring in the tool you know best, Classic.  You can also run your Classic version and compare functionality with the .NET version. So now you can see why there is no need for a migration assistant, the migration process itself is the assistant!

Sweet! I actually like the way migration works!

More Stories By Yakov Werde

Yakov Werde, a 25 year IT industry veteran, is a member of TeamSybase and the newly formed Sybase Customer Evangelist Team. Yakov is a recognized author, speaker and trainer who has been designing and delivering PowerBuilder, .NET, EaServer, Web App Development, and Java training for over 14 years to corporate, military and government developers. Prior to discovering his aptitude as an educator, Yakov worked as an architect, project manager and application coder in the trenches of application software development. Yakov holds a Masters in Education with a specialty in instructional design for online learning from Capella University and a BS in math and computer science from Florida International University. Yakov, managing partner of eLearnIT LLC (www.elearnitonline.com), authors and delivers workshops and web based eLearning tutorials to guide professional developers toward PowerBuilder Classic and .NET mastery. Follow Yakov on Twitter as @eLearnPB