Etikett: Theme

  • WordPress Themes vs Plugins and the single responsibility principle

    Have you every thought about what should go into a WordPress theme and what should go into a WordPress plugin? This is a question that I for sometime have been thinking reading about. The WordPress codex has the following definitions: ”Fundamentally, the WordPress Theme system is a way to ”skin” your weblog. Yet, it is more than just a…

  • Unit testing your WordPress themes and plugins

    WP tuts has created an interesting three part tutorial on how to use test driven development when writing themes and plugins for WordPress. The first part introduces the concept of unit testing and it explains what is needed to be able to write unit tests for WordPress. The second part continues by introducing how to write a testable plugin…