0
Friends, I would like your feedback and suggestions regarding validation rules by parameters established on a website. I have two types of parameters, a global one, which will be used for the entire site, and a so-called product, which will be used for products. There are n validations that I have to do, first I have to validate for the global, type, the customer can only buy 3 products in general until its delivery and other parameters. Once this has been checked for product parameters, type the user may take only 3 unit of a particular product. There are many rules that will have to be compared in order to validate the data. I would like ideas, suggestions to make these validations efficiently. I have a table called parameters, where save the general parameters, and each product, except in the same products table I await the help of all
Does your application use the MVC standard? It is object-oriented?
– Edson Horacio Junior
no MVC standard and no object hole. Structured programming.
– lelopes