Ismayil Khayredinov
1 min readApr 22, 2019

--

A few months ago as I was working with many forms in Vue, I was thinking it would be possible to implement MVC-type model schemas with validations using Vue components. Sadly didn’t have time to work on it yet.

I quite like your approach. The only comment I have is that state is not a model. Repository would be a more accurate description. A model in my understanding is a single entity, i.e. a MongoDB document or SQL row. Storing collections of distinct objects that are considered M in most MVC frameworks and calling them models is IMO confusing.

--

--

Ismayil Khayredinov
Ismayil Khayredinov

Written by Ismayil Khayredinov

Software engineer who combines optimism with pessimism to build robust and idiot-proof solutions

No responses yet