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

SYS-CON.TV
Cloud Expo & Virtualization 2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts
PowerBuilder .NET Web Services with Various Front Ends
A work in progress

Last year I wrote an article in PBDJ describing an ASP.NET project that was done with DataWindow.NET in the browser ("Prognos" Volume 14, Issue 4) and PowerBuilder Web Services in the back end. The front end consisted of an intro page, two data entry pages, and one page with the result.

The front end was rewritten in a couple of other technologies to test different ways to create browser-based applications. This article covers solutions that run in different browsers and on different operation systems. I will also look at PowerBuilder 11.2 Webform although it is IE-only. At the end I will cover PowerBuilder WinForm and PocketBuilder as they could be solutions for applications that are not always connected.

This article doesn't cover all the possible techniques (Appeon comes to mind if you're fine with an IE-only solution or WPF XBAP used for no-touch deployment of Windows applications) and doesn't cover a rewrite of the ASP.NET solution using third-party components.

The article shows the invocation of the help Web Service from one single button. The help Web Service takes three arguments (Configuration, Language, and Help Id). My presentation at TechWave 2008, for example, goes beyond this and covers passing XML data to a Web Service. The samples are available in the sandbox of our Web site. A list of links is provided at the end of the article.

OpenLaszlo 4.0
OpenLaszlo is an open source platform for developing and running RIAs. It's backed primarily by the company Laszlo Systems. The programming language is LZX (XML and JavaScript). Applications can either be compiled into a single SWF with some limitations (for example, no Web Services) or to Java servlets that generate the code during runtime on-the-fly. Besides generating a Flash GUI, OpenLaszo supports the generation of DHTML front ends. Development in OpenLaszlo can be done in different IDEs. My favorite is the spket plug-in for Eclipse. However there's no graphical designer for the GUI.

First, I create the application consisting of a window and three tab pages (no intro page). I create a new project and a new file called prognosclient.lzx. I only place one label, field, and help button on the first tab page (see Figure 1). The help button is named that way so that, by passing it to the help Web Service, the appropriate help text is returned. Since I need to display the help information I also create a helpwindow.

As a next step I define the SOAP interface for accessing the Web Service. It consists of a SOAP element referencing the wsdl with the wsdl attribute. For each function of the Web Service a remotecall element has to be defined with an ondata handler that is called when data is returned from the Web Service. In our sample the returned data is shown in the help window. The arguments are passed to the Web Service as XML strings. I create a createHelpXML function that takes as an argument the ID of the help item and returns the XML string to me. The only thing left is calling the help when clicking on the info button. This will be achieved by an onclick handler that calls the createHelpXML and passes it to the Web Service (see Listing 1).

About Arthur Hefti
Arthur Hefti is CEO of CATsoft Development GmbH in Zurich. He has been working with PowerBuilder since version 3 and taught dozens of PowerBuilder training classes. He and his team create custom-made client/server and Web applications using XML, Web Services, and encryption.

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

Register | Sign-in

Reader Feedback: Page 1 of 1

Latest Cloud Developer Stories
Can you bring services from the cloud to your customers faster and have them adopt it with ease of use or bring the power of bundled services to the fingertips of your clients without creating new rigid ‘apps stove pipes'? Do you want to prevent your business running away to publ...
OCZ Technology Group, a provider of high-performance solid-state drives (SSDs) for computing devices and systems, on Tuesday announced the Z-Drive R4 CloudServ PCI Express (PCIe) flash storage solution, designed to accelerate cloud computing applications and reduce operating expe...
Many organizations have embraced, or are considering, the benefits of cloud computing – speed, flexibility, increased expertise, shared workload, reduced costs, etc. The benefits are many – but so are the risks. What are the threats to cloud security? Which parties assume respons...
In August 2011, SHI Enterprise Solutions (ESS) division launched the SHI Cloud, offering reliable and cost-effective industrial-grade cloud computing platforms. That same division achieved an 82 percent increase in revenue over 2010.
SoftLayer Technologies on Tuesday announced the immediate worldwide availability of SoftLayer Object Storage, a redundant and highly scalable cloud storage service that allows users to easily store, search and retrieve data across the Internet, with optional CDN connectivity, or ...
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

Breaking Cloud Computing News
Salary increases will remain negligible in Japan this year, with employers instead turning to benefi...