Java IoT Authors: Yeshim Deniz, Liz McMillan, Pat Romanski, Roger Strukhoff, Elizabeth White

Related Topics: PowerBuilder

PowerBuilder: Article

PBDJ Editorial — Top 11 Reasons to Consider PowerBuilder 11

I'm going to break those reasons into two groups: those that directly affect your end users and developers

Just over a year ago PowerBuilder 10.5 was about to release and we looked at the top 10.5 reasons to move to that version. In that same vein, I'm going to look at the top 11 reasons to consider PowerBuilder 11.0, which is just about to hit the street. This time I'm going to break those reasons into two groups: those that directly affect your end users (things they will notice) and thing that will make your life as a developer easier but won't necessarily affect your users. The reason I want to focus on them that way is because as developers we often get excited about the second set, but in order to sell an upgrade to our managers we often need to stress the former.

Obviously this isn't a comprehensive list of the new features in this version. There are quite a few others such as window animation and transparency, and database drivers. I'm focusing on a limited set that I consider to be the most important or those that may generate the most interest. First, the new features that directly affect your users.

1)  .NET WebForm Target
This feature may be the one that is most highly touted for this release. It enables you to take an existing Windows application (even an MDI application), and with few, if any, changes deploy them as browser-based .NET WebForm applications. For people who want to take existing applications and move them to the Web without losing a great deal of the rich client capabilities, this is an attractive feature.

2)  .NET WinForm target - Smart Client
A .NET WinForm target allows you to take an existing application and deploy it as a .NET WinForm application (essentially a standard Windows application) but one that can be distributed and automatically updated through a browser. A Smart Client application runs within an isolated "sandbox" when deployed to the client. It accomplishes the minimal footprint of a browser-based application but provides the full rich client support of a standard Windows application.

3)  UseEllipses DataWindow Property
I don't know about your applications, but I have a number in which there are characters fields that allow for many times more data than is typically entered. For example, a company name field might be 120 characters long because of the one or two cases where we need to support a really long company name. (For example, the Wall Street Journal Law Blog reports interviewing a law firm with the name of Ziffren, Brittenham, Branca, Fischer, Gilbert-Lurie, Stiffelman, Cook, Johnson, Lande & Wolf.) The question is, how many characters do you show to the user when the average company name is 30 characters; and what do you do if you only show 30 when the 120 character monster shows up? Enter the UseEllipses DataWindow property. When the field is not in focus and the text exceeds the width of the field, ellipses are shown to make it obvious to the user that there is more text than what is visible.

That's it for the end-user impacting ones. Not that there aren't more, but I found the developer-focused enhancements more interesting than the others. So, without further ado, here they are:

4)  ASP.NET Web Service Target / .NET Assembly Target
I almost put this under the end-user impacting, because it can affect them indirectly. These two options really expand your capability for the reuse of your existing PowerBuilder code. If you're in a heterogeneous shop (one that uses a number of development tools, particularly some .NET IDE and PowerBuilder), these two target types allow you as a PowerBuilder developer to make your PowerBuilder components available to the .NET developers (and Java developers in the case of Web services) for reuse in their applications. Your end users might see the application rehosted with a different user GUI, but the business logic would continue to be PowerBuilder based.

5)  .NET WinForm Target - Conditional Compilation / .NET Assembly Import
In addition to the .NET targets already discussed, one of the things you can do with this new release is recompile your typical PowerBuilder client/server application as a standard WinForm application. But the question - if you aren't compiling as a Smart Client - is why? Compiling to a WinForm target has some of the same long compile types and regression testing to ensure that it behaves the same as the p-code issues that machine-code compiles with the current versions of PowerBuilder have. Those issues are what have most folks avoiding machine-code compilation as if it was a root canal without anesthesia.

The answer is the .NET assembly import and conditional compilation features. The .NET assembly import means that PowerBuilder developers can import .NET framework assemblies or private assemblies and then use them within PowerScript code. It's the inverse of creating a .NET assembly target above. Now you can incorporate the assemblies that the .NET developers have created in your PowerBuilder application.

The conditional compilation feature means that you can add such calls to your existing code, but surrounded by blocks that ensure that they only get called if deployed to a .NET target. That is, your typical p-code compile would simply ignore the reference to the assemblies and continue to behave as it always had.

In a sense, it's similar to PBNI, which gave us the ability to incorporate C++ classes as if they were PowerBuilder objects within our applications. However, it's also a whole new level beyond that. The entire .NET Framework becomes available immediately (which is quite extensive), so do any .NET assemblies that were compiled to allow reuse. Unlike, PBNI, there's nothing special you have to do to make sure PowerBuilder can access the code. And finally, it's several order of magnitudes easier to write script that utilizes .NET classes than to code a PBNI extension.

There are some unfortunate aspects though. This particular feature would have been even more incredibly useful if it could also be supported in p-code compiles (a true Interop implementation). In addition, doing development for any of the .NET target types can be a bit painful because .NET targets don't currently support incremental recompiles. That latter deficiency is supposed to be in the plans for a later release.

6)  DataWindow Web Service Data Source
So you've found that great Web service and you want to display the results in a DataWindow. Until PowerBuilder 11 that meant you would need to create a proxy for it, import the SoapConnection and SoapException objects from the Sybase-supplied PBNI extension, create a script to call it, parse the results into a string or structure, and then import that into the DataWindow. With PowerBuilder 11 it just got a whole lot easier. You just point the DataWindow painter at the Web service, and it creates a DataWindow based directly on the return from the Web service. No coding! In fact, you can point the newly created DataWindow object to Web services to do the updates as well.

7)  Remember DataWindow Retrieval Arguments
This has to be one of the number one enhancement requests for some time. Not one of those ground-shaking new features, just something that will save you a ton of time when debugging and testing your application. It certainly drives me nuts when I've got a DataWindow that's got a bazillion retrieval arguments and I have to keep re-entering them every time I want to preview the DataWindow.

8)  System Tree Enhancements
The system tree now includes a script icon to indicate which functions and events are coded on the object. In addition, double-clicking on the event or function in the system tree opens the object to that event/function in the painter. Finally, if you've imported any .NET assemblies, they appear in the System Tree and you can browse either classes or methods.

9)  Break into Debugger Upon Exception
You can indicate, on an exception class basis, whether the debugger or your code's own exception handling gets the first chance at any raised exceptions. If you select the debugger, a dialog appears when that class of exception occurs, which allows you to select whether you want to continue into the debugger or return processing to the application code.

10)  Output Window Enhancements
I don't know about you, but it drives me nuts when I do a search and it scrolls my last build information a few pages up in the output pane, or I do a compile and lose my search results. Well, no more. The output pane has finally been split up according to the type of information: default (build messages), debug, errors, warnings, search, and (for .NET deploys only) unsupported features.

11)  Resizable Dialogs
If you work with real long paths to your source code, many of the dialogs in prior versions of PowerBuilder were aggravating because they weren't resizable and in some cases wouldn't allow you to scroll to see full path names. In PowerBuilder 11, all of the dialogs within the IDE are resizable. If you have long path names, simply widen the dialog until you can see the entire path in a single glance.

Well, those are my 11 choices. By the size of the text above and the number of items, you might think that the non end-user enhancements outweigh the end-user impacting items. Numerically, perhaps they do, but it would be hard to overstate the magnitude of the significance of the .NET targets. For some, this will mean that their PB-to-the-Web solution has finally arrived. For others, they will find that a smart client deploy gives the full capabilities of both a rich client and browser-based implementation. For still others, they will still do standard client deploys, but a whole new world of .NET functionality can now be incorporated.

More Stories By Bruce Armstrong

Bruce Armstrong is a development lead with Integrated Data Services (www.get-integrated.com). A charter member of TeamSybase, he has been using PowerBuilder since version 1.0.B. He was a contributing author to SYS-CON's PowerBuilder 4.0 Secrets of the Masters and the editor of SAMs' PowerBuilder 9: Advanced Client/Server Development.

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
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering m...
Product connectivity goes hand and hand these days with increased use of personal data. New IoT devices are becoming more personalized than ever before. In his session at 22nd Cloud Expo | DXWorld Expo, Nicolas Fierro, CEO of MIMIR Blockchain Solutions, will discuss how in order to protect your data and privacy, IoT applications need to embrace Blockchain technology for a new level of product security never before seen - or needed.
The 22nd International Cloud Expo | 1st DXWorld Expo has announced that its Call for Papers is open. Cloud Expo | DXWorld Expo, to be held June 5-7, 2018, at the Javits Center in New York, NY, brings together Cloud Computing, Digital Transformation, Big Data, Internet of Things, DevOps, Machine Learning and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding busin...
SYS-CON Events announced today that Synametrics Technologies will exhibit at SYS-CON's 22nd International Cloud Expo®, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Synametrics Technologies is a privately held company based in Plainsboro, New Jersey that has been providing solutions for the developer community since 1997. Based on the success of its initial product offerings such as WinSQL, Xeams, SynaMan and Syncrify, Synametrics continues to create and hone inn...
Digital Transformation (DX) is not a "one-size-fits all" strategy. Each organization needs to develop its own unique, long-term DX plan. It must do so by realizing that we now live in a data-driven age, and that technologies such as Cloud Computing, Big Data, the IoT, Cognitive Computing, and Blockchain are only tools. In her general session at 21st Cloud Expo, Rebecca Wanta explained how the strategy must focus on DX and include a commitment from top management to create great IT jobs, monitor ...
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
Recently, REAN Cloud built a digital concierge for a North Carolina hospital that had observed that most patient call button questions were repetitive. In addition, the paper-based process used to measure patient health metrics was laborious, not in real-time and sometimes error-prone. In their session at 21st Cloud Expo, Sean Finnerty, Executive Director, Practice Lead, Health Care & Life Science at REAN Cloud, and Dr. S.P.T. Krishnan, Principal Architect at REAN Cloud, discussed how they built...
Recently, WebRTC has a lot of eyes from market. The use cases of WebRTC are expanding - video chat, online education, online health care etc. Not only for human-to-human communication, but also IoT use cases such as machine to human use cases can be seen recently. One of the typical use-case is remote camera monitoring. With WebRTC, people can have interoperability and flexibility for deploying monitoring service. However, the benefit of WebRTC for IoT is not only its convenience and interopera...
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
No hype cycles or predictions of a gazillion things here. IoT is here. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, an Associate Partner of Analytics, IoT & Cybersecurity at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He also discussed the evaluation of communication standards and IoT messaging protocols, data...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Digital transformation - what we knew about it in the past has been redefined. Automation is going to play such a huge role in that because the culture, the technology, and the business operations are being shifted now," stated Brian Boeggeman, VP of Alliances & Partnerships at Ayehu, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...