Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: I want to create a mobile web app with Django. Where to begin?
9 points by rfnslyr on June 27, 2013 | hide | past | favorite | 4 comments
Hailing all Python experts! What is the correct path to go if I want to write a simple web app in Django. I want to have a login and when I login, just display some simple data.

Right now I'm reading up on Django, what else should I read and familiarize myself with?

As a beginner it's tough sorting through all the data on Google and finding out what is write/wrong and wasting hours experimenting.



Well beside reading de doc. and start by creating the "hello world" django app, you should take a look at these django packages: https://www.djangopackages.com/grids/g/mobile/

then save the android developers site and read the design patterns section: http://developer.android.com/design/patterns/index.html

and finally follow this tutorial to jump start your mobile app: http://mobiforge.com/developing/story/build-a-mobile-and-des...


Awesome, thank you very much, bookmarked these resources!


There's two approaches here:

1) Traditional, have Django serve mobile optimized HTML via it's templates.

2) Use django to create an API, there's several tools to help with this, like piston, django-rest-framework, and tastypie.


A project that I am currently working on uses a Django Piston API and a javascript framework on the client.

Piston: https://bitbucket.org/jespern/django-piston/wiki/Home




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: