Join plugin developer Ben Croker on a journey of exploring Craft plugins in-depth. Go beyond and the basics and learn how and why plugins work the way they do. Along the way improve your own plugin development chops and learn how to write better plugins.
Ben runs PutYourLightsOn, a software development company behind some of your favourite plugins. With a background in Computer Science, Ben is passionate about user experience and data visualisation, which he puts to good use when designing and building back-end systems.
Craft Plugin Development In-Depth is made up of the following videos:
|1||Visualizing a Craft Plugin||Ben jumps right in and maps an illustration of a Craft plugin with the actual code. Even if you've built a plugin, this will help you create a clearer mental model of how the plugin works.||08:26|
|2||How a Plugin Variable Works||Continuing with the EntryCount plugin, Ben takes a closer look at a plugin variable and what happens when you access a variable from a template.||09:49|
|3||How a Plugin Controller Works||Ben focuses on the plugin controller. He helps clear up confusion about plugin controllers and how we interact with them using Action URLs and POSTed forms.||12:37|
|4||How Service APIs Work||Ben continues his journey through a plugin's internals. This time he focuses on how Service APIs work.||12:05|
|5||Data Structures and Storage||Go deep with Ben on data structures and storage and learn a lot about a core part of plugin development for Craft.||15:49|
|6||Database Setup & Migration||Ben walks you through how to use the Craft database for storing persistent data for your plugin.||09:51|
|7||Debugging and Troubleshooting||Ben discusses the difference between a good developer and a great developer: debugging and troubleshooting skills.||14:18|
|8||Scalability and Performance||Now that you have your plugin built, how does it perform? Ben tackles making performance improvements on the plugin.||18:25|
|9||Config Settings and Extensibility||Ben wraps up the course by walking through how config settings work and how to use events so other developers can extend your plugin.||11:02|