Recently I wrote an article, Writing a Custom WordPress Plugin for work. Hopefully it will be beneficial to someone as it answers a lot of questions I had when I set out to write one myself. Let me know your thoughts.