with jquery it is possible to keep the html clean and as light as possible, and all programming on the client to do in just one js file
with jquery it is possible to keep the html clean and as light as possible
and all programming on the client to do in just one js file
Only then js is not clean and easy.
And files have to be stored and named in accordance with the html files
to implement the same tasks that require such things, will have to clutter up the html code a bunch of classes, additional elements and attributes
With the use of Vue templates Vice versa cleaner work.
thank God, not all the best is created in Google and Facebook
why not? that will help you to prevent, if you use the same javascript?
which files you want to keep, except the html pages?
no need to clutter the html attributes and elements have the backend technology is not polluting :)
css classes should not be used to bind functionality, css is purely a design tool, and design in different projects are different, again, the backend does not
show me an example template vue with complex functionality, in which there is no code not related to html and design css :)
Used ready component Twitter Bootstrap. No need to paint the entire structure and all classes.
<template>
<b-form @submit.prevent="submit_form">
<b-form-group label="Name" :invalid-feedback="'Enter name'">
<b-form-input type="text" id="name" name="name" v-model="artist.name">
</b-form-input></b-form-group>
<b-form-group>
<b-button variant="primary" type="submit">Save</b-button>
</b-form-group>
</b form>
</template>
<template>
the <div>
<h2 class="page-header">
<router-link-to="{name: 'artists'}">Artists</router-link>
<span class="text-muted">/</span>
Edit
</h2>
<artist form :artist="artist" @submit-form="update_artist"></artist-form>
</div>
</template>
tomorrow you will have the project for the sale of tights - you can use the same templates and code?
Vue worse than the React+MobX. There are scenarios that at the vue does not do and MobX -- easily;
Find more questions by tags JavaScriptVue.js
After rewriting the backend in js ) - Liliane_Kiehn99 commented on June 10th 19 at 15:38
As there was some API in PHP though, at least for Python, and still is.
Just for Nginx, which previously gave index.html added express.js for render application. - rossie.Cro commented on June 10th 19 at 15:41
The only one on the server not all hooks work and it is necessary to remember that there is no window. - rossie.Cro commented on June 10th 19 at 15:47