Blog-N-Play.com
Anytime a feature of a framework gives me something for free that I don't need to manually implement I'm a happy camper. One such feature of ASP.NET MVC 2 is jQuery client-side validation. The
Read Digital Edition


ADS BY GOOGLE
Top Three Links You Must Click On


I Still Haven’t Found What I’m Looking For…
... Particularly as a means of moving PowerBuilder applications to the web

Particularly in a means of moving PowerBuilder applications to the web. What I’m looking for doesn’t require a server license or the installation of unmanaged code to the web server, and works well across different browsers (not just Internet Explorer). The WPF DataWindow will help move us to a place where we won’t need to deploy unmanaged code. But I’m doubtful that the current WebForms implementation will ever get us to a place where we are browser independent. Not that I have any doubts about the technical capabilities of the Sybase engineering staff. It’s just a cold hard fact that there are too many inconsistencies in the way that various browsers render HTML/JavaScript based pages for us to expect any solution to work that doesn’t require hand tweaking to ensure adequate results across multiple browsers. And cross-browser support is becoming increasingly important. According to http://marketshare.hitslink.com, Internet Explorer only has 72% market share. Firefox is at 20%, Safari at 6%. Google Chrome is still in beta, and only shows a > 1% market share, but I expect it to take off once (if ever) it leaves beta.

What might get us there? I see two potential approaches. One would be to take the WPF capability that Sybase is planning to provide in PowerBuilder 12, and deploy that via XBAP.(XAML Browser Applications). If you try out the weathernews XBAP app (http://weathernews.com/wpfglobal.xbap) in both Internet Explorer and Firefox, it looks identical. I managed to get it functioning under Google Chrome by copying over some of the Firefox runtime files. I couldn’t get it to work under Safari at all though.

The other approach would be Silverlight. Now although Silverlight and WPF are both based on XAML, they aren’t equivalent. I was under the impression that Silverlight (formerly WPF/E) was a subset of WPF. They actually differ significantly. For more information, you might see “Code reuse in WPF and Silverlight 2” (http://xrl.us/osafu), which provides an explanation of the issues associated with sharing code between Silverlight and WPF. Some of the other differences are highlighted in an article entitled “Silverlight Problems That Affect Me” (http://xrl.us/osafo). Silverlight is designed to not only be browser independent, but platform independent as well. What’s interesting about that is that, as “Program Silverlight with the CoreCLR” (http://xrl.us/or9o9) point out, is that there are runtimes in the works for Linux and Mac OS X, but for Symbian OS and Windows Mobile. Imagine Silverlight functionality being added into PocketBuilder as well, so that we could eventually deploy to non-Windows Mobile platforms.

I think this later approach makes more sense, and I really believe that Sybase would be well served to focus on it (SilverLight) now rather than WPF. I’ve argued in Sybase’s newsgroups that I don’t believe that Silverlight is currently “ready for prime time”. But by the time Sybase releases PowerBuilder 12, I’m sure it will be. Silverlight is currently in a beta for 2.0. I believe by the time 3.0 is available it should be a prime contender. If Sybase was to focus on deployment to it for PowerBuilder 12.0, they could be ready when Silverlight 3.0 is released.

Why Silverlight over WPF? Mainly because PowerBuilder developers currently have adequate methods of deploying thick-client apps (native PowerBuilder or .Net WinForm). What we lack is an adequate method of deploying thin-client (or rich internet) apps. I’m sure that WinForm will eventually be made obsolete, much the way that Win32 replaced Win16, but it’s going to be quite some time before that happens. Enough time for PowerBuilder to support WPF in the major version after 12.0. We need a better web solution today though. If you look at the message traffic in Sybase’s newsgroups, you’ll see that web apps are where the interest is. We opened up sections of the newsgroups specific to the new .Net target types in June of 2007. Since then (roughly a year and a quarter) there have been 300+ posts for .Net assemblies, 550+ posts for .Net web services, 700+ posts for .Net WinForms and 3000+ posts for .Net WebForms. People are interested in deploying their PowerBuilder applications as web apps, and the current thin-client solution is not (in my opinion) adequate for many people. The rich internet approach that Silverlight provides would serve many of those people better.

About 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.

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

Register | Sign-in

Reader Feedback: Page 1 of 1

  Subscribe to our RSS feeds now and receive the next article instantly!
In It? Reprint It! Contact advertising(at)sys-con.com to order your reprints!
Subscribe to the World's Most Powerful Newsletters
Linux Links You Must Click On !

Lo Ultimo
Trabajando de forma conjunta para conseguir un mundo mejor, la familia del músico de reggae Bob Marl...
La empresa Boston Scientific (NYSE: BSX) anunció hoy que ha alcanzado el hito de los 1000 pacientes ...

Dyadem anunció hoy que fue elegida por Tyco Electronics Ltd. (NYSE: TEL) para brind...

CNPV Solar Power SA, un fabricante integrado líder de productos fotovoltaicos solares desde la produ...
ADS BY GOOGLE
A-Server, a specialist in datacenter virtualization, will launch a new version of its Datacenter-as-...
Cloud Computing Journal caught up with the CEO of a major new player in the fast-emerging Cloud ecos...
Samsung Telecommunications America (Samsung Mobile), the No. 1 mobile phone provider in the U.S., to...
Lately it seems like writing blogs is getting out of fashion, what with the rise of microblogging st...
Apple’s patent suit against Google phone maker HTC is only the tip of the iceberg, according to Oppe...
The U.S. Court of Appeals for the Federal Circuit Wednesday dashed Microsoft’s hopes of overturning ...
“Soon” is the timetable for Google and China to come to terms over censorship, according to what CEO...
Microsoft is killing off its Windows Essential Business Server 2008 (EBS) effective June 30 to “stre...
Gartner is now projecting 19.7% growth in worldwide PC shipments this year. That would mean 366.1 mi...
Rackspace has picked up the Drizzle team that Oracle cast off when it acquired Sun. In case you do...
Microsoft only started distributing its newfangled Ballot Screen last week to give Europeans an anti...
W3C, which hasn’t had a CEO since at least last July, has hired ex-Novell CTO Jeff Jaffe, who was re...
CA is buying privately held Nimsoft Inc for $350 million in cash, another bet in the cloud. The deal...
Law enforcement is no different in its IT needs and constraints from many other enterprises – they r...
Do you want a top down, business-driven, automated data center where efficiencies deliver agility an...
Identity and Access Management (IAM) is a complex challenge faced by organizations worldwide, and th...
How do you tap the social media sites in a way that reaches repeat customers, ensures a consistent u...
We are constantly bombarded with articles and presentations about the security risks in cloud comput...
What are the attributes that attract applications to public clouds? Why implement private clouds? Wh...
Data accumulation rates are growing astronomically and managing data in traditional ways is getting ...