Ramverk vs Vanilla JavaScript : Vilken teknik bör väljas för en modern webbapplikation?

Detta är en M1-uppsats från Blekinge Tekniska Högskola/Institutionen för datalogi och datorsystemteknik

Sammanfattning: This study is a second year thesis in Software Engineering at the Blekinge Institute of Technology. It investigates differences between frameworks and Vanilla JavaScript according to requirements in modern web applications. Region Blekinge, a municipal institution, wanted to research a prototype for a search function for their future website. Using the prototype young people would be able to retrieve information about schools and educations in their area to better be able to make a good choice. The objective is to find out what a JavaScript framework has to contribute, and especially when it comes to maintainability. A comparative analysis focusing on the code implementation was therefore made between two prototypes of the application. The results of the study shows that Vanilla JavaScript is more popular and has a higher maturity, while the framework Vue.js is more maintainable when it comes to reusability of code components, databinding, readability of code and code size. A drawback for frameworks is that they have a tendency to evolve quickly, and some of them even gets obsolete. The choice between the competing techniques was hard, but in the end Vanilla JavaScript was chosen for the application. The main reason being that the future is estimated to be more stable for Vanilla JavaScript, and for a municipal institution stability is important since one needs to appear trustworthy and build systems that will remain as stable as possible in the long term.

  HÄR KAN DU HÄMTA UPPSATSEN I FULLTEXT. (följ länken till nästa sida)