• hi someone has used doctrine in wordpress what are the best practices?
    I want to use doctrine for some internal plugins many developers from symphony world in my team
    As I understood the main wpdb ORM, is it generally planned to switch to something like doctrine or active records ORM ?

Viewing 1 replies (of 1 total)
  • I know doctrine on wordpress only within plugins. There it is sometimes used to simplify the possibilities for developers to implement additions. The disadvantage is that it bloats the plugin. A package, which would be only 2 kb without doctrine, is with doctrine suddenly over 200kb.

    From my point of view, this also contradicts the guideline that WordPress plugins should be as minimalistic as possible. They should not contain any unneeded functions, but they do when you integrate doctrine. See manual: https://developer.www.ads-software.com/plugins/

    I don’t really think this makes sense from the point of view of users of plugins. There is simply no noticeable added value. Of course, this may be a matter of personal opinion.

    If you’re wondering if there’s anything planned for wordpress core in this regard, I’d recommend taking a look at the core trac where developers evaluate feature requests. You can also ask your question there yourself: https://core.trac.www.ads-software.com/newticket

Viewing 1 replies (of 1 total)
  • The topic ‘doctrine In wordpress’ is closed to new replies.