Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
JhonDoe27945yacknowledged, any particular stuff you need help with?
- make a simple web token based authentication
- serializing php objects as json can be a bitch -
There isn’t any out the box REST API solutions it’s something you’re going to have to dev yourself.
There are frameworks that make it easier such as Laravel, but you still have to integrate it. -
There are many tools available through composer that are pretty much plug and play that you could add man :D you can just have a folder structure in which you have those particular sets of endpoints. yourpagewhatever/api and inside api you can take care of your particular routes by orchestrating everything through your index file
-
werlious505yFor PHP, try 000webhost.com, if you want a clean name use dot.tk . But FYI PHP is pretty much dead and JavaScript has taken over (it was hard to let my 4 years PHP exp go). A nodejs instance can run anywhere with express and db bindings
-
C0D4669445y@werlious php is dead 😂omg what crack pot did you smoke today, because I need some!
@zemaitis if you want something you can quickly build on, check out slim.
http://www.slimframework.com/ -
@werlious guess someone should tell my employer as well as all of my customers that php is dead. Also the maintainers should be told since they keep updating the whole language, frameworks keep popping up and the language keeps evolving with conferences and shit. But yeah dead totally
-
ngServe2955y@werlious whilst nodeJS is good. PHP is by far dead and will single handily out perform nodeJS in terms of queries per second tenfold. (I write in both php and nodeJS) and php is so much easier to configure and use.
-
@werlious I wouldn't recommend 000webhost since they store(d) passwords in plaintext.
Related Rants
Need a backend advice. I have a php webhosting with a mysql database and im looking for a simple REST API backend solution so that my android app could fetch data from mysql via api. Any suggestions?
rant
question