« Return to Thread: Special:All pages broken at about 03:00 UTC this morning

Re: Will the frontend ever use the API, itself?

by Aryeh Gregor :: Rate this Message:

Reply to Author | View in Thread

On Wed, Aug 20, 2008 at 3:24 PM, Jay R. Ashworth <jra@...> wrote:
> So the obvious followup question is: is there a plan to migrate the
> front end to *use the API* to talk to the backend (which is the
> preferred approach to such things anyway)?

One practical issue with this at present is that nobody who does much
of anything with core does much of anything with the API.  I've barely
looked at it at all.

As a more philosophical thing, there's no reason for the human UI to
call the API.  We should have a back-end, and then two interfaces to
that: one designed for external robots, and one designed for
HTML-viewing humans.  Both of the interfaces should use the internal
PHP interface to speak to the back-end.  The API operates in a format
that's suitable for robots to use, not suitable for internal code to
use.

_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

 « Return to Thread: Special:All pages broken at about 03:00 UTC this morning