Helping Developers Master PowerBuilder Classic and .NET

Yakov Werde

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

Top Stories by Yakov Werde

This week PBDJ will publish part one of a series I am writing called "PowerBuilder .NET RESTful Web Services:  A quick-start how-to guide".   I'm also producing an accompanying video demo series.  To get the buzz going I decided to make each section of the demo video separately available.  When all the pieces are completed I'll tie them all together in a single indexed video tutorial.  The complete video will most probably be published on  In the first installment, I show the demo program UI and explain the code structure architecture.  Click on this link to watch the first installment. ... (more)

Peering Behind the PowerBuilder .NET Assembly Curtain

Part of the allure of the .NET platform is that all code, no matter what language or grammar it's written in, compiles down to Common Intermediate Language (CIL) that is managed and executed by the Common Language Runtime (CLR). PowerScript code goes through a two-step process before becoming CIL. First it's run through PBCS.exe, which converts PowerScript to the equivalent C#. Then the emitted CS code is compiled by the C# compiler, CS.EXE, into standard CIL. One of the tools that ships with the .NET SDK is a CIL disassembler ILDASM.exe. The tool allows you to explore the emitt... (more)

Custom Session Authentication in EAServer

EAServer has a robust built-in security mechanism to safeguard your business components. Occasionally, it may be necessary to access a legacy security infrastructure to determine privileges or to log access. In those situations EAServer supplies a way to extend its native security system. This article illustrates how EAServer custom security can be implemented using a PowerBuilder standard component. Overview Corporate information systems face many security threats. Some threats are addressed in software at the server level. Table 1 lists some threats and approaches to thwarting ... (more)

Refactoring: Best Thing Since Sliced Bread?

PBDJ Blog on Ulitzer After watching my PowerBuilder refactoring eTutorial, you're getting a glimmer of the potential confidence, joy and power of refactoring in a test driven manner.  No doubt, you're already familiar with the uncomfortable feeling of slogging though ponderous legacy code.  Now you are beginning to know the benefits of refactoring; you know the smells, and you know the catalog of techniques. You can't wait get your hands on some legacy code. You know exactly what to do to whip it into shape.  Legacy code, watch out, here I come! But wait, is refactoring always th... (more)

Re-Fact-Orings Of Life

PBDJ Blog When I first accepted the assignment to write a tutorial about refactoring code, I was sure that refactoring was something that developers did when ‘extreme' requirements hit their application.  Like when, management wanted to move the entire app to the web or extract the business logic out of the application for use in other applications.  After all, the focus of the assignment was migration to PowerBuilder 12.  I perceived refactoring as a bitter pill (radical procedure) that a team had to swallow (perform) when code got too old to stay in its existing form and neede... (more)