views:

125

answers:

4

I am looking for advice on best resources to learn how to develop webapps with Django [the python framework]. Here's a few information to help responders to narrow-down the gazillion options "out there".

Where I stand

  • I know python (2.x series) and I have developed a few applications/scripts with it. I wouldn't define myself a python-ninja in any way, but I think got a very good understanding of the language structure and - above all - philosophy.
  • I have PHP-only experience with web development.
  • I have fair understanding of MVC approach to frameworks (CakePHP) but not so much experience IRL.

What I am looking for

  • Structured learning material: book titles, online tutorials, videos, etc...
  • Life stories and personal accounts: how did you learn? why did you choose to learn that way? did it work? would you change anything in the way you learnt django?
  • Any kind of advice you think is worth sharing!

I would like to stress that I am not looking just for raw links (I could probably find those myself with google, after all!) but I am rather looking for your opinion and advice (with a link attached to them)!

Thank you in advance for your time!

+2  A: 

Well, I have a trivial solution - get used to reading the manual and the django book they host.

Django manual is organized well, and once you have a mental picture of it, you'll really be able to make a good use of it.

Two things I wish Django docs were better at - tell clearly where to import stuff right at each definition of class and sometimes I wish explanations were a little shorter.

Evgeny
Django book has been a great asset to me :) http://djangobook.com
Jiaaro
A: 

Check out PyCharm from JetBrains - I am just starting to dabble with Django, and this IDE has built-in Django support.

Paul McGuire
+4  A: 

My opinion has been expressed in this answer

I have read the djangobook, practical django projects, pro django and some portions of "Web development with django". They are all good books.

But I think, for someone with already enough php and python experience, James Bennet's Practical Django projects is a very good asset. I highly recommend it.

Lakshman Prasad
@becomingGuru - Thanks for the link and for the book suggestion. SO somehow did not show me that question when I was searching the DB prior to post my own. (+1)
mac
+1  A: 

Djangobook has been the best asset to my learning so far. They structure it in a way that lets you suffer doing things the hard way first so that you get an understanding of what is really going on behind the scenes when you take the "shortcuts." I've read nearly the whole book, and I reference back every now and then when the occasional question comes up.

This leads me to my next point. Django is known for having great documentation. There are so many code examples, and gotcha's explained in there that makes the docs one of the most valuable things to django.

Finally don't be afraid to ask the django community questions. This site (stackoverflow), and the IRC channel (irc.freenode.net #django) are very welcoming and helpful. If you have any questions just ask. Someone will be able to help.

CodeBlock
@CodeBlock - Thank you for answer, I appreciate it. I am under the impression there were substantial changes between django 0.96 and 1.0, enough to justify an completely re-edited edition of the book. Do you know if the second edition - still marked as "work in progress" - is complete enough for a newcomer to use? I of course would prefer to learn the "latest and greatest" Django, rather than an obsolete version! Thank you for your time!
mac
I used the 1.0 version of the book. Of course now I run 1.2 alpha and there are some changes (CSRF for example) outlined at http://docs.djangoproject.com/en/dev/releases/1.2/ . The book will give you a great head start, and when 1.2 becomes final, reading the docs should give you enough of a "bridge" that learning your way around the new stuff should be trivial.
CodeBlock