Collins is a web developer by day and a freelance writer and blogger by night. Developer of the popular ProfilePress as well as MailOptin. When not wrangling with code, he is fond of sleeping on the couch and writing at his personal blog.
You really don’t want to spend hours manually testing every part of your WordPress plugin to ensure nothing is broken every time you deploy a new version — do you? In this tutorial Collins Agbonghama will teach you how to test efficiently with automated testing, and help you recognize the importance of writing tests and how to start writing one for your own WordPress plugin.
Read more…
In this tutorial, Collins Agbonghama will talk about ROT13 encryption and how it works. You’ll see how text can be programmatically encoded in ROT13 using PHP. Finally, you’ll code a WordPress plugin that scans a post for blacklisted words and replaces any in ROT13 encryption. Even if you don’t end up using the plugin, the concepts you’ll learn in creating it can be applied to many situations, such as obfuscating or encrypting inappropriate words (such as profanities) in ROT13, which would be a nice feature in a forum where people have the freedom to post anything.
Read more…