So, i have been learning Vue.js as my first js framework for some time and after i made some simple SPAs without much interactions with server i started to wonder: what should Backend be like with Vue? For education purpose i gave it a try and came up with some pattern on my own and now i can't imagine anything else, maybe got some wrong idea.
What i came up with. I made a simple API with PHP which was receiving requests from Frontend (Vue component methods reacting on UI events) and requesting data from Model or updating data through it.
Aucun commentaire:
Enregistrer un commentaire