SoftwareDesign
http://eli.thegreenplace.net/2012/08/24/plugins-in-c/
http://eli.thegreenplace.net/2012/08/07/fundamental-concepts-of-plugin-infrastructures/
Plugin system for Python http://www.evanfosmark.com/2009/07/simple-event-driven-plugin-system-in-python/
Plugin system for Java http://www.solitarygeek.com/java/a-simple-pluggable-java-application/
http://www.reddit.com/r/programming/comments/b4dhz/i_am_looking_for_resources_on_plugin/
Persistent setting is some data that needs to be saved when the user closes the application, and restored when the user reopens it.
http://msdn.microsoft.com/en-us/library/ms954629.aspx
http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=148
http://www.devarticles.com/c/a/Cplusplus/C-plus-plus-In-Theory-The-Singleton-Pattern-Part-2/3
File: “singleton.h”
----------------------
template <class T>
class Singleton
{
public:
static T& Instance() {
static T _instance;
return _instance;
}
private:
Singleton();
~Singleton();
Singleton(Singleton const&);
Singleton& operator=(Singleton const&);
};
-----------------------
#include “singleton.h”
class MyClass{
..
};
//Singleton template transforms MyClass into a Singleton:
typedef Singleton<MyClass> MyClassSingleton;