All excellent ideas.  Great community here, thanks!!

To be clear, I have been coding Python and Django for a few weeks now,
and I've bought and read a few
books, poured over some online docs and tried to get confortable with
Komodo.

I don't really WANT to learn the internals of Django at this point.
(Perhaps someday, but right now I just want to use it.)
But, when something goes wrong, I need to figure out if it's in my
code, like something is misconfigured, or it's in Django.
After all, I'm sure you all would appreciate me doing as much leg work
as possible before reporting to this group.  It's
busy enough.  Since Django is a bunch of python scripts, as I've been
told, it isn't always clear where problems lie.

I don't often need a debugger to debug my own code.  Project isn't
that big yet, and I generally import logging, and write
unit tests.  But, when I want to learn about how my code dips into
Django, that's where a debugger and a comprehensive IDE
with "code intelligence" can really help.  I used to use Intellij IDEA
with Java, this is my reference for good "code intelligents".

I'll read up on pdb.  That's looks great.  Not sure if I'm going to
bother upgrading to the KomodoIDE.  I'm not too impressed so far.

Thanks for the pointer to comp.lang.py


On Jul 10, 9:31 am, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> 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