Validation and Business Rules

Validation is a huge part of any application — there are validation concerns on the front end and the back end respectively. I think of it as a layered approach of safety nets, the further you go down the stack the tighter the validation must be. Also, very closely related to data validation is how data validation relates to domain business rules in general. I recommend incorporating a rule engine like: https://www.npmjs.com/package/angular-rules-engine

The rule engine allows you to create data validation and/or simple-to-complex business rules using an easy API. Here’s a simple example:

I love tacos, code, jazz, my husky and maybe 3 people in this world...and of course: Angular. Angularlicious podcast — more info at www.AngularArchitecture.com

I love tacos, code, jazz, my husky and maybe 3 people in this world...and of course: Angular. Angularlicious podcast — more info at www.AngularArchitecture.com