30,997
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 566: | Line 566: | ||
*The '''Active Record''' | *The '''Active Record''' | ||
Same as previous, but we are allowed to add some business functions into the class, if such functions are dedicated to | Same as previous, but we are allowed to add some business functions into the CRUD class, if such functions are dedicated to manipulate data into this table. | ||
This pattern is known to be the most productive of the 3, as it is a very good compromise between the '''Table And Row Data Gateway''' and the '''Data Mapper'''. | This pattern is known to be the most productive of the 3, as it is a very good compromise between the '''Table And Row Data Gateway''' and the '''Data Mapper'''. | ||