Author: Manuel Lemos
Updated on: 2023-01-26
Posted on: 2023-01-26
Often applications that use the active record design pattern define hierarchies of class objects and establish relations between enslaver and enslaved person objects.
This package can help applications that use the active record design pattern implementation with the YII framework to automate the process of updating slave objects based on the changes in master objects.
About the yii2-arsync Package
The basic purpose is: Add new behaviors to active record actions
Here follows in more detail what it does:
This package can add new behaviors to active record actions.
It provides a class that extends the YII framework behavior class to allow the definition of a map of active record field values that will synchronize specific fields between master and slave active record objects.
It also allows applications to register callback functions to customize the actions that will be done when certain active record functions are called.
Currently, this class can add behaviors using callback functions where:
- There is an error saving an object
- There is an error deleting an object
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,611,062 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.