# Transpiler-Based Architecture Design Model for Back-End Layers in Software Development
## 4 Empirical Experiment
### Planning  
This subsection delineates the strategic steps and considerations taken to lay the groundwork for our transpiler-based architectural design model experiment. * Experiment Objective: the primary aim of this experiment was to empirically evaluate the effectiveness of the proposed transpiler-based architectural design model by implementing a to-do-list application as a testbed. Through this application, the experiment sought to assess the model's capability to enable code reusability across diverse platforms, with a specific focus on realizing a unified codebase that can cater to distinct languages such as C#, Java, and PHP. In addition, the experiment aimed to measure the performance, development efficiency, and compatibility of the constructed software artifacts under this design paradigm. * Tool Selection: in light of this objective, transpilers emerged as the most promising tool, as they allow for the conversion of source code from one programming language to another, potentially bridging the gap between different platforms. * Transpiler Selection: considering our objective, it was pivotal to choose an effective transpiler to serve as the backbone of our approach. After careful consideration, Haxe ([[https://www.haxe.org](https://www.haxe.org)]([https://www.haxe.org](https://www.haxe.org)) accessed: 12 September 2023, version 4.2.2) was selected because of its flexibility and ability to convert source code between multiple programming languages. This choice aimed to bridge the gap between different platforms, ensuring the feasibility of a unified codebase that could be transposed to languages such as C#, Java, and PHP. * Implementation Scenario: a controlled laboratory setting was adopted to carry out the experimental evaluation. Such an environment provides the necessary conditions to meticulously assess the the performance of design model while ensuring a focused and unbiased evaluation. The controlled nature of the laboratory setting allowed for replicable conditions, fostering greater credibility and precision in our findings. * Framework: we utilized the first version of a transpiler-based framework that encapsulates all the concepts outlined in the design model proposed in this paper. * Model Blueprint: a design model was drafted wherein a singular codebase could be transpiled into different target languages. This model was designed to be scalable, allowing for future additions or modifications based on technological advancements. * To-do-list Application as a Testbed: for practical validation, a decision was made to design a simple yet comprehensive to-do-list application. This application served as a testbed, allowing for hands-on evaluation of the proposed model's efficiency and robustness. * Functionality Mapping: functionality was mapped based on the application requirements, including user access controls, task management features, advanced categorization, and dynamic task assignment:
* User-specific access controls differentiate the views of supervisors and executor users. * Task creation capabilities allow both supervisors and executors can initialize tasks. * Advanced categorization means that administrators possess the unique ability to manage the available task categories. * User management provides an exclusive feature for administrators to regulate system users and their credentials. * Comprehensive task details involve recording the task name, detailed description, category, assigned individual, and completion status. * Task filtering mechanisms include visual filters based on categories, responsible individuals, and textual searches. * Dynamic task assignment grants supervisors the ability to reassign tasks to different executors. * Collaborative task visibility provides a centralized system for supervisors to view, modify, and manage tasks across all executors. Risk Assessment: potential challenges, such as compatibility issues, code inefficiencies, and transpiler limitations were anticipated.