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


Top Stories by Yakov Werde

A common Classic PB code technique when modifying the displayed contents of window controls, is to turn off screen refresh by calling SetRedraw( false ), performing the update activity and then calling SetRedraw (true). Setredraw( ) is one of those graphic object methods that falls by the wayside when migrating to .NET.  It is no longer supported.  Is this a bad thing that will give your users a migraine headache or a non-issue? This post and the accompanying video will give you a refreshing understanding of the issue and help set your expectations when you migrate and see those unsupported feature warnings. First some background: In classic Windows UI and .NET WinForm, each window (and remember internally each control is a window) is constantly redrawing itself; when it's first created, when it's covered and re-exposed, and when something about its look and feel ne... (more)

PFC Project Partitioning Using a Referenced PowerBuilder Assembly Target

Paul Harvey, the great American radio personality, would always conclude his colorful broadcasts with the quip "And now you know the rest of the story." For those of you not acquainted with Paul's broadcasts, here's a sample. If you get to about 3:40 in, you'll hear the classic remark. Paraphrasing Paul's tag line, in this article you'll learn "the rest of the story" about RAD Development methodology in PowerBuilder 12.5 .NET using a Referenced PB Assembly Target. I'll explain the technique and implementation steps using the open source PEAT PFC demo application. In a previous P... (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)

Sybase Posts Free PowerBuilder Migration Support Videos

PBDJ Blog Post Nowadays, every platform has an xUnit based open source unit testing tool. Just today, I discovered that there is one for Adobe Flex (woops this is a PB forum!) it's called Flex Unit. Here's an article on it. There are xUnit testing frameworks for Java, C#, C++, Smalltalk and many others. Tools such as Eclipse and VS have xUnit extensions. pbUnit is our version. When you need to refactor or build business logic in PB, think TDD. TDD is a powerful methodology with a proven track record for supporing developers in delivering quality code. Let me share something pers... (more)

PB .NET Migration Assistant

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 ... (more)