| By Mark Luckasavage | Article Rating: |
|
| August 27, 2008 03:36 PM EDT | Reads: |
3,918 |
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).
Published August 27, 2008 Reads 3,918
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By 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.
- Seeding the Cloud: The Future of Data Management
- Economy Drives Adoption of Virtual Lab Technology
- How PowerBuilder Got Its Groove Back
- PowerBuilder 12 .NET Review
- Will Cloud Computing Confuse Network Management?
- Are We Close to the Saturation Point for iPhone Apps?
- PowerBuilder UI Designer
- How to Create a Web-Architected PowerBuilder Application
- Is the Ladder We’re Climbing Resting on the Wrong Wall?
- Telcos Will Rule Cloud Computing in 2010 -Yankee Group
- The Real Cost of Passwords
- Online Training for PowerBuilder 11.5
- Why SOA Needs Cloud Computing - Part 1
- The Transition to Cloud Computing: What Does It Mean For You?
- Seeding the Cloud: The Future of Data Management
- Economy Drives Adoption of Virtual Lab Technology
- How PowerBuilder Got Its Groove Back
- A Rules Engine Built in PowerBuilder
- PowerBuilder 12 .NET Review
- Will Cloud Computing Confuse Network Management?
- Are We Close to the Saturation Point for iPhone Apps?
- PowerBuilder UI Designer
- How to Create a Web-Architected PowerBuilder Application
- Is the Ladder We’re Climbing Resting on the Wrong Wall?
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- The Top 250 Players in the Cloud Computing Ecosystem
- Custom Common Dialogs Using SetWindowsHookEx
- DDDW Tips and Tricks
- OLE - Extending the Capabilities of PowerBuilder
- DataWindow.NET How To: Data Entry Form
- Working with SOA & Web Services in PowerBuilder
- Sybase ASE 12.5 Performance and Tuning
- Book Excerpt: Sybase Adaptive Server Anywhere
- Office 2003 Toolbar: A New Look For Your Old PowerBuilder App
- Dynamically Creating DataWindow Objects
























