Why the Plugin Architecture Gives You CRAZY Flexibility
ArjanCodes ArjanCodes
249K subscribers
113,131 views
3.6K

 Published On Sep 17, 2021

✅ Get the FREE Software Architecture Checklist, a guide for building robust, scalable software systems: https://arjan.codes/checklist.

By using a plugin architecture, you can create applications that are incredibly easy to extend. Add new characters or levels to your game after it's been shipped, or allow others to extend the GUI of your application dynamically, without changing a single line in the original code! In this video, I show you how to setup an architecture like this in Python in a few simple steps.

The code I worked on in this video is available here: https://github.com/ArjanCodes/2021-pl....

💡 Here's my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide.

🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas
The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level...
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc

🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.

🚀If you want to take a quantum leap in your software development career, check out my course The Software Design Mindset: https://www.arjancodes.com/mindset.

My software development setup:
💻 Apple M1 Macbook Air: https://amzn.to/3fq9nG5
⌨ Keychron K2 mechanical keyboard (awesome typing experience): https://amzn.to/3f1dlEI
🖱 Logitech MX Master 3: https://amzn.to/3sRvDyJ

My camera gear:
📷 Sony A7C - https://amzn.to/3aShCtw
🎙 Rode Wireless GO - https://amzn.to/3pSLFVU
🎙 Electrovoice RE20 - https://amzn.to/3xQAJ0w
🎙 Sennheiser MKH416 P48 - https://amzn.to/3vOpx2i
🎚 Sound Devices Mix-Pre 3 II - https://amzn.to/3nSOc37
💡 GVM RGB LED light - https://amzn.to/3qRNJid
💡 GVM 100W light with lantern softbox - https://amzn.to/2NuU8lk

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

💬 Join my Discord server here: https://discord.arjan.codes

🐦Twitter:   / arjancodes  
🌍LinkedIn:   / arjancodes  
🕵Facebook:   / arjancodes  

👀 Channel code reviewer board:
- Yoriz
- Ryan Laursen
- Sybren A. Stüvel

🔖 Chapters:
0:00 Intro
1:13 Explaining the example
3:22 What is the plugin architecture?
4:01 Create a factory to dynamically define game characters
9:49 Register game character classes in the factory
12:17 Dynamically insert extra code via a plugin interface
18:14 Creating a new plugin: Bard
21:56 Adding new functionality to the Bard class
23:23 Final thoughts

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

show more

Share/Embed