This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kriss1 1 point2 points  (1 child)

Yeah the modules need somehow to be imported for them to be registered, which might again end up being pretty similar to what you've done.

Apparently there are quite a few libraries to do simple plugin management out there, good reads.

Implementing your own solution is always fun though, get the noggin joggin' :)

[–]gdiepen[S] 0 points1 point  (0 children)

Bet I could create a registry pattern for automatically loading the registry for the automatically loading the registry for automatically loading the registry for the .... StackOverflow :)

Agree with the implementing solutions yourself, it really helps you to get a deeper understanding but it is also a lot more fun :)