Tag: application rules
Validation vs. Application Rules In CakePHP
CakePHP uses a two-layered approach to validation: 1. Validation It determines basic validity. It ensures that the data types, size, and format of data are correct. When we call newEntity() or patchEntity() methods, validations are triggered. For example, checking if