Should my web based app be a consumer of my api?
Posted
by seanbrant
on Stack Overflow
See other posts from Stack Overflow
or by seanbrant
Published on 2010-06-11T19:19:25Z
Indexed on
2010/06/11
19:22 UTC
Read the original article
Hit count: 175
I will be developing a mobile app (iPhone) and a web based app (Django) soon. For the mobile app I will be creating a REST api (most likely using Django) to send data back and forth from phone to server.
When I comes time to create the web based version does it make sense to just create it as any other client of the api. In other words both the mobile app and the web app will get there data from an external API over HTTP. Or should the web based app have direct access to the database that the api is using and just get its data that way?
© Stack Overflow or respective owner