Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Converting a PowerBuilder 10.5 Client/Server Application to PB 11 Web Forms
Using .NET Interop and Web services

As a long-time PB developer, I have successfully created or maintained many PB applications for clients and for myself. Since day one, I was impressed with the ease with which applications can be created using PowerBuilder. Although I had been exposed to Visual Studio and other client/server tools, I have always felt PB was the better product. Even when I had to code GIS mapping functionality using OLE automation and there were no PB examples, I was able to find VB code examples and figure out the PB equivalent. I have also developed PB functionality for SAPI, TAPI, SMTP, and VoIP.

I have looked forward to each release of PowerBuilder and I must admit the latest release has me very excited. The idea of converting our client/server applications to be Web-based would have three major benefits: prospective users from around the world could try out our products at their convenience without waiting for a demo to be downloaded or mailed to them, program revisions and bug fixes are instantaneous, and we could start a subscription service that would find a whole new group of users who cannot afford to purchase programs costing several thousand dollars but could afford a low monthly fee.

Therefore when the PB 11 beta was released we wanted to prove the technology worked by converting one of our applications to PB 11 Web Forms or Windows Forms. The program we chose is an emergency alert system that lets users send text messages, e-mails with attachments, and voice messages to a selected group of users.

Preparing for my task, I attended an Ottawa ISUG User Group meeting to pick John Strano's brain, looked at Bruce Armstrong's examples, and scoured the Sybase newsgroups. My thought was that the fastest way to get on the Web would be a direct migration to Windows Forms. The migration was very easy; however, when running the app the response time was slow because the database connection was on the client computer. I determined that Windows Forms would work best for our intranet applications but to achieve the goal of creating our first data-driven Internet app, Web Forms seemed like the best choice. However, going this route meant some functionality would have to be replaced with equivalent .NET classes. I was also determined to reuse as much as possible from the 10.5 application. Here's how it was done.

This application is not a very complex one (see Figure 1). It has a tabbed interface, uses treeview and regular DataWindows, and is written in PB 10.5 PFC (Unicode version). PFC use is minimal and limited to DataWindow column sorting and control resizing. E-mail and text messaging were implemented using PBNI SMTP (see Listing 1) and voice messaging using a third-party OLE TAPI control with telephony-compliant hardware (see Listing 2).

About Mark Luckasavage
Mark Luckasavage is executive director of PoliceSoftware.com, a New Jersey-based Public Safety company that provides software products for police departments, various public and private organizations, and branches of the homeland security department. He is also a PowerBuilder consultant who has worked with PB since PB 2.0a. All of PoliceSoftware.com's programs are coded in PB 10.5 PFC and use Sybase SQL Anywhere.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Enterprise Open Source Magazine Latest Stories . . .
Apache Deltacloud, the Red Hat-contributed ReSTful API that abstracts differences between clouds so services on any cloud can be managed – provided of course there’s a driver – has graduated from the Apache Foundation’s incubator and is now a full-fledged Top-Level Project (TLP). The...
With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and st...
AMD said late Tuesday that its chief sales officer Emilio Ghilardi had left the company and that CEO and president Rory Read is going to do his job while a replacement is sought. AMD didn’t say why Ghilardi left but it’s assumed Read wants his own people. Read is relatively new to th...
During the lifespan of M3 (Monitis Monitor Manager) there has always been something lacking – timers. M3 execution procedure was outlined in this previous article. The execution mentioned in the latter was a one-time-execution, whereas server monitoring requires periodic invocati...
Red Hat is putting its bought-in Gluster scale-out NAS storage technology, acquired in October, on the Amazon cloud. It’s styled Red Hat Virtual Storage Appliance for Amazon Web Services and other clouds are supposed to follow in short order.
A new episode of the screencast series is now available at the OpenNebula YouTube Channel. This screencast demonstrates the new easily-customizable self-service portal for cloud consumers. Its aim is to offer a simplified access to shared infrastructure for non-IT end users. The scree...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE