On 9 juil, 04:08, "ristretto.rb" <[EMAIL PROTECTED]> wrote:
> I leading a project based on Django, and I come from 12 years of Java,
> and 0 years of Python.  <pause - waiting for laughing to stop>

Well, if you insist : "ha ha ha".

Oh, BTW:
http://dirtsimple.org/2004/12/python-is-not-java.html

Ok, done with this. What's next ?-)

> I'm currently digging into the django-trunk on many an occasion,
> trying to explain things that I can't find in the docs.  Because I
> don't understand how Django was designed, and can't guess too easily,
> I find that really slow.
>
> I'm wondering if getting the KomodoIDE editor with a debugger would
> make learning Django faster.  Or would WingIDE be a better bet?  Or
> Eclipse with pyDev.  In theory, I could see stepping through code to
> learn how it all fits.  But, does this work well in practice?

Note that you don't need any of these "IDE" to step thru the code.
There's a command line debugger in the standard lib, named pdb. But
anyway: yeps, stepping thru the code can sometimes help. But if you
really want to understand Django's inners, that won't be enough IMHO.

> Any other tips to getting up to speed fast?

wrt/ Django's inners ? Some parts really requires solid Python
knowledge.

The template system should not be to hard to grasp, and the doc on
custom templatetags etc should get you started for what you really
need to know.

Someone already pointed you to James Bennett's post on how Django
handles an HTTP request. But you can browse all other django-related
posts on James blog, there are tons of things to learn here.

The ORM and newforms part is probably the one with the most "black
magic", specially if you don't have experience with highly dynamic
languages - like most Python frameworks, Django makes heavy use of
Python's dynamism and "advanced" instrospection and metaprogramming
features, and you'll have to learn about Python's object's model, and
more specifically:
- metaclasses
- descriptors and attribute lookup rules
- function decorators
- classmethods / staticmethods
- generally, use of functions and classes as first-class objects.

Anyway, you'll have to learn about all this to really take advantage
of what Python has to offer... comp.lang.py is the place for language-
related questions, and it's mostly a friendly and helpful group.

HTH
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to