Allfusion ™ Plex Putting Patterns to Work

40
1 © 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies. Allfusion™ Plex Putting Patterns to Work Data Management and Application Development Session Code: DA480SN Willem de Vries: Remia C.V. Simon Jasperse: Kiboko

description

Allfusion ™ Plex Putting Patterns to Work. Data Management and Application Development Session Code: DA480SN. Willem de Vries: Remia C.V. Simon Jasperse: Kiboko. Agenda. Introduction Positioning Allfusion Plex Patterns at Remia Weaving patterns: explanation and demo - PowerPoint PPT Presentation

Transcript of Allfusion ™ Plex Putting Patterns to Work

Page 1: Allfusion ™  Plex  Putting Patterns to Work

1

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Allfusion™ Plex Putting Patterns to

Work

Data Management and Application DevelopmentSession Code: DA480SN

Willem de Vries: Remia C.V.

Simon Jasperse: Kiboko

Page 2: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

5

Agenda

Introduction Positioning Allfusion Plex Patterns at Remia Weaving patterns: explanation and demo Some pattern-examples and their use Session Summary

Page 3: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

6

Introduction

Software Development at Remia– Development as main IS strategy– iSeries– Model-based Data-centric approach– Using 2E since 1990

Allfusion Plex– Modernization of user interface– Multi-platform support– Logical “next step” from Allfusion 2E– Great support for abstraction: Patterns

Page 4: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

7

Agenda

Introduction Positioning Allfusion Plex

– … model driven

Patterns at Remia Weaving patterns: explanation and demo Some pattern-examples and their use Session Summary

Page 5: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

8

Positioning Allfusion Plex – Model Driven

Model Driven Architecture: concepts Defined by Object Management Group Layered Models

– Platform Independent Model– Platform Specific Model– Code Model

Definable Transformations from model to model Based upon Model Object Facility

Page 6: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

9

Positioning Allfusion Plex – Model Driven (cont’d)

Model Driven Architecture: a picture

Page 7: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

10

Positioning Allfusion Plex – Model Driven (cont’d)

Model Driven Architecture: status Important parts under development

– Transformation language not standardized– No Action language

Tool support– Mostly ‘stub’-generation– Tools often Platform Specific: Java

Page 8: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

11

Positioning Allfusion Plex – Model Driven (cont’d)

Allfusion Plex and MDA Proprietary model

– Openness by Model-API and XML export

Platform Independence based on Variants Generation ‘based on’ Plex Meta language

– Websydian– Remia’s ‘early’ Model XML-export

Mature– Action Diagramming

Page 9: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

12

Plex: Advantage of Model Driven

Allfusion Plex delivers today

what MDA promises for a

distant future……

Page 10: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

13

Agenda

Introduction Positioning Allfusion Plex

– … pattern based

Patterns at Remia Weaving patterns: explanation and demo Some pattern-examples and their use Session Summary

Page 11: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

14

Positioning Allfusion Plex - Reuse

Reuse concepts in Software engineering– Modules: result of decomposition– Components: base for ‘re-’composition– Classes: inheriting properties and behaviour– Aspects: separation of concerns– Patterns: high level design experience

Page 12: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

15

Positioning Allfusion Plex: Aspects

Croscutting functionality– Logging– Tracing

Weaving implementation AspectJ for Java-implementation

– Currently submitted to Eclipse

Page 13: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

16

Positioning Allfusion Plex - Patterns

Originally ‘documentation’ of proven design– Erich Gamma, Martin Fowler, David Hay– Pattern-efforts mainly directed towards

‘cataloging’

Patterns mostly have structure and behaviour

Currently popular concept– Attention for process (POAD)– Support in development tools starting off

Page 14: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

17

Positioning Allfusion Plex – Patterns (cont’d)

Building blocks of Patterns in Allfusion Plex– Framework: Foundation– Multiple inheritance– Edit Points– Replacement– Meta Language

Weaving-mechanism resembling Aspect Orientation– Joining based on ‘structure’ and ‘naming’

Page 15: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

18

Weaving Patterns – Multiple Inheritance

Basic Entity

Upload Entity

Download Entity

.. is a ..

Gambling Profit

.. is a ..

Entity+Commit

.. is a ..

Page 16: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

19

Agenda

Introduction Positioning Allfusion Plex Patterns at Remia Weaving patterns: explanation and demo Some pattern-examples and their use Session Summary

Page 17: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

20

Patterns at Remia

Restructuring of Base Layer– Separation of Logical and Physical datamodel– Explicit structuring of Replacement objects

Patterns ‘ by design ‘– Data-replication– User Managed Data– XML

Patterns ‘ by discovery ‘– Combobox– Work-management: Documentflow, Proces/activity

Page 18: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

21

Patterns at Remia – Example Structure

ListData

Data(format)

Characteristic

DataOwner

Characteristic_Data

Owner_ Characteristic

Owner_Data

RelationRelation

TypeRel_

RelType

RelType_Char

Page 19: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

22

Agenda

Introduction Positioning Allfusion Plex Patterns at Remia Weaving patterns: explanation and

demo Some pattern-examples and their use Session Summary

Page 20: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

23

Weaving Patterns – Requirements

Data Synchronization pattern Exchange data between platforms

– a-synchronous environment (off line account managers)

Data consolidation– handling data conflicts– match user (autonumber) keys

XML exchange– uses Remia XML pattern– isolate design changes from implementation

Page 21: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

25

Weaving Patterns – Design

Data Synchronization Pattern

Locaal Centraal

Fysiek

Upload

Download

Fysiek

<xml>data</xml>

DownloadDownload

Upload Upload

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

Download

Upload

Page 22: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

26

Implementing a Data Transfer Entity Impact on functions and Dbase Structure Meta coding to call all upload functions Example GamblingProfit is a Download & Upload entity

Weaving Patterns – Demo

Page 23: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

27

GamblingProfit is a Basic entity

Weaving Patterns – Demo

Page 24: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

28

Weaving Patterns – Demo

GamblingProfit is a Download entity

Page 25: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

29

Weaving Patterns – Demo

GamblingProfit is a Upload entity

Page 26: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

30

Implementation Demo

Patterns at Remia– DataPattern Demo

http://pilat.free.fr/svgopen/

Page 27: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

31

Weaving Patterns – Design

Data Synchronization Pattern

Locaal Centraal

Fysiek

Upload

Download

Fysiek

<xml>data</xml>

DownloadDownload

Upload Upload

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

<xml>data</xml>

Upload

Page 28: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

32

Patterns at Remia - Results

Data Synchronization pattern Applied on 130 entities Ease of use and maintenance Exchange with external partners through

XML

Page 29: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

33

Agenda

Introduction Positioning Allfusion Plex Patterns at Remia Weaving patterns: explanation and demo Some pattern-examples and their use Session Summary

Page 30: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

34

Patterns at Remia - Presentation Demo

SVG Demo

SVG viewer

Data Combo

Edit Detail

File Open

Use registryFetch wrapperSVG writer

Page 31: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

35

Patterns at Remia - Presentation Demo

– Inherit from the pattern functions

– Connect the dots

Page 32: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

36

Patterns at Remia - Presentation Demo

Scalable Vector Graphics Demo

Page 33: Allfusion ™  Plex  Putting Patterns to Work

37

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Patterns at Remia: Buiding SVG

Graph.svg

Database

Style.xsl

Data.xmlWriteXML

WriteSVG

ProcessingStyle

ProcessingStyle

Page 34: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

38

Agenda

Introduction Positioning Allfusion Plex Patterns at Remia Weaving patterns: explanation and demo Some pattern-examples and their use Session Summary

Page 35: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

39

Session Summary

Flexibility and patterns– Balancing between developer and user– Weighing reusability and initial investment

Application building– Strong need for Impact Analysis– Huge number of objects

Practical results– Fast implementation when needed– Small team delivers

Page 36: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

40

References

Anneke Kleppe e.a.: MDA Explained, The model driven architecture: practice and promise

David S. Frankel: Model Driven Architecture: Applying MDA to Enterprise Computing

Sherif M. Yacoub / Hany H. Ammar: Pattern-Oriented Analysis and Design: Composing Patterns to Design Software Systems

Page 37: Allfusion ™  Plex  Putting Patterns to Work

41

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

Questions & Answers

[email protected]

[email protected]

Page 38: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

42

Session Evaluation Form

... please place it in the basket at the back of the room.

After completing your session evaluation form ...

Page 39: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

43

Information Solutions in the Exhibit Center

Database and Application Development– Booth 254 features:

High Capacity Mainframe Database for Mission-Critical Business Business Solutions on Enterprise Linux

– Booth 348 features: Data Warehouse, Metadata Management, and Testing CA Technology Services

Application Life Cycle– Booth 216 features – Change & Configuration Management– Booth 310 features – Data & Process Modeling

Portal & Business Intelligence– Booth 232 features – Optimize Business Process Efficiency– Booth 338 features – Monitor & Manage Your Business

Technology Perspectives– Booth 556 features – Wireless Solutions– Booth 558 features – Delivering Value with SOA and Web Services– Booth 652 features – Compliance Management– Booth 754 features – The Linux Generation

Page 40: Allfusion ™  Plex  Putting Patterns to Work

© 2004 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos referenced herein belong to their respective companies.

44

CA Technology Services

Discover a world of training solutions– Learn how CA’s learning solutions can help you meet

your business objectives– Visit CA Technology Services in the exhibition center,

at ca.com/education, or call us at 1-800-237-9273

Learn how CA Technology Services can help your business– Visit CA Technology Services in the exhibition center

or on the web at ca.com/services