Vous êtes sur la page 1sur 12

PowerBuilder® 8.0 vs. Visual Basic® 6.

0
Competitive Analysis
PowerBuilder 8.0 New
Features Round Up
■ Workspace Environment ■ Enhanced Productivity
The new workspace environment allows development teams to control a In addition to the workspaces and targets, the IDE has additional features to
multi-faceted development effort including one-or-more standard client- enhance developer productivity. From enhanced auto-scripting, to new and
server applications, one-or-more distributed component applications and more powerful wizards, command-line interfaces to perform deployment and
a collection of web-targets. IDE enhancements, the PowerBuilder environment realizes the potential that
was begun in the preceding version.
■ Targets
The deployment target for each application can be different. The target main- ■ Exception Handling
tains information about the application and what type of deployment would Java™-like exception handling is now part of the PowerBuilder language.
be required. This allows for a more robust development effort.

■ Web Targets ■ DataWindow™ Enhancements


Sybase’s PowerSite product is fully integrated into the PowerBuilder environ- The DataWindow, the most powerful single control in PowerBuilder, is
ment allowing developers to develop PowerBuilder applications, EAServer enhanced to add automated JavaScript generation to it’s Web-DataWindow
components and/or HTML, JavaScript™ web-components. capabilities.

■ Enhanced EAServer Support


It is easy to work with an EAServer target with features specifically designed
to make the process much simpler and error-free.

■ Enhanced Stability and Speed


1
PowerBuilder 8 is much more stable and performs better than PB 7.

■ Enhanced Source Code Control


Source Code Control is in line with the way source code control works in
other non-binary environments.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PowerBuilder 8.0 Feature
Strengths vs. VB 6.0
■ DataWindow
The DataWindow is an extremely powerful control allowing access to data for A major weakness of VB is its platform dependence. If running something
editing or reporting in a multitude of formats and access choices. The HTML other than a Microsoft operating system, one cannot use Visual Basic.
DataWindow gives a developer the same capability of a DataWindow in a thin- There’s a tendency to try and lock developers into support tools, such as
client browser-based solution. PowerBuilder can build queries, create DataWindows MS SQL Server™ and MS Visual SourceSafe by making the integration of
and save these for future use, all at runtime. This provides users of PB applications other vendor products more cumbersome. It is not as open as PowerBuilder.
ADO is the data access standard that VB follows. This is another Microsoft
ad-hoc query and reporting capabilities.
self-imposed standard which is currently being followed only by the
VB does not have the same capabilities of the PB DataWindow with its data Microsoft set of tools.
access, editing, and reporting functionality. Additionally, there is no way to
create a VB Active Data Object (ADO) control on-the-fly as you can with ■ Application Server Integration
the PB DataWindow. Integration with EAServer means that PowerBuilder developers can use either
the COM or CORBA object models for distributed component development.
■ Object Orientation PowerBuilder nonvisual objects can be deployed as CORBA compliant compo-
Object-oriented development has always been a major strength of PowerBuilder. nents into EAServer making these components available to any front-end. The
Inheritance is truly made simple by the graphical inheritance model used in ease of component development with PowerBuilder is unsurpassed and now
the product. includes remote debugging. PB can also deploy COM components into MTS.

VB is not object-oriented. Some of the Microsoft® Controls are only in exis- VB runs only on Microsoft’s MTS application server and conforms only to
tence because of this lack of object-orientation. For example, there is a listbox the COM object model.
control and a filelistbox control. On object-oriented languages, the filelistbox
control would be a specialization of the listbox control, and can then further ■ Suitability to Task
2
be specialized by the developer instead.
PowerBuilder 8.0 is suited to develop small, medium, and large enterprise applica-
tions. Business data and business logic are easily encapsulated with the PowerBuilder
■ Platform Independence
object model and PowerBuilder allows you to deploy easily to virtually any platform
PowerBuilder applications can run in Windows and its components can be
when using EAServer. The Web-targets and EAServer integration enhancements
deployed in Java environments utilizing EAServer today, and other 3rd-party
make PowerBuilder a strong tool for developing distributed applications.
application servers in the future. PowerBuilder clients can access CORBA, COM
PowerBuilder client applications can also connect to Enterprise JavaBeans™
or JAVA components via EAServer, making it one of the most diverse tools
(EJB’s) in EAServer, further leveraging the accessibility it has to multi-faceted
available. The ability to develop components in PowerBuilder and easily deploy
components.
to EAServer also means that PB components can easily be accessed by any exter-
nal client on any platform. VB is best suited to developing only small to medium-sized applications due
to shortcomings in reusability capabilities. The VB model does not support
any Java access, therefore the proliferation of Java servers and components
Sybase PowerBuilder vs. Microsoft Visual Basic 6.0 are inaccessible.
PowerBuilder 8.0 Feature
Strengths vs. VB 6.0
continued

■ Release Migration

PowerBuilder’s source code migration is easy.

VB users have no easy or clear migration path to .Net. It would appear most
VB 6 applications will not be forward compatible with the .NET initiative. It
would appear that more VB 6 apps will need some type of modification.This
seems to indicate that the .NET language of choice would be C#, being that
it has been formulated as a Java competitor. This seems to leave the VB
community out in the cold.

■ Scalability
PowerBuilder can be used to develop applications for small, medium, or large
client-server applications. It can also be used in distributed environments.

Visual Basic is primarily suited for developing small to medium-sized client-


server applications, and Microsoft-centric distributed components. The
object models follow the Microsoft standards only, making the product
not as open.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PowerBuilder 8.0 Object Orientation
Advantages Over VB 6.0
■ Built-in Controls ■ Industry Standard Object Model Support
PowerBuilder ships with a standard class set of 175 controls with the ability PowerBuilder can be compiled into COM components. The integration with
to create custom classes based on any of these controls. The product also ships EAServer allows PowerBuilder code to be deployed as a CORBA component
with a comprehensive class library to facilitate the development of enterprise and makes PB components accessible from any front-end tool. Additionally,
class client-server and distributed applications and components. In addition, PowerBuilder 8 provides access to deployed EJB’s in EAServer, opening addi-
any OLE or ActiveX® control is accessible from within the PowerBuilder envi- tional access avenues.
ronment.
Visual Basic supports only the Microsoft COM model and allows compo-
nents to be built only as ActiveX controls which can be deployed only into
■ External Controls
an MTS or COM environment.
OLE and ActiveX controls can be easily added to the PowerBuilder
environment, or accessed via the built-in OLE support. ■ Other (Mail, OLE, etc.)
PowerBuilder supports MAPI directly and other protocols through third party
■ Internet Controls
controls. Access to EAServer also means that PB has access to the full range of
PB contains several controls geared towards internet access, but its defining the J2EE™ implementation, including JavaMail.
attribute is the integration of the PowerSite product into the environment. Being
able to develop a full-fledged Web site completely within the environment is
very desirable, while the additional integration with the EAServer product line
makes PowerBuilder a formidable entry in the Internet development world.

Visual Basic does not directly ship with built-in Internet Controls but relies
on 3rd-parties. The downside to this is that because there are no out-of-the-
box Internet Control solutions, additional evaluation time is needed — as 4
well as additional cost and vendor relationships — which adds complexity
and higher overall expense.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PowerBuilder 8.0 Productivity
Benefits Over VB 6.0
The PB DataWindow maintains an advantage in terms of data access due to its the current application. Sharing across applications is done using either the
versatility in data presentation styles, data access support and HTML generation class library metaphor or by simply including the library containing the object
capabilities. The improvements in the IDE make more functionality accessible class in the project.
at the developer’s fingertips and the support of the object-oriented development
The addition of the Powersoft Foundation Class Library (PFC) gives PowerBuilder
model provides an advantage for larger scale systems development. VB does not
a competitive edge. The PFC is a fully-fledged, battle-tested class library and is
match up to the availability of options that the PowerBuilder/EAServer integration
capable of supporting the most taxing development effort. It is well written and
offers. Microsoft’s continued anti-Java campaign hurts it in this arena, especially
covers many areas of common code requirements. Considering that every
with the number of Java-based deployments continuing to grow.
PowerBuilder object developed is reusable as a class or class ancestor, this gives
a PowerBuilder developer a collection of classes that rival many C++ class
■ Developer Productivity
libraries. Extending the library with custom components is a relatively simple
For client-server development, the PowerBuilder Foundation Class Library
process. Components can be built in such a way that they need only be included
(PFC) is superb. A great deal of standard business functionality is built into
if they are going to be used. VB’s business-oriented class library is weaker.
the product and aids in developing consistent and standardized client-server
applications. Additionally, the availability of class libraries for distributed The ability for PB to add components at runtime (that were not included when
development allows these applications to be migrated to distributed applica- the application was compiled), is an advantage over Visual Basic as there are
tions very quickly and relatively pain-free. language features within PowerBuilder that support late-binding and dynamic
function calling. So it's possible to write applications that are open to expansion
The PowerBuilder 8 development environment has several key developer aids
whereas Visual Basic is an early-binding language and such flexibility would be
including workspaces, the system tree and tighter integration with EAServer.
much more difficult to build in. With careful design, an application can “build
Code and/or objects can easily be moved into component form allowing
itself ” at runtime by adjusting the sets of libraries it will include. The
smooth transition to distributed applications.
application can be pre-coded to access components that aren’t included at
The ability to develop a DataWindow, PowerBuilder’s key data-processing compile time to facilitate this. Another strength of PowerBuilder is that its code 5
element, and then be able to reuse the DataWindow in a distributed context, can be generated by external design tools such as Rational Rose and Riverton
including access from ASP or JSP pages, is a very strong tool, and reduces HOW. Additionally, included in the PowerBuilder product packaging is a demo
overall costs significantly. version of Sybase PowerDesigner,® which allows the generation of standard or
PFC-based code based upon data or object models.
■ Productivity Through Reuse
A major strength of PowerBuilder is that of reuse. Visual Basic lacks the ability ■ Third Party Integration
to reuse objects. Every PowerBuilder object that is created becomes a reusable Third party controls such as OCX’s and ActiveX’s are supported easily through
class, and an object can be created as simply as choosing File|Inherit from the the standard COM interfaces. In addition, the developer has access to any
menu and then File|Save to create a new object class. As soon as an object is CORBA components that are accessible via an EAServer connection. A
Saved for the first time, it is immediately available to any developer or object in Wizard quickly lists all of the available components and their methods.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PB 8.0 Development Capability
Advantages Over VB 6.0

Category PowerBuilder 8.0 Visual Basic 6.0


2-Tier Client-Server Excellent development tool for 2-tier client-server. VB does not scale to moderate or enterprise-class
Very easy to use, abstracting the complexities of client-server applications.
object-oriented development.

N-Tier With proper design techniques, it is very easy to develop 3-tier VB is limited, in terms of breadth of offering, in allowing the
applications using PowerBuilder and EAServer. What sets development of components beyond ActiveX for use
EAServer apart from other application servers is the built-in in MTS/IIS environments.
support for all of the major distributed computing standards,
including CORBA, COM, EJB and native PowerBuilder. VB can be used to develop distributed application clients only
for COM-based servers which limits its reach into and through-
PowerBuilder is extremely capable of developing distributed out the enterprise.
client applications. With its capability to use COM and
CORBA interfaces, PowerBuilder clients can leverage a
number of technologies including EJBs.

Internet Devl – Web Client PowerBuilder provides for the development of HTML, VB’s support of dynamic HTML pages for multi-media does
JavaScript, DynaScript, and Web pages that can also include not scale to moderate and enterprise-class systems of larger
Java Applets by utilizing the Web DataWindow.® complexity. It is oriented toward smaller implementations.
6

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PowerBuilder 8.0 Development
Capability Advantages Over VB 6.0
continued

Category PowerBuilder 8.0 Visual Basic 6.0


Internet Devl – PowerBuilder can be used to develop either client-side Does not support Java or JavaScript. Must be on a
Web Server HTML, server-side HTML or JavaScript, VBScript and Microsoft platform, which limits you to IIS Web server.
DynaScript, PB allows the HTML developer to utilize most
There is no equivalent to the PB DataWindow in VB, so
web technologies including Java Applets, and the Web
there is no Web DataWindow equivalent in it either.
DataWindow provides a powerful mechanism to access
data on the web-server.

Internet Devl – The integration with Sybase’s EAServer makes PowerBuilder VB has no built-in access to other popular application
Application Server a very powerful tool with the ability to develop either servers other than COM-compliant application servers,
client-side or server-side components. EAServer ships with such as Sybase EAServer. Accessing non COM-compliant
the PB product so every developer has access to the appli- application-servers requires additional resources such as
cation server. Can also build COM components to deploy a COM-CORBA or COM-Java bridge, if available for that
brand of application server, often adding risk, complexity
into MTS. PB will support 3rd-party application servers in
and expense to such an effort.
the future.
Database Applications The DataWindow continues to dominate in terms of ease of ADO (Active Data Object) for data access is not as good
development. Powersoft Foundation Class (PFC) Library as the DataWindow because a high number of controls
contains inheritable classes tailored toward database appli- is required to provide what the PB DataWindow provides.
cations with support for complex data linkage, application Also, one often must create multiple ADO’s to satisfy a
management, error handling and more. The DataWindow data requirement, which means setting up their connection 7
information individually.
as a control within an application is very useful because it
is not linked to a particular data source.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PB 8.0 Development Environment
Advantages Over VB 6.0

Category PowerBuilder 8.0 Visual Basic 6.0


General The IDE is productive, providing access to all aspects of an Other than being able to develop ActiveX controls for
object including its inheritance. Access to components is MTS/IIS environments, VB is not for distributed environments.
straight-forward with a component palette containing the There is no access to CORBA® or Java without an addition-
standard PowerBuilder controls, with extensibility provided al ActiveX control to do so. This limits the distribution
by adding custom controls to the toolbar, or by selecting model that is natively supported by VB.
objects directly from the development libraries.
Other than a Microsoft-oriented environment (IIS/MTS) its
The IDE is completely customizable and the developer can role in the distributed development environment appears
save different layouts for different tasks. AutoText features somewhat hazy—often viewed as a good tool to develop
aid in developing code by providing dropdown lists of ActiveX controls but nothing more.
available options, including functions and events.
Access to developed components is more complex than
Object Property sheets are dynamically generated so that PB because it requires that custom controls be added to
inherited objects automatically show ancestor variables as the component library before being accessible.This results
properties in the descendant. Ancestor event and function in higher out-of-pocket costs for the controls and adminis-
scripts are also easily viewed within the class. trative costs for managing more vendor relationships.
Also, many of the companies providing controls are
Wizards and Assistants are included to aid in developing
small and potentially financially unstable.
common and not so common tasks such as building a
component for EAServer. Generator wizards allow you
to specify the target(s) for every component developed. 8
Every PowerBuilder object developed in a project is auto-
matically an inheritable class. PowerBuilder does not
require the building of “Templates” as VB does.

Database access is built through the DataWindow Painter


which provides a full-featured SQL designer, “live” data dis-
play, custom presentation styles including graphs, OLE
object imbedding and nested reports. DataWindows can
be sourced from SQL, Stored Procedures or from external
sources such as Component Methods when accessed via
the included application server, EAServer.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PowerBuilder 8.0 Development
Environment Advantages Over VB 6.0
continued

Category PowerBuilder 8.0 Visual Basic 6.0


Code Handling Syntax-highlighted code and auto-indenting features high- VB’s code display window is not as structured as PowerBuilder’s.
light the code handling capabilities within PowerBuilder. All code for a form (a window) is displayed in a continuous
Access to all “Code Block” structures is available through a stream. With larger, more complex objects, this can lead to
popup menu. System Functions are also available through confusion as the demarcation between one function/event
this method. and another is not necessarily clear.

The display window’s events and functions are clearly iden- Where method code exceeds 20 lines, development
tified and code display is limited to a single method at a becomes unwieldy and requires greater effort to organize
time. PB maintains every event/function in a separate and track.
stream so there is no overlap or possible confusion. VB does not support the Java contexts Throw, Catch and
Supports Java context Throw, Catch and Finally for graceful Finally error handling. It is still very dependent on the basic
and comprehensive error handling. On Error syntax which is less comprehensive when handling
errors.
Error-handling functions are provided to aid in developing
automatic error-handling. System errors are automatically
handled, and may optionally be handed off directly into
the debugger.

Garbage Collection aids in cleaning up execution code due


to code omissions by developers. 9
Code Profiler aids in analyzing code for potential problems
or bottleneck analysis.

The System Tree allows object functions or properties to be


dragged and dropped into the code window.

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


PowerBuilder 8.0 Development
Environment Advantages Over VB 6.0
continued

Category PowerBuilder 8.0 Visual Basic 6.0


Built-in Reporting PB contains the patented DataWindows within the product VB’s reporting scheme has less robust Web-reporting and
Capabilities and the InfoMaker® query and reporting tool for user- its ADO scheme is not as robust and comprehensive.
enabled report generation.
VB’s reporting styles are restricted versus PB’s built-in
The Web DataWindow is used for both data entry and capabilities.
reporting on the web. PSR’s are used for distributable,
actionable reports. User can still modify certain aspects of
the report even though the producing application is long
since out of the picture.

10

Sybase PowerBuilder vs. Microsoft Visual Basic 6.0


International Contacts
Argentina Korea
+5411 4313 4488 +82 2 3451 5200
Australia Malaysia
+612 9936 8800 +603 2142 4218
Austria Mexico
+43 1 504 8510 +52 5282 8000
Belgium Netherlands
+32 2 713 15 03 +31 20 346 9290
Brazil New Zealand
+5511 3046 7388 +64 4473 3661
Bulgaria Nigeria
+359 2 986 1287 +234 12 62 5120
Canada Norway
+905 273 8500 +47 231 621 45
Central America Panama
+506 204 7151 +507 263 4349
Chile Peru
+56 2 330 6700 +511 221 4190
China Philippines
+8610 6856 8488 +632 750 2550
Colombia Poland
+57 1 218 8266 +48 22 844 55 55
Croatia Portugal
+385 42 33 1812 +351 21 424 6710
Czech Republic Puerto Rico
+420 2 24 31 08 08 +787 289 7895
Denmark Romania
+45 3927 7913 +40 1 231 08 70
Ecuador Russian Federation
+59 322 508 593 +7 095 797 4774
El Salvador Singapore
+503 245 1128 +65 370 5100
Finland Slovak Republic
+358 9 7250 200 +421 26 478 2281
France Slovenia
+33 1 41 91 96 80 +385 42 33 1812
Germany South Africa
+49 69 9508 6182 +27 11 804 3740
Greece South Korea
+30 1 98 89 300 +82 2 3451 5200
Guatemala Spain
+502 366 4348 +34 91 749 7605
Honduras Sweden
+504 239 5483 +46 8 587 70433
Hong Kong Switzerland
+852 2506 6000 +41 1 800 9220
Hungary Taiwan
+36 22 517 631 +886 2 2715 6000
India Thailand
+91 22 655 0258 +662 618 8638
Indonesia Turkey
+62 21 526 7690 +90 212 284 8339
Israel Ukraine
+972 3 548 3555 +380 44 227 3230
Italy United Arab Emirates
+39 02 696 820 64 +971 2 627 5911
Sybase, Inc. Ivory Coast United Kingdom
Worldwide Headquarters +225 22 43 73 73 +44 870 240 2255
5000 Hacienda Drive Japan Venezuela
Dublin, CA 94568-7902 USA +81 3 5210 6000 +58 212 267 5670

Tel: +800 8 SYBASE Kazakstan Asian Solutions Center


+7 3272 64 1566 +852 2506 8700
www.sybase.com
For other Europe, Middle East, or Africa inquiries:
+33 1 41 90 41 64 (Sybase Europe)
For other Asia Pacific inquiries:
Copyright © 2002 Sybase, Inc. All rights reserved. Unpublished rights reserved under U. S. copyright laws. Sybase, the Sybase logo, +852 2506 6000 (Hong Kong)
DataWindow, InfoMaker, PowerDesigner and PowerBuilder are trademarks of Sybase, Inc. All other trademarks are property of their
For other Latin America inquiries:
respective owners. ® indicates registration in the United States. Specifications are subject to change without notice. Printed in the U.S.A. +305 671 1020 (Miami)

Vous aimerez peut-être aussi