4

I have some experience developing websites, but none with proper web applications.

But this time I'm creating more of a web application, my server will surely handle API calls from a mobile app (iPhone/Android/MeeGo (...or not)) or even from third party clients.

So I'm thinking, is it really necessary that the "website" --the frontend part of my application using HTML (5)/CSS (3) and JS--interacts with my backend in a different way than my other "frontends"?

Am I thinking wrong? I think this is a common problem, and I need some experimented advices on that. Thank you for your help.

weberc2
8,0215 gold badges46 silver badges64 bronze badges
asked Feb 11, 2011 at 22:02
11
  • Why is this tagged django? Commented Mar 15, 2013 at 15:02
  • @weberc2 Because he is "mainly using the Django framework". Commented Sep 7, 2014 at 19:37
  • @EpicDavi I mainly use Linux. Doesn't mean I use that tag for every question I ask. Commented Sep 8, 2014 at 19:22
  • @weberc2 Linux isn't related to the question. Django is a framework that can be used to make web applications (such as the one he is trying to make here). He is familiar with Django and therefore it would be beneficial to him if his goals could be accomplished using it to save time and effort. Commented Sep 8, 2014 at 19:45
  • @EpicDavi Nothing in the question nor the accepted answer pertains to Django (except where he said he uses Django). His question pertains very generally to web application architecture. It doesn't matter if he uses Django or Rails or PHP or etc. Anything that can talk HTTP would suffice. 100% irrelevant. Commented Sep 8, 2014 at 19:51

1 Answer 1

4

Actually No. You're thinking it the right way. You can Javascript to interact with your Rest API, so you can focus only on writing a scalable API, and the UI. That's the approach taken by Twitter. Their web site, is a Rails application that uses the twitter API, written mostly in Scala, and uses by the hundreds of twitter clients out there, whether mobile or desktop app.

answered Feb 11, 2011 at 22:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.