| By John Strano | Article Rating: |
|
| April 16, 2008 04:15 PM EDT | Reads: |
8,859 |
PowerBuilder 11's features have new prerequisite software items that you'll need to install and configure before making your first .NET deployment.
The .NET Framework and its SDK act as a foundation for PowerBuilder's .NET capabilities. You'll want to review the PowerBuilder installation guide, especially Table 1-3 for a concise yet comprehensive list of these prerequisite packages and tasks.
http://infocenter.sybase.com/help/topic/com.sybase.dc37771_1100/pdf/pbeinst.pdf
Let's Get to Work: Migration
To take advantage of
PowerBuilder's .NET capabilities, you'll need to migrate your
application to PowerBuilder 11. Before you do anything else, review the
migration guide in the "User's Guide" under Working with
Libraries>Migrating Targets
http://infocenter.sybase.com/help/topic/com.sybase.dc37773_1100/html/pbug/BGBJHCBC.htm
Invaluable anecdotal information and recommendations can also be found in Terry Voth's (TeamSybase - www.TeamSybase.com) Migration Guide...especially for "grooming" PBLs before migration by optimizing them.
www.techno-kitten.com/PowerBuilder_Help/PowerBuilder_Migration/powerbuilder_migration.html
Of course, if you're migrating from PowerBuilder 6.5 or earlier, you'll be working more issues than an application that's on version 10.5. As of PowerBuilder 10, unicode rather than ANSI is the default for the character encoding format and will impact strings in external function calls, string length calculations, etc. The compiler in PowerBuilder 11 is more stringent about certain coding practices like casting. Distributed PowerBuilder (DPB) has been removed. Graphics capabilities that were added in 10.5 may cause visual changes in your layouts and fonts that you may want to adjust.
I highly recommend creating a formalized Migration Plan. Not only will this plan let you identify refactoring tasks that need to be done, it will also let you quantify the number of those tasks and estimate the time and effort they'll require. Migrating your application forward should be relatively painless if it's managed as the bona fide project it is.
Let's presuppose your application is on a version of PowerBuilder no earlier than 7.x. Below, we'll cite possible migration tasks related to each subsequent version leading up to PowerBuilder 11. Then we'll examine the Migration Assistant tool and how it can help you to identify which of these migration issues affect your application.
Migration Issues Version by Version
- PowerBuilder 7.x
- New IDE
- TreeView and ListView changes
- PowerBuilder 8.x
- Workspaces and Targets added
- Source Code Control (SCC) configuration
- SystemError event behavior changes
- PowerBuilder 9.x
- PowerDynamo support removed
- Distributed PowerBuilder removed
- PowerBuilder 10
- Unicode implementation
- Last Sybase delivery of PFC (now Open Source)
- SQL Server native driver removed
- PowerBuilder 10.5
- Byte data type added
- Updated Decimal support
- Rich Text Control implementation enhanced
- Icon changes
- .NET Web Service support added
- PowerBuilder 11
- SySAM license management added
- DataDirect database drivers removed
- SQL Server native driver (SNC) added
The Migration Assistant tool exists to help you discover migration issues in your PBLs before you make your first attempt to migrate your applications and targets. (Figure 1)
Note: You'll want to use the Migration Assistant to analyze your PBLs using PowerBuilder 11 before you open your application in the IDE to migrate it.
It can be accessed from PowerBuilder's menu by clicking on File>New and then choosing the Tool tabpage in that response window.
The tool will search for obsolete syntax as well as for other migration issues in the PowerBuilder versions between 6 and 11 that you specify. If you're migrating from PowerBuilder 5 or earlier, you'll want to check all the versions available up to and including 11. (Figure 2)
Published April 16, 2008 Reads 8,859
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By John Strano
John Strano is a Sybase Technology Evangelist and is a charter member of TeamSybase. He has been using PowerBuilder since 1991 and has authored articles for multiple industry periodicals. John has been a Sybase Certified Instructor and has presented Sybase tools on an international basis since 1997. Over the last 17 years John has developed a variety of PowerBuilder applications from single-user scaling up to enterprise-class, web-based projects.
- Kindle 2 vs Nook
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Infrastructure-as-a-Service Will Mature in 2010: Microsoft's David Chou
- Windows 7 – Microsoft’s First Step to the Cloud
- Cloud Expo and the End of Tech Recession
- Jill Tummler Singer, Deputy CIO of CIA, Keynotes at GovIT Expo
- Reality Check at the Cloud Computing Expo
- Visual Studio 2010 Is Cloud Friendly
- Fired SCO CEO Fires Back
- Kindle 2 vs Nook
- The Difference Between Web Hosting and Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- Wave on Ulitzer: Confessions of a Google Wave Fanboy
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Best Practices
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Infrastructure-as-a-Service Will Mature in 2010: Microsoft's David Chou
- Eval JavaScript in a Global Context
- Windows 7 – Microsoft’s First Step to the Cloud
- Google Maps and ASP.NET
- Crystal Reports XI & How It Has Changed
- Converting VB6 to VB.NET, Part I
- Creating Controls for.NET Compact Framework in Visual Studio 2005
- Where Are RIA Technologies Headed in 2008?
- How to Write High-Performance C# Code
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Implementing Tab Navigation with ASP.NET 2.0
- i-Technology Photo Exclusive: Bill Gates & Steve Jobs In "Nerds"
- .NET Archives: Getting Reacquainted with the Father of C#
- i-Technology Viewpoint: "SOA Sucks"
- Programmatically Posting Data to ASP .NET Web Applications




























