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 条
  • [1] POET: Privacy on the Edge with Bidirectional Data Transformations
    Li, Nianyu
    Tsigkanos, Christos
    Jin, Zhi
    Dustdar, Schahram
    Hu, Zhenjiang
    Ghezzi, Carlo
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS (PERCOM), 2019,
  • [2] Conflict Resolution for Data Updates by Multiple Bidirectional Transformations
    Habu, Mikiya
    Hidaka, Soichiro
    [J]. SOFTWARE FOUNDATIONS FOR DATA INTEROPERABILITY, SFDI 2021, 2022, 1457 : 62 - 75
  • [3] Bidirectional Transformations in the Large
    Stevens, Perdita
    [J]. 2017 ACM/IEEE 20TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2017), 2017, : 1 - 11
  • [4] A Landscape of Bidirectional Model Transformations
    Stevens, Perdita
    [J]. GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING II, 2008, 5235 : 408 - 424
  • [5] Blockchain-based Bidirectional Transformations for Access Control and Data Sharing in EMRs
    Zan, Tao
    Hu, Zhenjiang
    [J]. THE 12TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2020, 2021, : 71 - 80
  • [6] Dagstuhl Seminar on Bidirectional Transformations (BX)
    Hu, Zhenjiang
    Schurr, Andy
    Stevens, Perdita
    Terwilliger, James F.
    [J]. SIGMOD RECORD, 2011, 40 (01) : 35 - 39
  • [7] Information preserving bidirectional model transformations
    Ehrig, Hartmut
    Ehrig, Karsten
    Ermel, Claudia
    Hermann, Frank
    Taentzer, Gabriele
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4422 : 72 - +
  • [8] Incremental Updates for Efficient Bidirectional Transformations
    Wang, Meng
    Gibbons, Jeremy
    Wu, Nicolas
    [J]. ICFP 11 - PROCEEDINGS OF THE 2011 ACM SIGPLAN: INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2011, : 392 - 403
  • [9] Towards an Algebraic Theory of Bidirectional Transformations
    Stevens, Perdita
    [J]. GRAPH TRANSFORMATIONS, ICGT 2008, 2008, 5214 : 1 - 17
  • [10] Dagstuhl seminar on bidirectional transformations (BX)
    National Institute of Informatics, Japan
    不详
    不详
    不详
    [J]. SIGMOD Rec., 1600, 1 (35-39):