course when you register on learnphalcon
The examples on this site are currently tested to work on Phalcon V3.4 and Phalcon Devtools V3.2 Some issues may arise when using later versions.

Please get in touch or post a comment below the post if you encounter a problem.

Validation and Business Logic

Validating user-entered data and Implementing Business Rules

Model-based Validation of data
Adding a Validator to an attribute
Adding a number of validators to a model
Adding Business Logic - Step 1 - Calculating the Booking Fee
Adding Business Logic - Step 2 - Updating the UX to reflect the new Business Rule
Adding Business Logic - Step 3 - Validating an attribute against a list from the database