YOUR FEEDBACK
More on the Software Assembly Question - Do Design Patterns Help?
Yanic wrote: Hi, > UML and MDA are being changed to be more data and doc...
SOA World Conference
Virtualization Conference
$50 Savings Expire May 23, 2008... – Register Today!


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
POWERBUILDER LINKS YOU MUST CLICK ON


PowerBuilder Product Review — Who Needs to Do Impact Analyses?
Save yourself from flubbing it

Digg This!

Last week, our development team was supposed to launch a new version of our application. As usual, right before finishing the application we discover that one or two problems had to be corrected.

We were then faced with the following options:

  • We correct the problems and test to verify that everything is working. Usually this means the project will be delayed (it wasn't exactly ahead of schedule to begin with...) and that numerous time-consuming tests will have to be done.
  • We correct the problems without testing the application. After all, we've done very complete tests and since the project is late already ...
  • We wait for the new version to modify the changes ("it's too bad but we saw these problems too late and didn't want to delay the project any longer...").
Lately, we've been exploring a new method of implementing changes more efficiently using an impact analysis tool called Visual Expert to analyze the consequences of each change. Depending on the results, we decide if we modify the code now or wait for the next version.

The impact analysis lists all the components related to an item we want to change. If there are lots of components, the modification will be time-consuming...and probably put off until the next version.

A big advantage of impact analysis is that it helps you avoid problems that can be caused by a change. Visual Expert automatically finds all the impacted components. We get complete results where manual searches can take a long time to do and can be incomplete. To compensate for the limitations of a manual search we've had to reinforce the testing team.

Here are some examples of modifications that require impact analysis:

Example 1: We want to add a new column to a table in a database. Impact analysis will list all the PowerBuilder objects or stored procedures using this table. We may have to modify them to take the new column into account.

  • Visual Expert starts to analyze the application to extract the SQL statements.
  • It then identifies all the tables and columns used in the application (see Figure 1).
  • We can then select a table and do an impact analysis: all the components using this table are listed (see Figure 2).
  • Each component found can be opened directly in PowerBuilder and modified.
Example 2: We want to add a new parameter to a function. The impact analysis will search all the scripts referencing this function: it might be necessary to modify the calls to the function to take the new prototype into account.
  • Visual Expert starts analyzing the application.
  • It identifies all the elements of the application, including the windows.
  • We can then select a window and list its methods. We select an event to run an impact analysis on. It lists all the components using the event (see Figure 3).
  • Each component it finds can be opened directly in PowerBuilder and modified.
However, impact analysis tools have their limits. For instance, they analyze source code and don't detect the dynamic calls.

Example 3: If a dynamic SQL request is generated during an application's execution, the impact analysis tool won't be able to read it from the source code and so won't find any references to the tables and columns used.

To fill this gap, Visual Expert allows for sophisticated string searches. The idea is the same with the string searches in PowerBuilder, with very useful new functionalities such as search of a given type of object, search of objects modified at a certain date, and search inside PowerBuilder scripts only.

The textual search completes the impact analyses by searching inside the code for the name of the element we want to modify.

Example 4: We want to add a column in the "Product" table and we want to know where this table is used in the application. We'll start with an impact analysis (as shown above), which will take into account the static SQL (clearly visible in the code). We'll continue by searching the text "product" in the application, which will find the dynamic SQL - assembled during the execution of the application - that use the "product" table.

Who needs impact analysis? According to me, every project needs it. The question is not "does my project need it?" but a question of the real benefits. I recommend you come to your own decision by getting an evaluation copy of the application from www.visual-expert.com and trying it for yourself.

PBDJ LATEST STORIES . . .
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
The PB Future: More on Graphs in PowerBuilder 11.5
Last week I posted a screen shot of the new 3D Rendering capabilities being added to some of the 3D graphs in PowerBuilder 11.5. It was met with mixed reviews on the PowerBuilder Futures newsgroup (forums.sybase.com) so I went back to the drawing board to see what I could come up with.
BluePhoenix Expands Modernization Collaboration with Microsoft
BluePhoenix announced that it has expanded its collaboration with Microsoft on legacy modernization projects. The collaboration provides customers moving their applications or databases to .NET-based environments the best in both modernization services and technical support. BluePhoeni
Sybase PowerBuilder Delivers AJAX and .NET Enhancements Enabling Rich Internet Application Development
Sybase announced that AJAX development capabilities and further Microsoft .NET enhancements have been added to the latest version of Sybase PowerBuilder 11, the premier 4GL rapid application development (RAD) tool. PowerBuilder 11.2 represents another milestone in the PowerBuilder road
PowerBuilder 11.2 Released: Sybase's Flagship IDE
Sybase has released the production version of its flagship .NET development tool - PowerBuilder version 11.2. This latest release of its premier IDE for RAD includes not only standard fixes but also a good list of new features. Here is the 'Coles Notes' version of these new features.
PowerBuilder Takes You To .NET
In June of 2007, Sybase released PowerBuilder 11. PowerBuilder developers can now deploy PowerBuilder components as .NET Assemblies or as .NET Web Services. A PowerBuilder developer can now create these .NET resources so that those who develop .NET solutions can benefit from PowerBuild
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 POWERBUILDER / SYBASE NEWS
Sybase and Sun Set Guinness World Record for World's Largest Data Warehouse
Sybase, Inc. (NYSE:SY), the largest enterprise software and services company exclusively