WordPress.org

Ideas

Add object-oriented foundations and design patterns

  1. adobemediaserverguy
    Member

    12345

    No doubt, as many themes and plugins etc. that there are and after all this time it would finally be nice to have just one coding standard.

    Posted: 2 years ago #
  2. elema
    Member

    I totally agree that WP would be much easier to handle for developers if proper object oriented methods would be used. If there is a way to maintain backwards compatibility I think this is the way forward.

    Posted: 1 year ago #
  3. ringana
    Member

    @juanvillegas: Yes, the Singleton pattern is OOP. But when talking about object-oriented design patterns, it should be considered, that Singletons are used in a way, that the testability of an application is not affected. If this is the case, most people rethink the anti-pattern statement.

    Posted: 1 year ago #
  4. dv9999
    Member

    Backwards compatibility is not the only thing to search for. The goal must be as well to ensure forward compatibility for actual plugins.

    Posted: 1 year ago #
  5. theclouder
    Member

    Well if I have to redo a few projects, thats fine but I will be missing the backwards compability, if thats the case.

    Well anyway, lets see what happens until then

    Posted: 1 year ago #
  6. Ipstenu (Mika Epstein)
    Administrator

    Multiple the number of your projects by the thousands. And then do it again. And again.

    Now ask yourself "Will all those people read the emails to tell them how to fix their sites, or will they scream at WordPress?"

    Posted: 1 year ago #
  7. tfink
    Member

    Please init backward compatibility

    Posted: 1 year ago #
  8. answers
    Member

    i use Zend Framework and it works great

    Posted: 1 year ago #
  9. Why don't just use a Framework? There are tons of Frameworks for OOP programming.. Can not understand that is so discussed.

    Posted: 1 year ago #
  10. Ipstenu (Mika Epstein)
    Administrator

    Because rewriting the entirety of WordPress is not a trivial matter. If it was done, it would have to be backwards compatible with everything otherwise it would just be a new app.

    Posted: 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    116 Votes
  • Status

    Sorry, not right now