about.jpg
Conference Paper

Trans-Compiler-Based Database Code Conversion Model for Native Platforms and Languages

By
Barakat R.
Radwan M.-B.A.
Medhat W.M.
Yousef A.H.

Cross-platform mobile application development frameworks are now widely used among software companies and developers. Despite their time and cost-effectiveness, they still lack the performance and experience of natively developed applications. Many research tools have been proposed to solve this problem by converting a natively developed application from one platform to another. The Trans-Compiler Based Android to iOS Converter (TCAIOSC) was proposed to convert the front-end and back-end code of Android Java applications to iOS applications. Since databases are essential for mobile applications, this paper proposes a new database code conversion model based on trans-compilation and pattern matching. It proposes a model that can be used to support database code conversion between native languages and platforms and applies the proposed model to support the conversion of Firebase Firestore database code from Android (Java) to iOS (Swift) using TCAIOSC. The enhanced tool’s results show high accuracy for the converted database code and a noticeable improvement in the overall conversion results for TCAIOSC. © 2023, The Author(s), under exclusive license to Springer Nature Switzerland AG.