|
|
| | Ask HN: Technical Question: Django for web/mobile app | |
2 points by xackpot on Nov 13, 2012 | hide | past | favorite | 4 comments
|
| | Hi Guys, I have a question related to the framework I am using to develop an app (webapp, mobile). I have a webapp with front end written in GWT and backend written in php and I use the same backend for my ios/android app as well. The backend has php scripts that either return json objects or simple responses.
Now I was thinking of moving the whole framework to django because I wanted to make use of multi-threading provided by python and also to learn a new framework.
So my question is, can I use django in such a setting? Basically, can I use the same server side code for both my webapp and mobile app?
Has anyone from HN done it before? Can you please share your thoughts on how to go about it?
Thanks a lot, appreciate your responses. |
|
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
I am a PHP developer and I ran into this question recently. At the startup where I work, we have a web app that is completely Ajax driven. When we decided to convert those Ajax endpoints to an API to be used with a mobile app and possibly open it to the public, I did some research and eventually decided on node.js and Restify. One of the draws is that with an Ajax webapp, we already have a team of JS devs on staff, so there would be less of a learning curve. I'd suggest looking into it.
EDIT: I forgot to address the multithreading part. I believe that node.js is not true multithreading...it is event driven, so it can use a single thread more efficiently, which should achieve the same effect.