Let me know your thought about this new structure for gadgets:
\gadgets
\gadgets\Banner.php ( in current structure this file named Info.php and included in gadget directory )
\gadgets\Banner\
\gadgets\Banner\Actions.php
\gadgets\Banner\Actions\
\gadgets\Banner\Actions\Foo.php
\gadgets\Banner\Actions\Admin\
\gadgets\Banner\Actions\Admin\Bar.php
...
\gadgets\Banner\Model.php
\gadgets\Banner\Model\Foo.php
\gadgets\Banner\Model\Admin\
\gadgets\Banner\Model\Admin\Bar.php
...
In this new structure we will split actions/model/adminmodel for using less memory, speed executing and more easy developing.
And another change is moving Info.php to outside of gadget directory(root of gadgets directory) for logical class naming.(I need your idea about this one specially)
Let me know your thought about this new structure for gadgets:
\gadgets \gadgets\Banner.php ( in current structure this file named Info.php and included in gadget directory ) \gadgets\Banner\ \gadgets\Banner\Actions.php \gadgets\Banner\Actions\ \gadgets\Banner\Actions\Foo.php \gadgets\Banner\Actions\Admin\ \gadgets\Banner\Actions\Admin\Bar.php ... \gadgets\Banner\Model.php \gadgets\Banner\Model\Foo.php \gadgets\Banner\Model\Admin\ \gadgets\Banner\Model\Admin\Bar.php ...
In this new structure we will split actions/model/adminmodel for using less memory, speed executing and more easy developing.
And another change is moving Info.php to outside of gadget directory(root of gadgets directory) for logical class naming.(I need your idea about this one specially)