Hide metadata

dc.contributor.authorGrov, Marianne
dc.date.accessioned2015-08-26T22:00:29Z
dc.date.available2016-05-20T22:30:50Z
dc.date.issued2015
dc.identifier.citationGrov, Marianne. Building User Interfaces Using Virtual DOM. Master thesis, University of Oslo, 2015
dc.identifier.urihttp://hdl.handle.net/10852/45209
dc.description.abstractA comparison against dirty checking and KVO. This thesis explores the use of virtual DOM to render application content to the DOM.The method will be compared against the main rendering alternatives of today, dirty checking and key-value-observation (KVO). The areas examined are performance, handling of existing problems and general impact of using virtual DOM in front-end development. Performance tests are executed on test cases with different structures and amounts of data. A survey was conducted among students at the Department of Informatics, University of Oslo, to investigate their degree of familiarity with frameworks and rendering methods. Ten experienced developers were interviewed to obtain information about how the techniques function in large-scale projects. The results show that virtual DOM performs well compared with the two other techniques focused on in this thesis. Dirty checking revealed serious performance issues that are of no concern using virtual DOM. KVO potentially gives the best performance, but at the cost of much more manual work than is required by virtual DOM. Virtual DOM also improved several of the problem areas found in use of the other techniques. Virtual DOM showed to simplify application development. It provides a higher abstraction level than KVO and a more reliable abstraction level than dirty checking. Less details have to be taken care of manually, leaving more focus to the actual functionality being developed. The virtual DOM approach has changed the perception of how the code beneath user interfaces should be structured. The technique expands the usage areas of JavaScript, and the advantages of one-way dataflow and declarative programming have been spread in the JavaScript community. A lot of projects are replacing the other techniques with the virtual DOM approach.eng
dc.language.isoeng
dc.subjectJavaScript
dc.subjectVirtual
dc.subjectDOM
dc.subjectKVO
dc.subjectdirty
dc.subjectchecking
dc.subjectcomparison
dc.titleBuilding User Interfaces Using Virtual DOMeng
dc.typeMaster thesis
dc.date.updated2015-08-26T22:00:29Z
dc.creator.authorGrov, Marianne
dc.identifier.urnURN:NBN:no-49432
dc.type.documentMasteroppgave
dc.identifier.fulltextFulltext https://www.duo.uio.no/bitstream/handle/10852/45209/7/mymaster.pdf


Files in this item

Appears in the following Collection

Hide metadata