PHP Classes

Great advice

Recommend this page to a friend!

      Tiny PHP ORM Framework  >  Tiny PHP ORM Framework package blog  >  PHP ORM Pros and Cons  >  All threads  >  Great advice  >  (Un) Subscribe thread alerts  
Subject:Great advice
Summary:Great advice
Messages:2
Author:Anthony Amolochitis
Date:2016-05-31 13:37:43
 

  1. Great advice   Reply   Report abuse  
Picture of Anthony Amolochitis Anthony Amolochitis - 2016-05-31 13:37:43
I like the message on validation separation. I use separate validation classes for my data structure object classes to determine it's state, and condition. Congrats on a greate article!

  2. Re: Great advice   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2016-05-31 18:50:01 - In reply to message 1 from Anthony Amolochitis
I agree. Validation in the ORM code only makes sense when you want to validate that a new record does not have some value that needs to be unique for instance.