The work contained in this thesis proposes an application example, related to the field of model driven development. In particular, a set of software have been developed, which allow to model a complex mobile application, and to generate part of the code, which is required to implement it. More precisely, it was decided to focus on the features of the implementation of a generic mobile application, which are related to the management of the state. It was decided to base the work on a reference platform, namely the Flutter framework, and on a restricted set of libraries for state management. The libraries that have been used are: Provider, GetIt, Redux, Bloc and Mobx. Model driven development software have been developed using EMF (Eclipse Modeling Framework). In particular, an Ecore metamodel has been created for modeling a generic Flutter application, and some MTL templates have been defined in Acceleo, for the generation of the code from a generic application's model.
Il progetto contenuto in questa tesi propone un esempio applicativo, legato al mondo dello sviluppo model driven. In particolare, sono stati sviluppati un insieme di software, che permettono di modellare una applicazione mobile complessa, e di generare una parte del codice necessario alla sua implementazione. Nello specifico, ci si è focalizzati sulle caratteristiche dell'implementazione di una generica applicazione mobile, che sono legate alla gestione dello stato. Si è scelto di basare il lavoro su una piattaforma di riferimento, ovvero sul framework Flutter, e su una insieme ristretto di librerie per la gestione dello stato. Le librerie utilizzate sono state : Provider, GetIt, Redux, Bloc e Mobx. I software per lo sviluppo model driven sono stati sviluppati con EMF (Eclipse Modeling Framework). In particolare, è stato realizzato un metamodello Ecore per la modellazione di una generica applicazione Flutter, e sono stati definiti alcuni template MTL in Acceleo, per la generazione del codice associato al generico modello di una applicazione.
Fluttermetamodel : un metamodello per la generazione automatica del codice per la gestione dello stato di applicazioni complesse
DELBÒ, DAVIDE
2021/2022
Abstract
The work contained in this thesis proposes an application example, related to the field of model driven development. In particular, a set of software have been developed, which allow to model a complex mobile application, and to generate part of the code, which is required to implement it. More precisely, it was decided to focus on the features of the implementation of a generic mobile application, which are related to the management of the state. It was decided to base the work on a reference platform, namely the Flutter framework, and on a restricted set of libraries for state management. The libraries that have been used are: Provider, GetIt, Redux, Bloc and Mobx. Model driven development software have been developed using EMF (Eclipse Modeling Framework). In particular, an Ecore metamodel has been created for modeling a generic Flutter application, and some MTL templates have been defined in Acceleo, for the generation of the code from a generic application's model.File | Dimensione | Formato | |
---|---|---|---|
Thesis.pdf
accessibile in internet per tutti
Dimensione
3.19 MB
Formato
Adobe PDF
|
3.19 MB | Adobe PDF | Visualizza/Apri |
I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/10589/186247