-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yuri Astrakhan wrote:
Brion, I agree that API should not duplicate DB access, but unfortunately most of the core code was targeted towards a single page request. Only some special pages return data for multiple items, and from what I understood, they are not easy to refactor to just get the data for the API (I might be wrong). Hence most normal wiki operations seem to be a special subset the theoretical internal API (e.g. just need content of a single page whereas API may provide content of multiple pages) - which validates the separate biz logic tier idea.
Seems to me it validates refactoring the db access tier.
- -- brion vibber (brion @ wikimedia.org)