Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST
FriendlyReader and TeCST are text simplification tools developed at Linköping University, using an API service at the university called SAPIS. Both tools are web services that run in the browser for users. To improve the services an implementation of state-transition tracking was chosen as a way to...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
Linköpings universitet, Institutionen för datavetenskap
2019
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-160754 |
id |
ndltd-UPSALLA1-oai-DiVA.org-liu-160754 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-liu-1607542019-10-25T22:00:37ZAnalyzing and implementing a third-party state machine library for FriendlyReader and TeCSTengHolmstedt, DavidLinköpings universitet, Institutionen för datavetenskap2019MobXReduxFriendlyReaderTeCSTSAPISstate-machinestate-transitionComputer SciencesDatavetenskap (datalogi)FriendlyReader and TeCST are text simplification tools developed at Linköping University, using an API service at the university called SAPIS. Both tools are web services that run in the browser for users. To improve the services an implementation of state-transition tracking was chosen as a way to both improve the website by enabling the user to undo actions, but also enable the client to cache information which lowers the amount of requests required to SAPIS. Two libraries, called MobX and Redux, where compared to find the one which worked best for FriendlyReader and TeCST. The main difference between MobX and Redux is the programming paradigms, MobX is object-oriented while Redux is functional. In the end MobX was chosen due to the object-oriented nature of the library which is more familiar for beginners while also requiring less code to achieve similar results. MobX lacks native support to keep track of previous state transitions which is required to be able to go back to a previous state. Using MobX a new library called GlobalStore was created to solve this problem. An implementation example for synonyms was produced as a proof of concept for FriendlyReader. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-160754application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
MobX Redux FriendlyReader TeCST SAPIS state-machine state-transition Computer Sciences Datavetenskap (datalogi) |
spellingShingle |
MobX Redux FriendlyReader TeCST SAPIS state-machine state-transition Computer Sciences Datavetenskap (datalogi) Holmstedt, David Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST |
description |
FriendlyReader and TeCST are text simplification tools developed at Linköping University, using an API service at the university called SAPIS. Both tools are web services that run in the browser for users. To improve the services an implementation of state-transition tracking was chosen as a way to both improve the website by enabling the user to undo actions, but also enable the client to cache information which lowers the amount of requests required to SAPIS. Two libraries, called MobX and Redux, where compared to find the one which worked best for FriendlyReader and TeCST. The main difference between MobX and Redux is the programming paradigms, MobX is object-oriented while Redux is functional. In the end MobX was chosen due to the object-oriented nature of the library which is more familiar for beginners while also requiring less code to achieve similar results. MobX lacks native support to keep track of previous state transitions which is required to be able to go back to a previous state. Using MobX a new library called GlobalStore was created to solve this problem. An implementation example for synonyms was produced as a proof of concept for FriendlyReader. |
author |
Holmstedt, David |
author_facet |
Holmstedt, David |
author_sort |
Holmstedt, David |
title |
Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST |
title_short |
Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST |
title_full |
Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST |
title_fullStr |
Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST |
title_full_unstemmed |
Analyzing and implementing a third-party state machine library for FriendlyReader and TeCST |
title_sort |
analyzing and implementing a third-party state machine library for friendlyreader and tecst |
publisher |
Linköpings universitet, Institutionen för datavetenskap |
publishDate |
2019 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-160754 |
work_keys_str_mv |
AT holmstedtdavid analyzingandimplementingathirdpartystatemachinelibraryforfriendlyreaderandtecst |
_version_ |
1719278728427601920 |