Development update

October 3rd, 2006 by papillon

The new plugin architecture is done. While still resembling the old one, the interface is a bit simpler to understand. On the feature side, it is now possible for plugins to provide a “function class”, independent of it’s DLL filename.

That means that e.g. several database plugins (xp_sqlite.dll, xp_mysql.dll, and xp_sqlserver.dll) can share the same function class “sql” and register it with NWNX. On the other side, a script always calls a function based on it’s function class, no matter what the underlying plugin is named, meaning that a request for a “sql” type plugin is routed to one of the installed plugins that provides the “sql” class.

A simple change, but one that provides much better flexibility than the old, rather monolithic, approach.