Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95363

Re: Is Django the way to go for a newbie?

Newsgroups comp.lang.python
Date 2015-08-13 18:30 -0700
References (1 earlier) <55C7E15C.6070003@verizon.net> <D1EF74EF.10D290%Dwight@GoldWinde.com> <mailman.60.1439263774.3627.python-list@python.org> <6f2dc159-146b-44b8-b72e-fa34c4dc43cf@googlegroups.com> <mailman.181.1439514315.3627.python-list@python.org>
Message-ID <a54382b5-d3e4-400e-ab64-dd60c191072a@googlegroups.com> (permalink)
Subject Re: Is Django the way to go for a newbie?
From Rustom Mody <rustompmody@gmail.com>

Show all headers | View raw


On Friday, August 14, 2015 at 6:35:27 AM UTC+5:30, Michael Torrie wrote:
> On 08/10/2015 10:08 PM, Rustom Mody wrote:
> > On Tuesday, August 11, 2015 at 8:59:47 AM UTC+5:30, Michael Torrie wrote:
> >> On 08/10/2015 07:49 PM, Dwight GoldWinde wrote:
> >>> Thank you, Gary, for this new information.
> >>>
> >>> I will be looking into virtualenv and vertualenvwrapper.
> >>>
> >>> I thought that Django was an IDE. But, it seems that an IDE is one more
> >>> thing that I need that I didn¹t know I needed!?
> >>
> >> Django is a programming _library_ (also called a framework)
> > 
> > Please dont conflate library and framework.
> > Library, framework, DSL are different approaches for solving similar problems.
> > I personally tend to prefer DSL's, dislike frameworks and am neutral to libraries.
> > Which is why I would tend to start with flask + template-language + ORM
> > rather than start with a framework.
> > Others may have for very good reasons different preferences and that is fine¹.
> > 
> > But if you say equate all these, discussion becomes a mess.
> 
> Ahh. Well at least you didn't rail on me for being too lazy to
> capitalize acronyms like html.

No I am not trolling :-)

> 
> Given that until recently he thought Django was an IDE, I think calling
> Django a library is fair, as it describes to him how it relates to
> Python.  You download it and install it and it goes in site-packages
> along with all the other libraries you might install.  Of course it
> comes with utilities as well (which I mentioned).  Making the
> distinctions you are making, in this context, is probably ultimately
> going to be confusing to him at this stage of the game.  As he gets
> familiar with django I don't think he'll find this original
> simplification confusing, nor has it seemed to make this discussion a mess.
> 

True.
Purposive, directed lying is usually better pedagogy than legalistic correctness.

> As to the DSL, I'm not quite sure which part of django you're getting
> at.  Are you referring to the (optional) templating system?

Nothing specifically Django I am getting at.
Just that learning
- a templating engine -- eg Cheetah, Mako
- an ORM eg SQLAlchemy
- etc

is more fun than learning to chant the right mantras that a framework
demands without any clue of what/why/how

<admission>
I dont know Django. Used RoR some years ago and it was frightening.
And Ruby is not bad. So I assume Rails is.
I just assumed -- maybe ignorantly -- that Django and RoR are generically
similar systems
</admission>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Is Django the way to go for a newbie? Michael Torrie <torriem@gmail.com> - 2015-08-10 21:29 -0600
  Re: Is Django the way to go for a newbie? Rustom Mody <rustompmody@gmail.com> - 2015-08-10 21:08 -0700
    Re: Is Django the way to go for a newbie? Michael Torrie <torriem@gmail.com> - 2015-08-13 19:05 -0600
      Re: Is Django the way to go for a newbie? Rustom Mody <rustompmody@gmail.com> - 2015-08-13 18:30 -0700
        Re: Is Django the way to go for a newbie? Michael Torrie <torriem@gmail.com> - 2015-08-13 21:10 -0600
        Re: Is Django the way to go for a newbie? Laura Creighton <lac@openend.se> - 2015-08-14 06:23 +0200
    Re: Is Django the way to go for a newbie? Chris Angelico <rosuav@gmail.com> - 2015-08-14 11:44 +1000

csiph-web