[Input wanted] Kernel extension framework

Started by Ryex, December 10, 2010, 02:39:01 am

Previous topic - Next topic

Ryex

https://github.com/Ryex/RPG-Maker-PY/blob/master/src/Kernel.py

I just finished this extension framework that will allow RMPY to be extended.
I envision it working like this



the point of this that even the core is treated as a plugin and any part of it can be replaced or extended. (want to add a button to open a new editor interface? would you like some cake to go with that?)

apart form the obvious benefit of being able to extend the program it also promotes code modality.

what I want is input, do you think I achieved my goal with the code I have written? could it be done better? are there more interfaces I should add?
that kind of thing.

also If you think I should completely redo it in another way thats ok too. just tell me what you think.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Blizzard

I think the simple architecture of "create extension manager" -> "register extensions" -> "use extensions" is good enough.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.