User:Owyn/Mediawiki As Service

We would like to evolve a long term strategy towards separation of internal data structures and business logic from rendering wikitext. We call this idea "Mediawiki as a Service". For example, imagine that all HTML/HTTP related code is removed from core or templatized and that there was a type of Skin that just exposed data instead of HTML. Combined with a backend system that broadcasts events so that hooks worked more like an Actor model, and a replacement for the shared state/global variables that are currently used then it could be possible to use mediawiki as a core component of a service oriented architecture with a completely different front end, or as an embedded part of a larger application. This seems like it would be useful in other projects such as mwlib.