Skip to content

Commit

Permalink
[PROPOSAL] deprecation of active record
Browse files Browse the repository at this point in the history
  • Loading branch information
chfsx committed Feb 14, 2025
1 parent 389a37e commit f16f946
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions components/ILIAS/ActiveRecord/class.ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
*********************************************************************/

/**
* Class ActiveRecord
* @author Fabian Schmid <[email protected]>
* @author Oskar Truffer <[email protected]>
* @experimental
* @description
* @version 2.0.7
* @depracated This service is now deprecated and will be removed with ILIAS 12 or 13 (depending on how quickly users
* can replace their implementations). The ActiveRecord was a simple way of handling database operations and object
* mapping in its day. However, the pattern is not very lightweight and has a very large overhead. It also leads to
* many database queries and high memory consumption. For several releases now, the “Repository Pattern” has been
* propagated as a better alternative.
*/
#[\AllowDynamicProperties]
abstract class ActiveRecord
Expand Down

0 comments on commit f16f946

Please sign in to comment.