Welcome!

.NET Authors: ChandraShekar Dattatreya, Pat Romanski, Srinivasan Sundara Rajan, Jayaram Krishnaswamy, Jim Kaskade

Related Topics: PowerBuilder, .NET

PowerBuilder: Article

The PowerBuilder .NET IDE

For the past year plus I've been spending a lot of time working with a web-based BI tool

For the past year plus I've been spending a lot of time working with a web-based BI tool (the development is actually done in a plug-in to Eclipse, but the end users access the results through a browser). The tool reminds me a lot of the DataWindow. You create objects that can either map directly to a database table or are based on textual SQL. Those objects are then combined into a composite object that the user can access to do ad-hoc queries without having to know how the underlying tables are related. The data connection is abstracted from the data access layer, and the reports it generates have an extensive event model that can be coded to respond to a wide variety of system events and user interactions.

That being said, it also reminds me of PowerBuilder and the DataWindow because as powerful as it is, it can also be extremely frustrating to work with. It rewrites the SQL in the composite objects, and sometimes it undoes a rather complicated operation that I didn't need rewritten. At that point I'm left trying to find a way to isolate my complicated operation so that the tool doesn't try to rewrite it for me.

I have been having similar problems with PowerBuidler .NET 12.5 lately. One of the updates in the .NET Framework 4.5 is a native Ribbon control for WPF. There was one in the .NET Framework 4.0, but it looks like it might have been a WPF wrapper around a non-WPF control. I wanted to try out the new control, so I installed the new framework. As soon as I did, I could no longer compile *any* WPF applications. So I uninstalled .NET 4.5, at which point I couldn't even run PowerBuilder .NET any longer. I ended up having to (a) uninstall .NET 4.5, (b) uninstall PowerBuilder 12.5, (c) reinstall PowerBuiler 12.5 and (d) reinstall .NET 4.0. Yes, I had to reinstall the previous version of .NET to completely clean it up.

I'm not sure it's PowerBuilder .NET's fault. I've got a lot of software tools on this machine, including multiple copies of Visual Studio, the Windows SDK, etc. Sybase wasn't able to replicate it with a fairly clean install. I was also setting up a second machine that had MS SQL Server 2012 on it, which also installs a couple of the Visual Studio 2010 shells. Since PowerBuilder.NET needed the Windows SDK, I attempted to install that. However, that wouldn't install until I removed all traces of the Visual Studio 2010 shells that MS SQL Server installed. It seems it's not that uncommon for Microsoft .NET related tools and SDKs to step on each other.

For what it's worth, that particular pain point was enough to finally convince me to start using virtual machines and to put the different development tools (and versions of different development tools) on different virtual machines. Once I got started (I'm using Oracle's VirtualBox, which is free), I'm surprised at how simple it is and wondered why I waited. The only snag so far is that I had to order more memory for my laptop and desktop. And eventually I might need to do hard drive upgrades. But it's better than the nightmare of software conflicts that I had to keep dealing with. If I do run into configuration problems in the future, I can just send tech support the VM image so they can see exactly what I'm dealing with.

That's all well and good, but what's the point you're probably asking. Well, all this pain got me thinking about how much pain we're willing to put up with to continue to use products that we like. There's got to be some point where the pain we experience from the tool not working the way we need it to overrides the benefits, at which point we start looking for some new development tool. With PowerBuilder the pain isn't really new. As long as I've been using the tool, and that's been for just about all the time it's been around, there's always been a point using it when it's a struggle to get it to do something, often times because something's not working the way it's supposed to. At one point somebody commented, and I think there's a lot of truth to it, that using it was like playing soccer in a minefield. The tool was buggy, but the people who had been using it for a while knew what the bugs (mines) were and avoided them, so they were successful using it. People who were new to the tool kept running into the mines, and wondered why the more experienced people even bothered using it.

I think the key for the product at that time, as well as for some of the other tools I've mentioned, is that the pain factor only reared its head after you'd been using it and being productive with it for a while. So you had some feel for what the tool could do and liked it, and you were willing to put up with the pain to continue to achieve the benefits. That's important, because if you start experiencing the pain point sooner than that, you won't get a feel for the advantages that the tool offers and wouldn't be motivated to continue using it.

I also got to thinking that this may be the reason that some people aren't as excited with the PowerBuilder .NET IDE as I am. Of course, I'd already been doing .NET development using Visual Studio for quite some time by the time that PowerBuilder .NET became available, so I was already familiar with the advantages that a .NET development tool offers. But for people who aren't sold on the benefits of .NET just yet, I'm not sure if some of the pain points associated with using that IDE aren't enough to keep people from using it before they get to the point where they realize the benefits. In particular, when I want to have PowerBuilder .NET interact with some .NET classes, I'm often starting with what I know is working C# code. I might even have created a small sample of what I needed to do in C# first. So when I'm working in PowerBuilder.NET, I'm mostly converting the C# code into the syntax that PowerBuilder .NET will accept. People who aren't that experienced with C# - or who aren't starting off with working C# code - face a double burden because they often don't know what the script is supposed to look like yet.

So, I do feel your pain. I know that I can find the .NET IDE a struggle to work with at times, and I imagine it's much more of a struggle for people new to .NET. We need to encourage SAP to work on making PowerBuilder.NET even simpler to use, particularly for people who are new to .NET. Customers will never learn to appreciate what it can do if they have trouble with it when they first start using it. Eventually you hit roadblocks with any tool, but they should come when you're pushing the envelope, not when you've first using it.

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 (2) View Comments

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.


Most Recent Comments
mlibner 04/29/13 10:18:00 AM EDT

I agree completely. I struggled with the same problems until I installed PB.net and Visual Studio on a different VMs. SAP needs to continue developing the tool to reach its full potential. If people will step out of their comfort zone and give PB.net a chance (instead of bashing it) they will see how much easier integrating with other .net developers, vendors, tools, controls etc. it is than Classic. When a hammer is the only tool you have everything tends to look like a nail.

Dimitri Joosten 12/29/12 08:18:00 AM EST

Totally agree on this article! I find myself in solving problems in C# first and then "translate" it into PB script. To me PB.Net is the best PB yet as you can do much more with it once you know how .Net and XAML works.I know for many people it will be a learning curve. I hope SAP comes with improvements on the product soon with new targets like HTML 5 and winRT and an upgrade to .Net 4.5

@ThingsExpo Stories
The Internet of Things promises to transform businesses (and lives), but navigating the business and technical path to success can be difficult to understand. In his session at @ThingsExpo, Sean Lorenz, Technical Product Manager for Xively at LogMeIn, demonstrated how to approach creating broadly successful connected customer solutions using real world business transformation studies including New England BioLabs and more.
WebRTC defines no default signaling protocol, causing fragmentation between WebRTC silos. SIP and XMPP provide possibilities, but come with considerable complexity and are not designed for use in a web environment. In his session at @ThingsExpo, Matthew Hodgson, technical co-founder of the Matrix.org, discussed how Matrix is a new non-profit Open Source Project that defines both a new HTTP-based standard for VoIP & IM signaling and provides reference implementations.
DevOps Summit 2015 New York, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long development cycles that produce software that is obsolete at launch. DevOps may be disruptive, but it is essential.
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 his session at Internet of @ThingsExpo, James Kirkland, Chief Architect for the Internet of Things and Intelligent Systems at Red Hat, described how to revolutioniz...
Connected devices and the Internet of Things are getting significant momentum in 2014. In his session at Internet of @ThingsExpo, Jim Hunter, Chief Scientist & Technology Evangelist at Greenwave Systems, examined three key elements that together will drive mass adoption of the IoT before the end of 2015. The first element is the recent advent of robust open source protocols (like AllJoyn and WebRTC) that facilitate M2M communication. The second is broad availability of flexible, cost-effective storage designed to handle the massive surge in back-end data in a world where timely analytics is e...
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.
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...
The 3rd International Internet of @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that its Call for Papers is now open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
How do APIs and IoT relate? The answer is not as simple as merely adding an API on top of a dumb device, but rather about understanding the architectural patterns for implementing an IoT fabric. There are typically two or three trends: Exposing the device to a management framework Exposing that management framework to a business centric logic Exposing that business layer and data to end users. This last trend is the IoT stack, which involves a new shift in the separation of what stuff happens, where data lives and where the interface lies. For instance, it's a mix of architectural styles ...
The definition of IoT is not new, in fact it’s been around for over a decade. What has changed is the public's awareness that the technology we use on a daily basis has caught up on the vision of an always on, always connected world. If you look into the details of what comprises the IoT, you’ll see that it includes everything from cloud computing, Big Data analytics, “Things,” Web communication, applications, network, storage, etc. It is essentially including everything connected online from hardware to software, or as we like to say, it’s an Internet of many different things. The difference ...
The security devil is always in the details of the attack: the ones you've endured, the ones you prepare yourself to fend off, and the ones that, you fear, will catch you completely unaware and defenseless. The Internet of Things (IoT) is nothing if not an endless proliferation of details. It's the vision of a world in which continuous Internet connectivity and addressability is embedded into a growing range of human artifacts, into the natural world, and even into our smartphones, appliances, and physical persons. In the IoT vision, every new "thing" - sensor, actuator, data source, data con...
SYS-CON Events announced today that Gridstore™, the leader in hyper-converged infrastructure purpose-built to optimize Microsoft workloads, 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. Gridstore™ is the leader in hyper-converged infrastructure purpose-built for Microsoft workloads and designed to accelerate applications in virtualized environments. Gridstore’s hyper-converged infrastructure is the industry’s first all flash version of HyperConverged Appliances that include both compute and storag...
P2P RTC will impact the landscape of communications, shifting from traditional telephony style communications models to OTT (Over-The-Top) cloud assisted & PaaS (Platform as a Service) communication services. The P2P shift will impact many areas of our lives, from mobile communication, human interactive web services, RTC and telephony infrastructure, user federation, security and privacy implications, business costs, and scalability. In his session at @ThingsExpo, Robin Raymond, Chief Architect at Hookflash, will walk through the shifting landscape of traditional telephone and voice services ...
"Matrix is an ambitious open standard and implementation that's set up to break down the fragmentation problems that exist in IP messaging and VoIP communication," explained John Woolf, Technical Evangelist at Matrix, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
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...
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...
The 3rd International @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. 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.
The Internet of Things will greatly expand the opportunities for data collection and new business models driven off of that data. In her session at @ThingsExpo, Esmeralda Swartz, CMO of MetraTech, discussed how for this to be effective you not only need to have infrastructure and operational models capable of utilizing this new phenomenon, but increasingly service providers will need to convince a skeptical public to participate. Get ready to show them the money!
The 3rd International Internet of @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that its Call for Papers is now open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
"There is a natural synchronization between the business models, the IoT is there to support ,” explained Brendan O'Brien, Co-founder and Chief Architect of Aria Systems, in this SYS-CON.tv interview at the 15th International Cloud Expo®, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.