On Wed, Feb 6, 2013 at 11:54 AM, Gabriel Wicke <gwicke(a)wikimedia.org> wrote:
It should be possible to hide optimization details like local DB access
vs. an actual HTTP request behind the same interface. A URL-based query
interface can support local handlers for specific URL prefixes.
Or the interface can just look like a function call. Which seems a
whole lot more straightforward than forcing people to encode a URL in
Lua which is then passed to PHP and decoded to determine if it should
be sent out as a remote request or looked up in the local DB.
--
Brad Jorsch
Software Engineer
Wikimedia Foundation