Click here to close now.

Welcome!

Agile Computing Authors: Liz McMillan, Carmen Gonzalez, Harry Trott, Lacey Thoms, Adrian Bridgwater

Related Topics: Microsoft Cloud, PowerBuilder

Microsoft Cloud: Article

PowerBuilder Takes You To .NET

Preparing PowerBuilder applications for .NET Windows Forms deployment

Remember Win16? Whatever happened to it? Where did it go? It hung around for a while in the Win95/Win98 days alongside Win32 but then it went away. Well, wherever Win16 went, Win32 is going there too. Eventually, .NET will be the "native" Windows desktop technology and WinForm or its descendant will be the primary de facto API.

PowerBuilder is arguably the most productive (read fastest and easiest) .NET development tool on the market today. It doesn't require .NET experience on the part of the developer and the conditional compilation feature allows PowerBuilder applications to be maintained as a single code line for Win32 as well as for .NET deployments.

WinForm Benefits
Well, let's say that your company or your client's hasn't established a requirement, a standard, to move to deploying .NET applications quite yet. "Why should I explore deploying to .NET WinForm? I'm not required to deploy to .NET yet and I'll just end up with another client/server application...right?" The main benefits of deploying PowerBuilder applications as .NET WinForm are twofold: .NET interoperability and .NET Smart Client publishing.

.NET Interoperability
There are some fairly nice things in the .NET Framework. Think about the PowerBuilder projects in the past from which you've made external function calls, to which you added ActiveX/OCX, in which you implemented OLE. Think of the .NET Framework as a big fat external resource of which you'd like to take advantage. You may have a partner, a vendor, a .NET development group in your own company who's developed .NET resources with which you'd like to integrate your PowerBuilder applications. Once you deploy your PowerBuilder applications to WinForm (or WebForm), you can.

www.sybase.com/products/development/powerbuilder/videos

Smart Client Publishing
A major headache in supporting applications in production has historically been deployment. Browser-based applications became popular because of the prospect of the immediate and automatic update of application business logic and user interface for every single user. But even with the rising popularity of Rich Internet Applications (RIAs), anything in the browser has some intractable compromise lurking somewhere. Oh, and by the way, classic Web application projects still tend to be more expensive than their 4GL-developed counterparts.

What if you could take advantage of the best of both worlds? What if you could deploy your application and its updates using the ubiquity of the Web, but have the users end up with an uncompromised, rich-interfaced, fully functional application on their desktops with no browser-based compromises?

Applications operating on the workstation exploit client-side resources, reduce server load, don't consume as much bandwidth, and overall have better performance.

Once you deploy/compile your PowerBuilder application as .NET WinForm, your application and its updates can be "published" to the users' workstations just by filling in some property sheets, in a code-free manner by clicking a button...for one or 1,000 users.

www.sybase.com/products/development/powerbuilder/videos

http://video.sybase.com/webcasts/PB11SC3-020108.wmv

Game Plan
The approach to prepare your PowerBuilder application for WinForm deployment is twofold:

  1. Migrate forward to PowerBuilder 11.
  2. Modify your application to work around PowerBuilder features that may not be supported for .NET WinForm deployment.
While these two points are the salient ones, I'll also go into a couple of notable ancillary subtopics as well.

Before you start any part of this process, please...back up your PBLs! I can't tell you how often some poor soul posts a request on the PowerBuilder newsgroup saying he's lost his source or that his libraries have become corrupted somehow and is there a way to decompile his executables into source code. Please, folks, only perform the operations I'll discuss now with libraries that are backed up or are a working copy of your PBLs. And, remember, a backup is only as good as its restore. Verify that you can successfully restore your valuable collateral.

The Recipe
So here's a more detailed recipe for preparing and deploying a PowerBuilder application for WinForm:

  • Backup, backup, BACKUP!
  • Check in all classes from source control.
  • Backup, backup, BACKUP! (Sense a pattern?)
  • Install the required external resources.
    - http://infocenter.sybase.com/help/topic/com.sybase.dc37771_1100/pdf/pbeinst.pdf
  • Install PowerBuilder 11.x
  • Use the Migration Assistant tool (more later)
  • Formulate your Migration Plan
  • Address migration issues that are discovered
  • Backup, backup, BACKUP!
  • Migrate your application
  • Perform a Win32 compilation
  • Perform Quality Assurance
  • Backup, backup, BACKUP!
  • Create a WinForm deployment Target and Project
    - www.sybase.com/products/development/powerbuilder/videos
  • Perform an initial WinForm deployment
  • Save the Unsupported Features output log
  • Use the .NET Features Analyzer IDE Add-in tool (more later)
  • Formulate your Refactoring Plan
  • Refactor/modify your application to work around features unsupported for WinForm
  • Perform a "final" WinForm deployment
  • Back it up, folks
  • Perform Quality Assurance
  • Take advantage of .NET interoperability
  • Take Advantage of .NET smart client deployment/publishing

More Stories By John Strano

John Strano is a Sybase Technology Evangelist and is a charter member of TeamSybase. He has been using PowerBuilder since 1991 and has authored articles for multiple industry periodicals. John has been a Sybase Certified Instructor and has presented Sybase tools on an international basis since 1997. Over the last 17 years John has developed a variety of PowerBuilder applications from single-user scaling up to enterprise-class, web-based projects.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
SYS-CON Events announced today that BMC will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. BMC delivers software solutions that help IT transform digital enterprises for the ultimate competitive business advantage. BMC has worked with thousands of leading companies to create and deliver powerful IT management services. From mainframe to cloud to mobile, BMC pairs high-speed digital innovation with robust IT industrialization – allowing customers to provide amazing user experiences with optimized IT per...
2015 predictions circa 1970: houses anticipate our needs and adapt, city infrastructure is citizen and situation aware, office buildings identify and preprocess you. Today smart buildings have no such collective conscience, no shared set of fundamental services to identify, predict and synchronize around us. LiveSpace and M2Mi are changing that. LiveSpace Smart Environment devices deliver over the M2Mi IoT Platform real time presence, awareness and intent analytics as a service to local connected devices. In her session at @ThingsExpo, Sarah Cooper, VP Business of Development at M2Mi, will d...
The Industrial Internet revolution is now underway, enabled by connected machines and billions of devices that communicate and collaborate. The massive amounts of Big Data requiring real-time analysis is flooding legacy IT systems and giving way to cloud environments that can handle the unpredictable workloads. Yet many barriers remain until we can fully realize the opportunities and benefits from the convergence of machines and devices with Big Data and the cloud, including interoperability, data security and privacy.
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In this session, James Kirkland, Red Hat's Chief Architect for the Internet of Things and Intelligent Systems, will describe how to revolutionize your architecture and...
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example t...
We’re entering a new era of computing technology that many are calling the Internet of Things (IoT). Machine to machine, machine to infrastructure, machine to environment, the Internet of Everything, the Internet of Intelligent Things, intelligent systems – call it what you want, but it’s happening, and its potential is huge. IoT is comprised of smart machines interacting and communicating with other machines, objects, environments and infrastructures. As a result, huge volumes of data are being generated, and that data is being processed into useful actions that can “command and control” thi...
All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades. With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo, June 9-11, 2015, at the Javits Center in New York City. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.
We are reaching the end of the beginning with WebRTC, and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will want to use their existing identities, but these will have credentials already that are (hopefully) i...
SYS-CON Events announced today that MetraTech, now part of Ericsson, has been named “Silver Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York, NY. Ericsson is the driving force behind the Networked Society- a world leader in communications infrastructure, software and services. Some 40% of the world’s mobile traffic runs through networks Ericsson has supplied, serving more than 2.5 billion subscribers.
Thanks to widespread Internet adoption and more than 10 billion connected devices around the world, companies became more excited than ever about the Internet of Things in 2014. Add in the hype around Google Glass and the Nest Thermostat, and nearly every business, including those from traditionally low-tech industries, wanted in. But despite the buzz, some very real business questions emerged – mainly, not if a device can be connected, or even when, but why? Why does connecting to the cloud create greater value for the user? Why do connected features improve the overall experience? And why do...
SYS-CON Events announced today that O'Reilly Media has been named “Media Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York City, NY. O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O'Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying "faint signals" from the alpha geeks who are creating the future. An active participa...
Imagine a world where targeting, attribution, and analytics are just as intrinsic to the physical world as they currently are to display advertising. Advances in technologies and changes in consumer behavior have opened the door to a whole new category of personalized marketing experience based on direct interactions with products. The products themselves now have a voice. What will they say? Who will control it? And what does it take for brands to win in this new world? In his session at @ThingsExpo, Zack Bennett, Vice President of Customer Success at EVRYTHNG, will answer these questions a...
The 4th International Internet of @ThingsExpo, co-located with the 17th International Cloud Expo - to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA - announces that its Call for Papers is open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...
The Internet of Things is a misnomer. That implies that everything is on the Internet, and that simply should not be - especially for things that are blurring the line between medical devices that stimulate like a pacemaker and quantified self-sensors like a pedometer or pulse tracker. The mesh of things that we manage must be segmented into zones of trust for sensing data, transmitting data, receiving command and control administrative changes, and peer-to-peer mesh messaging. In his session at @ThingsExpo, Ryan Bagnulo, Solution Architect / Software Engineer at SOA Software, focused on desi...
The multi-trillion economic opportunity around the "Internet of Things" (IoT) is emerging as the hottest topic for investors in 2015. As we connect the physical world with information technology, data from actions, processes and the environment can increase sales, improve efficiencies, automate daily activities and minimize risk. In his session at @ThingsExpo, Ed Maguire, Senior Analyst at CLSA Americas, will describe what is new and different about IoT, explore financial, technological and real-world impact across consumer and business use cases. Why now? Significant corporate and venture...
While great strides have been made relative to the video aspects of remote collaboration, audio technology has basically stagnated. Typically all audio is mixed to a single monaural stream and emanates from a single point, such as a speakerphone or a speaker associated with a video monitor. This leads to confusion and lack of understanding among participants especially regarding who is actually speaking. Spatial teleconferencing introduces the concept of acoustic spatial separation between conference participants in three dimensional space. This has been shown to significantly improve comprehe...
Today’s enterprise is being driven by disruptive competitive and human capital requirements to provide enterprise application access through not only desktops, but also mobile devices. To retrofit existing programs across all these devices using traditional programming methods is very costly and time consuming – often prohibitively so. In his session at @ThingsExpo, Jesse Shiah, CEO, President, and Co-Founder of AgilePoint Inc., discussed how you can create applications that run on all mobile devices as well as laptops and desktops using a visual drag-and-drop application – and eForms-buildi...
There will be 150 billion connected devices by 2020. New digital businesses have already disrupted value chains across every industry. APIs are at the center of the digital business. You need to understand what assets you have that can be exposed digitally, what their digital value chain is, and how to create an effective business model around that value chain to compete in this economy. No enterprise can be complacent and not engage in the digital economy. Learn how to be the disruptor and not the disruptee.