News for hackers. Stuff that matters.
Re:A proposal to move Gnome to GitLab by tommorris on Wednesday May 17, 2017 @07:24AM (#14357382)
> And why would any site use the same URIs for API endpoints and frontend/view navigation places?

Because they are the same underlying thing...

Re:A proposal to move Gnome to GitLab by pas on Wednesday May 17, 2017 @09:44AM (#14358313)
Yes, of course, but not exactly.

I mean, I know RoR likes magic very much, but it's not totally surprising to separate the backend from the frontend.

And then use a SPA framework and use Ajax to communicate with the backend via a "REST API", because that simplifies the backend. A lot. You don't have to have views, templates, and so on implemented.

So either the REST API is not a REST API, but a lot of interesting endpoints for the frontend dynamic JS magic, or the frontend is not a frontend, just a lot of glitter thrown up on a REST API.

(I quickly tried to get something in JSON from a GitLab URL, but I just get a HTTP 406. :( )