WordPress.org

Ideas

Add object-oriented foundations and design patterns

  1. wimpern-verlaengerung
    Member

    Anti-pattern.. ok.. Singleton is excellent. But also the ZEND Framwork has nice functions which come up with easy plugin installs to integrate it to WordPress.

    Posted: 2 years ago #
  2. LKorowicki
    Member

    12345

    I wrote some comment about possible change for backward compatibility here:

    https://wordpress.org/ideas/topic/time-to-remove-legacy-code-to-speed-up-wordpress?replies=7#post-29184

    this could be also solution for changing WP code to support OOP.

    What do you think?

    Posted: 2 years ago #
  3. thebigskull
    Member

    No, it would be simpler to just rebuild WP and would make much more sense than always altering it to meet your needs or be a better framework, better means redesign at this point.

    Posted: 1 year ago #
  4. Like already stated there is still the zend plugin, but if it were already core.

    Posted: 1 year ago #
  5. Kickertisch
    Member

    Maybe you can do new projects/sites with oop, but no backwards compatibility with old projects.

    If you want to do oop, you can start a new site. This would be beneficial for both sites.

    And by the way, after hearing from the zend plugin i tested it and it works great!

    Posted: 1 year ago #
  6. Derrick Hammer
    Inactive

    12345

    +1 Would love to see this.

    Posted: 1 year ago #
  7. wpgaijin
    Member

    12345

    Yes, this would be great, and it can still be backwards compatible.

    That whole "It can't be backwards compatible" is total BS. It's just an excuse not to do it.

    Posted: 1 year ago #
  8. +1 for the "feature"

    @thebigskull: Indeed this would be the best way... but it would cost massive time to spend for it. I am not sure what happens meanwhile to the wordpress core.

    Posted: 1 year ago #
  9. Anthon
    Member

    12345

    Would be nice :)

    Posted: 1 year ago #
  10. diempu
    Member

    +1 Would love to see this.

    Posted: 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    115 Votes
  • Status

    Sorry, not right now