|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV SYS-CON.TV WEBCASTS |
POWERBUILDER LINKS YOU MUST CLICK ON Product Review PowerDesigner 8.0 Beta
PowerDesigner 8.0 Beta
By: Mike Nicewarner
Feb. 1, 2001 12:00 AM
PowerDesigner is a very good data modeling tool, but with UML gaining acceptance in many IT shops, Sybase has gradually added object modeling features. In November, they started another beta program named Beluga primarily to add Use Case and Sequence diagrams, but also to fix some problems with packages and enhance the overall user interface. As with previous PowerDesigner betas, Beluga is stable and closer to a shipping product than any other beta I've seen. It should be generally available by the end of February 2001. I'm using PowerDesigner version 8.0.0 build 132, the first beta release for this version. The system is a fairly stock Windows NT 4.0 system on a Pentium II 400MHz computer with 128MB of RAM. As with most modeling tools, you'll find that things go much smoother with lots of memory and a good video system. Installation and setup were fairly straightforward. I was able to take the defaults all the way through the installation process without any surprises. PowerDesigner doesn't overwrite any systems files and coexists well with other applications.
Getting Started
General and User Interface
Object-Oriented Model
Previous versions of PowerDesigner had trouble maintaining external shortcuts. Shortcuts are a way to keep a single copy of a central object in one model and refer to it from other models. The other models have a link to the original object rather than a copy of the object, meaning much easier maintenance. The problem was when generating (from conceptual to physical, for instance). For example, if I had a CDM named "A" that had an external shortcut to an entity in another CDM named "B", when "A" was generated to a PDM, the resulting table was duplicated in the "A" and "B" PDMs with no shortcut link. This was a headache trying to maintain the copies. Now, this functionality has been much improved, with the proper links being maintained during generation. When "A" is generated to a PDM, a placeholder will be maintained in "A" until the PDM for "B" is generated. Shortcuts in general are more robust, behaving more reliably than before.
Extended Dependencies
The stereotype could be used to put the text "generate" on the line. This would document the fact that all associated PDMs need to be generated at the same time. Without extended dependencies, the user would have to maintain a separate set of documentation about the link (see Figure 2).
Extended Attributes
The data definition language (DDL) section for columns would also need to be changed to add references to the new attributes (now viewed as variables in the database generation process). Now, when editing a column that's to be computed, the extended attribute tab can be used to view and set the attributes. For advanced users, this capability will be very useful, giving them precise control over DDL generation. However, because of the usefulness of this feature, Sybase added it to all models, so entities and classes can also have extended attributes. This could be used to create new stereotypes in a class diagram or to capture additional business information about an entity.
Property Sheet Customization
Rich Text in Descriptions
Use Case and Sequence Diagrams
The Use Case diagram is a commonly used tool to define the interfaces from a system to everything outside that system, either users or other systems (see Figure 6). An actor symbol (typically a stick figure) identifies something as being outside the system and a use case symbol (typically an ellipse) identifies an exposed interface of the system. Lines connecting these symbols define the relationships and interface dependencies. Documentation can be maintained to describe all defined elements of the system and links can be made to objects in other diagrams or models. While the Class diagram and Use Case diagram typically do not depict any time dependencies, the Sequence diagram does (see Figure 7). The notation is composed of object symbols (boxes with the name of the object inside) with a vertical "timeline" extending below it. Multiple objects are arranged horizontally and relationships (such as "object A makes a call to object B") are shown as lines connecting the vertical object timelines. Time is understood as going down from the object box through the events in sequence, hence the name of the diagram. Of course, the objects displayed in the sequence diagram can be linked with objects in other diagrams. By combining the three diagrams, a user can model and describe at a fine level of detail the expected behavior of the system. At each appropriate level, code stubs can be attached and written out later. Existing code can be reverse engineered and put in context with design artifacts and other code to achieve a complete system overview. From a completed set of diagrams, code can be generated and compiled as the data interface layer of the application.
Association Classes
Object Definition Files
Many users like to customize the look and feel of an application, and in the case of PowerDesigner, the way that it generates OO code. For instance, the default code to generate for a class operation, before you enter any code of your own, is: {This is to let you know that you need to enter code for the operation. The actual text above is stored in the C++ definition file. You can change that text however you wish, in case you don't like to see "TODO" in your generated code. Of course, once you enter your own code, this default text isn't seen anyway.
Summary
Many of the changes in Beluga, such as allowing multiple types of diagrams in one model, are setting the stage for future versions. The list of UML diagrams is sure to increase and more model types will be coming soon. Of course, none of the new features are lost in the Repository, which was designed to extend with each new enhancement. I recommend upgrading from previous versions to 8.0 as soon as it's available, especially if you're primarily doing data modeling. That area within PowerDesigner is extremely stable and robust. For someone shopping around for an object-oriented modeling tool, this may meet your needs. Specifically, not all UML models are currently supported and the new diagrams may be a bit rough in the "dot oh" release. If you're new to modeling tools in general, or are using another tool, you'll want to download the free trial and put it through its paces. For the "newbie", PowerDesigner is one of the easiest and most intuitive products, although a bit pricey. As you discover the functionality of the tool and compare it to other tools, you'll realize the value. For the experienced modeler, you won't find a tool in its price range with more customization and tweaking capabilities.
PowerDesigner version 8.0
Test Environment: PBDJ LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING POWERBUILDER / SYBASE NEWS
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||