https://bugzilla.wikimedia.org/show_bug.cgi?id=59780

--- Comment #7 from Michael Dale <md...@wikimedia.org> ---
The idea was code reuse across instances that needed to request with DB vs
request via HTTP over the web.  If building a lot of services that aim to work
with local, foreign db, foreign api via HTTP, it is convenient to use the same
API. 

Also an API based access to data in theory gives you more schema / data
retrieval flexibility, since your client code is hitting the same ~stable~
services as external clients, you exercise the same code paths, have less php
class coupling to specific methods, only have to learn "one api" etc.  

anyway, Seemed like a good idea at the time ;) 

Bu seems like its run into issues as is not the standard approach and we should
update it to query the db directly ( where it can ).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to