These days, with the rise of the single page applications, there has been a steady rise in the number of complete websites that are built on a client side JavaScript framework.
At any given point of time, these sites have always had the need for validations that they need to run client side.
Recently, while working on a pet-project using Ember.js as the client side framework and jQuery for running my client side validations, I came across a rather interesting question.
How would you handle client side validations with a framework such as Ember.js?
The confusion…
The validations are run on the actual fields, which are the part of the view, but they are triggered and handled in an event handled by the controller. So where do the validations go?
Your new post is loading...