Client-server web applications are widespread today. For this reason, the IT sector is constantly looking for improvements to be adopted in the development of this kind of software. One option is adopting code generators that allow developers to use high-level modeling to generate a ready-to-use application that can be further customized. Web applications use very often databases for storing and retrieving data. The development and testing of the communication between application and database absorbs a very relevant part of the entire development process. The ability to automatically model and generate this functionality is essential to accelerate web application development. This thesis work presents the development of a data access layer (DAL) with data stored within a relational database. This DAL will be, later, integrated inside a code generator that generates client-server web applications. The DAL software development takes place following the Agile methodology, in particular the Scrum framework, and adopting a test-driven approach. The following work initially presents code generators and systems for mapping relational objects, along with literature examples. Next, theoretical concepts and adopted architectural patterns are reported. Later, the case study is presented, along with DAL implementation and testing. Finally, after an overview of data security principles, conclusions and future developments are shown.
L'utilizzo di applicazioni web client-server è oggi diffusissimo. Per questo motivo si è in costante ricerca di miglioramenti da adottare nello sviluppo di questi software. Una opzione è l'uso di generatori di codice che permettono di utilizzare una modellazione ad alto livello per generare un'applicazione pronta all’uso che potrà essere, in seguito, ulteriormente personalizzata. Molto spesso le applicazioni web utilizzano i database per la memorizzazione e il reperimento di dati. La realizzazione e il test della comunicazione tra applicazione e database assorbe una parte molto rilevante dell'intero sviluppo. La possibilità di modellare e generare automaticamente questa funzionalità è fondamentale per accelerare lo sviluppo delle applicazioni web. Questo lavoro di tesi presenta lo sviluppo di un livello di accesso ai dati (DAL) memorizzati all’interno di un database relazionale. Questo DAL verrà, successivamente, integrato all’interno di un generatore di codice per la creazione di applicazioni web client-server. Lo sviluppo software del DAL avviene seguendo la metodologia Agile, in particolare il framework Scrum, e adottando un approccio test-driven. Nel seguente lavoro vengono inizialmente presentati i generatori di codice e i sistemi per il mapping di oggetti relazionali, insieme a esempi del loro utilizzo presenti in letteratura. In seguito, sono riportati concetti teorici e pattern architetturali utilizzati. Successivamente viene presentato il caso di studio, con l'implementazione e il test del DAL. Infine, dopo una panoramica su concetti relativi alla sicurezza dei dati, sono presentate le conclusioni e gli sviluppi futuri.
SVILUPPO DI UN DATA ACCESS LAYER PER UN CODE GENERATOR SEGUENDO UNA METODOLOGIA DI SVILUPPO TEST-DRIVEN
LATROFA, GIUSEPPE
2021/2022
Abstract
Client-server web applications are widespread today. For this reason, the IT sector is constantly looking for improvements to be adopted in the development of this kind of software. One option is adopting code generators that allow developers to use high-level modeling to generate a ready-to-use application that can be further customized. Web applications use very often databases for storing and retrieving data. The development and testing of the communication between application and database absorbs a very relevant part of the entire development process. The ability to automatically model and generate this functionality is essential to accelerate web application development. This thesis work presents the development of a data access layer (DAL) with data stored within a relational database. This DAL will be, later, integrated inside a code generator that generates client-server web applications. The DAL software development takes place following the Agile methodology, in particular the Scrum framework, and adopting a test-driven approach. The following work initially presents code generators and systems for mapping relational objects, along with literature examples. Next, theoretical concepts and adopted architectural patterns are reported. Later, the case study is presented, along with DAL implementation and testing. Finally, after an overview of data security principles, conclusions and future developments are shown.| File | Dimensione | Formato | |
|---|---|---|---|
|
Tesi_LATROFA.pdf
File consultabile da postazioni biblioteca
Descrizione: Tesi di laurea di Giuseppe Latrofa
Dimensione
4.76 MB
Formato
Adobe PDF
|
4.76 MB | Adobe PDF |
I documenti in UNITESI sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/20.500.14253/88464