[Vuejs]-Using models in frontend? (vue vs ember)

0👍

Using models in frontend frameworks is not that common due to JavaScript as a language. There are many benefits to strong typing, which is why there are nowadays multiple ways to add typing to the language.

Vue has support for TypeScript which is a common way to define models in your JavaScript. TypeScript let’s you define interfaces with certain types, so that you know that the data you have conforms to your model.

0👍

That’s where TypeScript comes in handy, Vue supports it, I don’t know much about ember but I’ve found this and Angular has it out of the box. As far as I know backend developers learning front end technologies like Angular and TypeScript over other options because of the coding style.

Leave a comment