# |
Jul 5th 2018, 16:41 |
josbeir |
i just don't have that many professional oppertunities to work with it causing my to abandon my initial project |
# |
Jul 5th 2018, 16:41 |
bravo-kernel |
haha |
# |
Jul 5th 2018, 16:41 |
bravo-kernel |
oops, sorry |
# |
Jul 5th 2018, 16:41 |
josbeir |
whut? i'm pro json-api ! :slightly_smiling_face: |
# |
Jul 5th 2018, 16:41 |
bravo-kernel |
@josbeir just curious as you seem to have an anti-json-api position? Do you happen to the current talks about GraphQL vs JSON API? |
# |
Jul 5th 2018, 16:41 |
josbeir |
i looks well coded and i like the middleware aproach |
# |
Jul 5th 2018, 16:41 |
bravo-kernel |
aha, it was just one of the many examples I have seen floating out there |
# |
Jul 5th 2018, 16:41 |
josbeir |
in a good way yes |
# |
Jul 5th 2018, 16:41 |
bravo-kernel |
in a good or bad way? SOz, not good at interpreting? |
# |
Jul 5th 2018, 16:36 |
josbeir |
that devour lib looks crazy @bravo-kernel |
# |
Jul 5th 2018, 16:33 |
james.phillips |
thanks bye for now |
# |
Jul 5th 2018, 16:33 |
bravo-kernel |
gl with your API and thanks for the enlightnment |
# |
Jul 5th 2018, 16:33 |
james.phillips |
thanks again! |
# |
Jul 5th 2018, 16:32 |
james.phillips |
im off home now |
# |
Jul 5th 2018, 16:32 |
james.phillips |
im not touching ur backend ta lol |
# |
Jul 5th 2018, 16:32 |
bravo-kernel |
anyway |
# |
Jul 5th 2018, 16:32 |
bravo-kernel |
without ever having to touch my backend |
# |
Jul 5th 2018, 16:32 |
james.phillips |
thanks for the help again! i will look at updating the swaager ui stuff to see if that fixes the path test issue |
# |
Jul 5th 2018, 16:32 |
bravo-kernel |
exactly, and if I get bored of Ember Data I can start using e.g. https://github.com/twg/devour |
# |
Jul 5th 2018, 16:32 |
josbeir |
its also getting more and more widely adapted |
# |
Jul 5th 2018, 16:31 |
james.phillips |
thats the main reason im using it...so I can have a website or an app or whatever using the data |
# |
Jul 5th 2018, 16:31 |
bravo-kernel |
the downsides are fine by me |
# |
Jul 5th 2018, 16:31 |
bravo-kernel |
if you ask me crud-json-api is the only route for me for a single reason.... I am able to swap in my frontend for whatever framework whenever I want |
# |
Jul 5th 2018, 16:30 |
james.phillips |
I just wanted to add a REST API onto an exising cakephp app and it looked good |
# |
Jul 5th 2018, 16:30 |
james.phillips |
if crud-json-api a good thing to be using? |
# |
Jul 5th 2018, 16:30 |
james.phillips |
ahh i get you...I think I dont want to expose everything about it all so what i tell it is fine to show other people |
# |
Jul 5th 2018, 16:29 |
bravo-kernel |
that's it, it can be done, I just did not have the energy to start |
# |
Jul 5th 2018, 16:29 |
bravo-kernel |
tables, entities, actions, perhaps mini-annotatio nfor the description |
# |
Jul 5th 2018, 16:29 |
james.phillips |
automatically? |
# |
Jul 5th 2018, 16:28 |
james.phillips |
how would it know about @SWG\Post( path="/crm-contacts/", summary="Add a new contact", tags={"Contacts"}, @SWG\Parameter( name="sort", description="Sort results by field", in="query", required=false, type="string", enum={"name", "description"} ), |
# |
Jul 5th 2018, 16:28 |
bravo-kernel |
@josbeir nah |
# |
Jul 5th 2018, 16:28 |
bravo-kernel |
haha |
# |
Jul 5th 2018, 16:28 |
bravo-kernel |
no `application/vnd.api+json` on the pet store either so I just have to believe it |
# |
Jul 5th 2018, 16:28 |
josbeir |
btw @bravo-kernel if i knew crud-json-api was going to be such a success i would have kept developing it :) |
# |
Jul 5th 2018, 16:28 |
bravo-kernel |
why and how it does JSON API is totally beyond me to be honest. I knew it was good but that good, haha |
# |
Jul 5th 2018, 16:27 |
bravo-kernel |
but I never got to that point |
# |
Jul 5th 2018, 16:27 |
bravo-kernel |
and... that should not be neccessary either, it can be done automatically |
# |
Jul 5th 2018, 16:27 |
james.phillips |
u r clever |
# |
Jul 5th 2018, 16:27 |
bravo-kernel |
I know, i made the plugin |
# |
Jul 5th 2018, 16:27 |
james.phillips |
its not realy automatic cos i have to write all the swg comments |
# |
Jul 5th 2018, 16:27 |
bravo-kernel |
the fact that it does/generates JSON API based on the comments is a 100% surprise to me |