josegonzalez / cakephp-version

CakePHP3: plugin that facilitates versioned database entities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] Why we need the EventListener and the VersionListener

flashios09 opened this issue Β· comments

Hi @josegonzalez ,
Thanks for this awesome cakephp3 plugin πŸ‘
Sorry for my bad english :(

I wanted to store the whole data serialized in a single field instead of using one row per field for the version so i changed the beforeSave callback in the Version Behavior and it works. I added also a Json database type http://book.cakephp.org/3.0/en/orm/database-basics.html#Cake\Database\Type::map .

I have just a question why we need the EventListener, the VersionListener and the bootsrap_cli ?

They are used for Bake Integration.