In this section, we'll create a plugin via a simple step-by-step process. We'll first see what the essential requirements are, then try out and test the plugin, and then briefly discuss the PHP code.
First of all, we're here to learn about WordPress, so in this particular case, we will indeed build things from scratch. This is always the best approach to get an in-depth look into how a particular technology works.
However, later on, once you're working with WordPress on a regular basis managing your own or other people's websites, I actually advise you to always look for an already existing plugin before deciding to write a new one yourself. As I said, there are over 27,000 plugins in the official directory alone, not to mention all the premium plugins available all over the web. In short, if you need some functionality, most likely, there's a plugin for that so you can just go out and get it.
Why is this the recommended approach? If I'm correct, you've...