|
Comments
|
Today's Top SOA Links
From the Editor PowerBuilder Editorial — Would the Real "PB-to-the-Web" Solution Please Stand Up?
So many and yet so few
By: Bruce Armstrong
Mar. 12, 2007 02:00 PM
Over the years we've been offered, either by Sybase or by third-party companies, a number of "move PowerBuilder to the Web" offerings. Focusing specifically on those offered by Sybase, we were first offered Web.pb. It was provided as a set of libraries with PowerBuilder 6 that was built on the Distributed PowerBuilder (DPB) technology introduced with PowerBuilder 5. It actually worked fairly well for developing Web front-ends to non-visual components in an n-tier environment. However, its dependence on DPB spelled its doom once DPB was de-supported in favor of EAServer.
There are a couple of things many of those approaches (excluding the Web DataWindow) have in common:
I believe that's certainly a step in the right direction. I can think of three main reasons I use PowerBuilder:
Where I really see a large potential for PowerBuilder is in item 3: RAD GUI development. PowerBuilder continues to do a good job in this regard for Windows development. The approaches taken through Appeon and PB11 are a move towards providing that same RAD GUI development for Web forms. However, I think the approach of simply redeploying an application that was designed to be client/server as a Web application is only a partial solution. What I would prefer to see is the ability to create Web applications from scratch using the existing PowerBuilder painters modified slightly to accommodate some Web development specific requirements. Of course, a lot more would have to happen under the hood, but the point is the painters would be almost identical between Windows and Web development. Perhaps an illustration would help here. Figure 1 is a screen shot from a typical Visual Studio Web form. Note that I have two command buttons on the form. The first is a "standard" button, one that if clicked will fire a postback for processing on the server in C# (or whatever .Net language I'm using). The second is an HTML button that if clicked will be processed client side in JavaScript (or whatever client-side scripting language I'm using). A couple of things drive me nuts here:
The point is that if I now need to change the processing from the client to the server, I simply change an attribute of the script. Under the hood, I'm thinking that the Sybase engineers could maintain a couple of separate script areas for each event/method, depending on which options are selected. That is, I could code up a client-side script, code a server-side script for the same event, and the one that's actually used depending on which was selected when the object was compiled (obviously you can't use both). That is, the IDE becomes responsible at compile time to separate out what needs to be in the server-side file and what needs to be in the client-side file. As a developer, I don't have to keep switching back and forth between the script for the form and a separate code behind the file. That's an implementation detail that I want abstracted so I don't have to deal with it. Of course, I'd be way off base here too. Sybase thought the market was ready for a RAD GUI Java tool, and so it produced PowerJ. The most impressive thing about it was the loud thud it made in the market as it fell flat on its face. Marketing may have helped, but it does seem that the Java community loathes the concept. Perhaps the Web development community does as well. That's where I need to hear from you. Am I the only one who thinks that the time is right for tool that could do for RAD GUI Web development work what PowerBuilder did for Windows development? Reader Feedback: Page 1 of 1
Your Feedback
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||