GroundApps / ShoppingList_Backend

Simple Centralized Shoppinglist - php backend
GNU General Public License v3.0
27 stars 23 forks source link

REST Api #76

Open J-8 opened 8 years ago

J-8 commented 8 years ago

What do you think of using a REST Api for the backend? I think it would help to create a standardized way of altering and retrieving data. We could use the Slim Framework, so no need to reinvent the wheel. Another benefit would be that the app would hopefully become less complicated programming wise. I never had scalability in mind and the code is basically a very rough proof of concept.

So, what are your thoughts?

ghost commented 8 years ago

What is REST?

Am 09.01.2016 um 13:15 schrieb Jan Buchta notifications@github.com:

What do you think of using a REST Api for the backend? I think it would help to create a standardized way of altering and retrieving data. We could use the Slim Framework, so no need to reinvent the wheel. Another benefit would be that the app would hopefully become less complicated programming wise. I never had scalability in mind and the code is basically a very rough proof of concept.

So, what are your thoughts?

— Reply to this email directly or view it on GitHub.

J-8 commented 8 years ago

This page has a good example. I thought it would be a good idea to standardize the api. There is also a nice library for Android which we could then use.

ghost commented 8 years ago

This looks cool Good idea we do this

Von meinem iPhone gesendet

Am 09.01.2016 um 16:48 schrieb Jan Buchta notifications@github.com:

This page has a good example. I thought it would be a good idea to standardize the api. There is also a nice library for Android which we could then use.

— Reply to this email directly or view it on GitHub.

mcepl commented 8 years ago

Well, whatever type of API or protocol there will be developed (REST or not), it would be lovely if some standardized protcol was created (and kept), so that third-party clients can be made as well. I was thinking about HTML5 (plain JS, HTML, CSS) one, and of course somebody could come with the iPhone one.

J-8 commented 8 years ago

Hey. You are absolutely right! I hope that REST will supply exactly that. And the good thing about it are the available libraries for pretty much all platforms.

mcepl commented 8 years ago

What I meant is that if there is any possibility that REST protocol would take some time, we should first stabilize and document the current protocol (with warnings, that it may change), and only then start to work on new REST protocol.

ghost commented 8 years ago

Next week I will start with the REST API and make all New the hole Backend