Easyadminbundle: Consider removing the convention mode

Created on 20 Jul 2018  路  4Comments  路  Source: EasyCorp/EasyAdminBundle

Hello folks,

I really appreciate easy admin, and I use it on few projects.
It's really easy to extends, but when the project gets bigger (and so customized) it becomes
really hard to know why it works or does not works : Is it by configuration or by convention.
Thus it gets really hard to refactor, because many things are by convention.

Symfony 1 was full of conventions, and for Symfony 2 @fabpot decided to remove all theses conventions
and has prefered explicitness. Now, I think we can say it was a really good choice.

And I personally prefer configuration over convention too.

This is why I open this issue. I think convention could be tempting, could be easy, etc. but it does no mix well with maintenance.

What do you think about it ?

hasPR

All 4 comments

If it becomes by configuration, then it's not EasyAdmin anymore, I guess :smiley:

IMHO, this is still easy, if you choose convention, it add only one line of code (template: foo/bar.html.twog)

For the record, simple !== easy

Done in #2435.

Was this page helpful?
0 / 5 - 0 ratings