Viewing a response to: @amosbastian/re-programarivm-re-amosbastian-releasing-fpl-0-5-0-1535841001533-20180901t234351775z
On the other hand, I was thinking that in general terms we shouldn't struggle too much when it comes to retrieve data from a REST API, and I like REST by the way :) Since I like REST too, in my humble opinion, that could be seen as kind of code smell in a sense that the API's architecture is not very well designed? So, here are alternative scenarios (for PHP) to solve the problem of a slow REST API that requires too many operations to fetch the data: 1. Write your own API with REST improving the architecture of the original one -- I tried to do something similar to fpl at [Data Driven Test Development Demo](https://github.com/programarivm/data-driven-test-development-demo) 2. Write your own API with GraphSQL -- [GraphQL Demo for Symfony 4](https://github.com/programarivm/graphql-demo-symfony4) In both cases, we're assuming that the API interface can be changed, and also it is okay to "scrap" and store the data on our side.
author | programarivm |
---|---|
permlink | re-amosbastian-re-programarivm-re-amosbastian-releasing-fpl-0-5-0-1535841001533-20180902t092307791z |
category | fpl |
json_metadata | {"tags":["fpl"],"links":["https://github.com/programarivm/data-driven-test-development-demo","https://github.com/programarivm/graphql-demo-symfony4"],"app":"steemit/0.1"} |
created | 2018-09-02 09:23:09 |
last_update | 2018-09-02 09:26:09 |
depth | 3 |
children | 1 |
last_payout | 2018-09-09 09:23:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.020 HBD |
curator_payout_value | 0.006 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 944 |
author_reputation | 2,631,258,794,707 |
root_title | "Releasing fpl 0.5.0" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 70,079,575 |
net_rshares | 22,251,164,832 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
amosbastian | 0 | 22,251,164,832 | 33% |
That's definitely something I will look into, thanks!
author | amosbastian |
---|---|
permlink | re-programarivm-re-amosbastian-re-programarivm-re-amosbastian-releasing-fpl-0-5-0-1535841001533-20180902t110431644z |
category | fpl |
json_metadata | {"tags":["fpl"],"app":"steemit/0.1"} |
created | 2018-09-02 11:04:30 |
last_update | 2018-09-02 11:04:30 |
depth | 4 |
children | 0 |
last_payout | 2018-09-09 11:04:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 53 |
author_reputation | 174,473,586,900,705 |
root_title | "Releasing fpl 0.5.0" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 70,085,453 |
net_rshares | 0 |