Timeline for How to acquire data and render page in context of REST/API application?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 11, 2015 at 13:56 | comment | added | Robert Harvey | If the website will always run on a server that resides on the same local intranet as the database, then no, you don't need to access the data through the web services. The whole point of web services is to have machines at different physical locations talk to each other over the Internet. | |
| Jun 11, 2015 at 13:52 | comment | added | trejder | I HAVE a REST API. My mobile apps are using it. Now, I'm building a website (name it frontend, if you wish). I'm asking, if frontend (written in the same language, PHP, and run on the same server as API) should access data directly (models / PDO / MySQL) or if it also should be a client, that is accessing data only through API calls? | |
| Jun 11, 2015 at 13:49 | history | answered | Robert Harvey | CC BY-SA 3.0 |