-----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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGctaLwRnhpk1wk44RAsCFAKCT0SySOTkC1z/qf9O4urUVCgPM0ACeNgux
+xYDr29+3a72CBw7f1X2kv0=
=2NdX
-----END PGP SIGNATURE-----