EP Analysis Presentation
Download
Report
Transcript EP Analysis Presentation
PowerDesigner 的共同功能
PowerDesigner 的共同功能
• Compare and merge models
• Free Model
• Complete Model-Driven Architecture (MDA) support for
all models
• Report generation
• Repository
• Profile
• Code generation
• VBScript
• OLE automation
2
Compare and Merge Models
• The model merge window is used when generating model,
generating database, reverse engineer database, consolidate
model in repository, …
3
Model-Driven Architecture (MDA)
Model-Driven Architecture (MDA) is defined by OMG
Main ideas:
Separating specification with implementation
Specifying a system that is independent of a platform
Transforming a platform independent system specification into
a specific platform
Code generation
Transformation
PSM 1
Code
Transformation
PSM
Rverse
Transformation
PIM
Rverse
Transformation
Transformation
Transformation
PSM 2
Code
PIM
4
Complete MDA Support for All Models
Extend metamodel using profile for all models
Stereotype and criteria
Extended Object, Extended Link and Extended Collection for all models
Events handlers New
Custom commands
Model-to-Model generation
Model transformation script
New
Code generation
Code generation templates
GTL language (macros)
VBScript
5
New
Report Generation
• Generate complete report in HTML, RTF formats
• Support English, French, Chinese, …
6
Repository
• PowerDesigner has an enterprise repository for model
sharing and versioning
– Consolidation/Extraction of Models and other nonPowerDesigner files
– Object level versioning
– Branching, Configuration
– Security
– Comparing versions
– Use relational database
7
Profile (Extended Model Definition)
•
•
•
•
•
Similar to UML Profile; applies to all models
Can be used to extend an existing model type
Stereotype and criteria
Extended attributes, objects and collections
Code generation templates
– Generation Template Language (templates & macros)
•
•
•
•
Custom symbols
Custom tool palette
Custom checks
Custpom popup menus
8
Code Generation
• Code generation templates
– Generation Template Language (templates & macros)
• All PowerDesigner code generators are defined as templates (Java, C#, VB
.NET, PB, ebXML, BPEL4WS, SQL, XML, …)
• You could modify existing code generation or define your own code
generation
9
VBScript
• You can use VBScript to control PowerDesigner (query
objects attributes and collections, create objects,
import/export models, generate code, generate reports,
…)
• You can define menu items to launch VBScripts
• You can use VBScripts to define model transformation
• You can use VBScripts to define Design Patterns
• There is a VB Script samples directory
10
OLE Automation
• OLE automation can be used by a program outside of
PowerDesigner
• You can use any language (VB, VBA, VB .NET, C#, PB,
C++, JavaScript, Java, …) that supports COM to work
with PowerDesigner
• You can create your own user-interface
• There is an OLE automation samples directory
11