Bidirectional Data Transformations

被引:0
|
作者
Crestani, Marcus [1 ]
Schlegel, Markus [1 ]
Schneider, Marco [1 ]
机构
[1] Act Grp, Tubingen, Germany
关键词
Lenses; Projections; Data Transformation; Data Transfer Object;
D O I
10.1145/3677998.3678224
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Structured data is the foundation of software. Different components of a system may need the same information but may have different demands on its structure for reasons of performance, resource efficiency, technical constraints, convenience, and so on. For instance, transmitting data over a network requires a format that is suitable for serialization, while persisting data requires a format that is more suitable for storage. Thus, programmers need to translate data between several data structures and formats all the time. Authoring these translations manually is a lot of work because programmers need to implement the logic twice, once for each direction. This is redundant, tedious, and error-prone, and a case of low coherence. We show how using bidirectional data transformations that use functional optics like lenses and projections simplify the conversions. These ideas and techniques make converting data simple and straightforward and foster understanding of the relationship between data structures by explicitly describing their connections in a composable manner.
引用
收藏
页码:31 / 40
页数:10
相关论文
共 50 条
  • [41] TRANSFORMATIONS FOR ATTRIBUTE DATA
    NELSON, LS
    [J]. JOURNAL OF QUALITY TECHNOLOGY, 1983, 15 (01) : 55 - 56
  • [42] Generalized data transformations
    Delaluz, V
    Kadayif, I
    Kandemir, M
    Sezer, U
    [J]. EMBEDDED SOFTWARE FOR SOC, 2003, : 421 - 434
  • [43] EXPONENTIAL DATA TRANSFORMATIONS
    MANLY, BFJ
    [J]. JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES D-THE STATISTICIAN, 1976, 25 (01) : 37 - 42
  • [44] TRANSFORMATIONS OF MULTIVARIATE DATA
    ANDREWS, DF
    GNANADESIKAN, R
    WARNER, JL
    [J]. BIOMETRICS, 1971, 27 (04) : 825 - +
  • [45] From Builders to Editors: Bidirectional Transformations of Low-code Models
    Ramalho, Joao
    Lourenco, Hugo
    Seco, Joao Costa
    [J]. 24TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2021), 2021, : 110 - 119
  • [46] Implementing QVT-R Bidirectional Model Transformations Using Alloy
    Macedo, Nuno
    Cunha, Alcino
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2013, 2013, 7793 : 297 - 311
  • [47] Bidirectional Model Transformations Using a Handcrafted Triple Graph Transformation System
    Buchmann, Thomas
    Greiner, Sandra
    [J]. SOFTWARE TECHNOLOGIES, 2017, 743 : 201 - 220
  • [48] Incremental Bidirectional Transformations: Applying QVT Relations to the Families to Persons Benchmark
    Westfechtel, Bernhard
    [J]. PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2018, : 39 - 53
  • [49] From State- to Delta-Based Bidirectional Model Transformations
    Diskin, Zinovy
    Xiong, Yingfei
    Czarnecki, Krzysztof
    [J]. THEORY AND PRACTICE OF MODEL TRANSFORMATIONS, 2010, 6142 : 61 - 76
  • [50] Model-Driven Design of City Spaces via Bidirectional Transformations
    Visconti, Ennio
    Tsigkanos, Christos
    Hu, Zhenjiang
    Ghezzi, Carlo
    [J]. 2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2019), 2019, : 45 - 55