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

Top Stories by Yakov Werde

The migration march to PB 12.NET will have many shops revisiting legacy applications. In my previous article, "Refactoring Is Not an ‘R' Word" (PBDJ, Vol. 16, issue 12), you read why refactoring code before migration helps ensure smooth migration and enterprise integration. You were introduced to Test Driven Development methodology and saw how you can use it to ensure successful refactoring. You were also introduced to pbUnit, an open source tool and framework that you can use for both refactoring and developing new code in PB Classic applications. In this article I'll guide you through installing pbUnit and help you master the basic algorithm when refactoring your PB legacy code with pbUnit and test driven methodology. Installing pbUnit and Configuring Your App: The Nuts and Bolts In addition to installing and using pbUnit with Classic PowerBuilder to run unit Tests... (more)

RESTful Web Services: A Quick-Start How-to Guide - Part 1

Among PowerBuilder 12.5 .NET's new features comes the ability to use WCF to call RESTful web services. This article, the first in a two-part series, provides a PowerBuilder 12.5 .NET developer with the foundational knowledge and skills to rapidly get up and running building PowerBuilder RESTful Web Service clients. Along the way I'll share with you a few tips and workarounds. Introduction PowerBuilder 12.0 .NET provided the ability to call SOAP-based web services using Microsoft's .NET 3.5 WCF API. I encourage those of you not familiar with WCF and SOAP to view my PowerBuilder W... (more)

Developers Who Live in Glass Houses Refactor Their Code

PBDJ Blog Refactoring in not hard to do or difficult to conceive of - BUT you have to develop a sense about it. Part of wanting to refactor is professional pride. Ask yourself - If your software was a publicly visible structure such as a bridge or building, what would it look like?   Would you be will to go step on it or go inside it? Do you think that it's too late for improve your software?  Are you afraid to take a small risk? Remember that refactoring is all about taking lots of small steps that eventually add up to a big improvement. Do you sometimes get that sick feeling w... (more)

There's a Hole in the Bucket, Dear Liza, Dear Liza

Did you sing this little ditty when you were a wee laddie?  (In case you don't know the song, you can find the words and tune here (http://www.songsforteaching.com/folk/theresaholeinthebucket.htm). These words came to my mind after discovering a small hole in the migration process.  Let me describe it to you. In the Classic PowerBuilder IDE, when you have classes in an inheritance relationship, the painter shows ancestor public and protected instance variable on the General tab of the descendent class.  Figure 1 shows what you might see when a Boolean ib_flag is declared in an a... (more)

Building a Snap-In App Framework Using Dynamic PowerBuilder Assemblies

The articles in this two-part series examine and contrast PowerBuilder .NET 12.5.1's new dynamic assembly feature with corresponding dynamic library functionality in PowerBuilder Classic. The discourse is presented in the context of a simplified yet practical use case. The first article presents the use case, reviews pertinent PowerBuilder Classic dynamic APIs, and presents a Classic PBD implementation. The second article introduces PowerBuilder .NET 12.5.1's Dynamic Assembly feature, reveals relevant PowerBuilder .NET generated assembly internals, and presents a PowerBuilder .... (more)