200 likes | 338 Views
Design Space of Heterogeneous Synchronization REVISITED Michal Antkiewicz Krzysztof Czarnecki Zinovy Diskin University of Waterloo. K. Czarnecki , S. Helsen . Classification of Model Transformation Approaches,
E N D
Design Space of Heterogeneous SynchronizationREVISITED Michal AntkiewiczKrzysztof CzarneckiZinovyDiskinUniversity of Waterloo
K. Czarnecki, S. Helsen. Classification of Model Transformation Approaches, OOPSLA Workshop on Generative Techniques in the Context of Model-Driven Architecture, 2003
K. Czarnecki, S. Helsen. Feature-based survey of model transformation approaches, IBM Systems Journal, 45(3), 2006, pp. 621-646
M. Antkiewicz, K. Czarnecki. Design-Space of Heterogeneous Synchronization, GTTSE’07 Summer School, Springer, 2008 (to appear), pp.40
round- trip domain-specific models code using frameworks Michal Antkiewicz Herman Lee Matthew Stephan
1-1, 1-N, M-N relationswith or w/o reconciliationdifferent implementation strategies 13 scenarios12 primitives
update as a partial functionoperational rather than declarativemissing structure for reconciliationtoo many primitives (12)
[key] Del Model M Deleted elemts. M Kept elements Mod K k’ Inserted elemts. M’ Updated M’ Ins
Java Applet FSML Java code using Applet framework Applet- specific model
r = S MS M ΔS ΔMS ΔM r m get put cmp S’ M’S M’ ΔS’ ΔM’S ΔM’ rec r = S’’ M’’S M’’
UML class models RDBMS models Person Employee +name:String id name salary Employee +salary:Int
r = s S MS M M+ ΔS ΔMS ΔM ΔM+ r m s S’ M’S M’ M+’ ΔS’ ΔM’S ΔM+’ ΔM’ r = s S’’ M’’S M’’ M+’’
declarative formulationmore intuitive and richer update and match definitionricher structure to formulate algorithmshandling of M-to-N case
Tech talk:Bidirectional trafo for Framework Specific Modeling Languages (FSMLs)