On NetTuts.com today there's a guide to help you create WordPress plugins with object-oriented code instead of procedural method. This means better encapsulation, reusability and more maintainable code.
Object-oriented code, among other things, can help organize and add reusability to your code. In this tutorial, I will teach you the basics of writing a WordPress plugin using object oriented techniques. We'll be using Dribble's API as an example for this tutorial.
They walk you through a brief explanation of OOP in WordPress plugins, setting up a shortcode, making a template tag and enabling this shortcode in the WordPress widgets. Their example grabs the latest shots from Dribble with a getImage() method that fetches the results from their REST API.