-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yuri Astrakhan wrote:
Having WebDAV interface sounds very very cool, but under no circumstances should we introduce yet another direct database access layer.
At present, Wiki is a web based single tier application -- the code that modifies the databases is intermixed with the UI code that renders web pages.
The API has to duplicate some of the db access logic, together with various security validations, to provide useful services.
The machine-readable API should *never* be duplicating any database access logic. Any remaining cases where DB code is intermixed with UI need to be refactored, as have been many places in the code already.
As I recommended before, and as I continue to recommend, nothing should be going into the API without doing that refactoring. Any time you add new DB code into the API, it's a mistake.
- -- brion vibber (brion @ wikimedia.org)