What does VueJS mean by calling themselves progressive framework? [closed]

…衆ロ難τιáo~ 提交于 2021-02-04 17:48:15

问题


What is progressive framework that is meant by official documentation of VueJs?
What are the differences of progressive framework and monolithic framework?
May I have some example of any website for references what is progressive framework about? I can't really understand.


回答1:


The corrected answer for "what does progressive mean" is given in their Vue intro video: "If you have an existing server side application, you can plug VUE into just one part of your application". You can then scale if you wish with their CORE libraries.

So, it's not "all or none".




回答2:


"Progressive" means its implemented as additional markup to html.if the model is updated the browsers HTML is updated, that is it reacts to model updates.

Vue.js not a monolithic framework

a monolithic application describes a single-tiered software application in which the user interface and data access code are combined into a single program from a single platform. A monolithic application is self-contained and independent from other computing applications.




回答3:


the word "progressive" means its implemented as additional markup to html. it basically a template model bound to a data model. if the model is updated the browsers html is updated, that is it reacts to model updates. Vue js in an example of progressive framework.

for example in vue. I have a template of html here like

<template>
  <div>
      <p>{{framework}}</p>
  </div>
</template>

here's my data or model

data() {
  return {
     framework: 'Vue js'
 }
}

so whenever I changed the value of framework variable into 'Angular'. The p tag text also will change into 'Angular'. In short, if the data model is updated the browsers html is also updated.

So monolithic web framework is lightly faster to get started with, but less control over its workings, more chance of the framework not supporting your usecase, and higher long-term maintenance cost due to the inevitable need for workarounds. Example for a monolithic web framework sail.js

for more explanation please refer to this article source



来源:https://stackoverflow.com/questions/59834087/what-does-vuejs-mean-by-calling-themselves-progressive-framework

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!