gjerokrsteski / pimf-framework

Micro framework for PHP that emphasises minimalism and simplicity
pimf-framework.de
MIT License
43 stars 16 forks source link

Increase OOP, reduce hard coupling, improve internal APIs, etc. #23

Open garrettw opened 7 years ago

garrettw commented 7 years ago

This issue is mainly to track development on these topics. I'll be tagging this issue in my commit messages.

Classes to be converted from static to OO:

Classes that need hard class references to be replaced with dependency injection:

Internal APIs that need improvement:

Methods with too many params:

Reduce complexity:

Remove usage of exit/die:

Consider better names for functions:

Improve adherence to ADR pattern in:

gjerokrsteski commented 7 years ago

@garrettw is the checklist above up to date?

garrettw commented 7 years ago

Yes, I've been making those changes in my master branch, and adding new checklist items as I come across other things that need doing.

gjerokrsteski commented 7 years ago

I am looking forward to it and am very excited :-)

garrettw commented 7 years ago

Me too. I originally wanted to build my own framework, and I still do, but I think it will be easier to start with this existing project which is already similar to what I would want.