Oddbean new post about | logout
 Just stumbled upon this gem of an article about plugin systems, written back in 2012, and it's still super inspiring!

Fundamental concepts of plugin infrastructures
https://eli.thegreenplace.net/2012/08/07/fundamental-concepts-of-plugin-infrastructures

It uses a Python blog system as a case study to explore various aspects of plugin systems. In the end, the author nails it with a summary of the four key concepts of a plugin system:

1. discovery
2. registration
3. Application hooks to which plugins attach (aka "mount point")
4. Exposing application capabilities back to plugins (aka. extension API)

Such an insightful breakdown! Whether you're trying to get the hang of existing plugin systems or planning to design one, these fundamental concepts are your go-to guide. Totally hits the mark!

#plugin #Python