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


Groups > comp.lang.python > #63227

Re: django question

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To Python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'abstraction': 0.09; 'cherrypy': 0.09; "django's": 0.09; 'django,': 0.09; 'framework.': 0.09; 'frameworks,': 0.09; 'orm': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'django': 0.11; 'mostly': 0.14; '(sqlalchemy,': 0.16; '*you*': 0.16; '-tkc': 0.16; 'django?': 0.16; 'frameworks.': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'igor': 0.16; 'jumping': 0.16; 'middle,': 0.16; 'sqlobject,': 0.16; 'subject:django': 0.16; 'templating': 0.16; 'templating,': 0.16; 'tempted': 0.16; 'folks': 0.16; 'wrote:': 0.18; 'projects,': 0.19; 'later': 0.20; 'work,': 0.20; 'admin': 0.22; 'cc:addr:python.org': 0.22; '(such': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'switch': 0.26; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'points': 0.29; 'bigger': 0.30; 'department,': 0.31; 'fighting': 0.31; 'piece': 0.31; 'table': 0.34; "i'd": 0.34; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'tight': 0.36; 'transition': 0.36; 'possible': 0.36; 'integration': 0.37; 'application': 0.37; 'project': 0.37; 'thank': 0.38; 'same.': 0.38; 'little': 0.38; 'does': 0.39; 'either': 0.39; 'easy': 0.60; 'areas': 0.61; "you're": 0.61; "you've": 0.63; 'such': 0.63; 'skip:n 10': 0.64; 'choose': 0.64; 'box,': 0.64; 'more': 0.64; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'between': 0.67; 'beat': 0.68; 'application?': 0.84; 'easier,': 0.84; 'etc),': 0.84; 'light-weight': 0.84; 'one).': 0.84; 'received:50.22': 0.84
Date Sun, 5 Jan 2014 15:39:19 -0600
From Tim Chase <python.list@tim.thechases.com>
To Igor Korot <ikorot01@gmail.com>
Subject Re: django question
In-Reply-To <CA+FnnTzyVd0tQWTDHBFug+FTizJU-RxtfBQBWT-u5b+8RRUwbA@mail.gmail.com>
References <CA+FnnTxvJB=OC2d-hO089uetWDwCFrCWJ2PNMf9xg7aW+oQFvQ@mail.gmail.com> <20140104193705.0db361cc@bigbox.christie.dr> <CA+FnnTzyVd0tQWTDHBFug+FTizJU-RxtfBQBWT-u5b+8RRUwbA@mail.gmail.com>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Get-Message-Sender-Via boston.accountservergroup.com: authenticated_id: tim@thechases.com
Cc Python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4972.1388957900.18130.python-list@python.org> (permalink)
Lines 49
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1388957900 news.xs4all.nl 2839 [2001:888:2000:d::a6]:33462
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63227

Show key headers only | View raw


On 2014-01-05 00:24, Igor Korot wrote:
> > While I prefer Django for larger projects, for a lighter-weight
> > project such as what you describe, I'd be tempted to go with
> > something a little more light-weight unless you need additional
> > interactivity.  I've recently been impressed with Bottle[2] for a
> > small & clean web framework.  CherryPy comes somewhere in the
> > middle, but I can't say it met my needs/wants on the last project
> > where it was chosen (mostly in the documentation department, but
> > it's hard to beat Django's stellar docs).  
> 
> And thank you for those points as well.
> This piece will be for the proof of concept, which later on will go
> to much bigger application with reporting,
> plotting and different types of data presentation.
> Now would it be easy to switch from either on of them to django?
> Or is there a better choice for the main application?

Integration is one of the things that Django does particularly well:
out of the box, you get a web framework, database abstraction (ORM),
templating, out-of-the-box functionality, and PHENOMENAL
documentation. The others just bring the web-framework to the table
and *you* then have to choose your templating engine (and ORM if
you're using one).  Some people see this as an advantage, some see it
as a disadvantage.  If you like a particular templating engine (Mako,
Jinja, etc) or ORM (SQLAlchemy, SQLObject, etc), you /can/ use them in
Django or other frameworks, but in Django, you'd be fighting the
Django Way™ and don't get to take advantage of some of the tight
integration in areas where it does some of the hard work for you
(such as integration into the admin interface).

I haven't found it to be that easy to directly transition projects
between Django and other frameworks.  Jumping from Bottle to CherryPy
might be easier, as the non-framework parts (templating, ORM)
would/should mostly stay the same.  Depending on the scope of your
work, it might be possible to just use something light-weight like
Bottle to get a demo up and running, then scrap it and start
mostly-from-scratch on a Django project once you've impressed folks
with a proof-of-concept.

-tkc








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


Thread

Re: django question Tim Chase <python.list@tim.thechases.com> - 2014-01-05 15:39 -0600
  Re: django question Roy Smith <roy@panix.com> - 2014-01-05 16:50 -0500
    Re: django question Igor Korot <ikorot01@gmail.com> - 2014-01-05 16:06 -0800
    Re: django question CM <cmpython@gmail.com> - 2014-01-06 16:48 -0800
      Re: django question Roy Smith <roy@panix.com> - 2014-01-06 20:57 -0500
        Re: django question CM <cmpython@gmail.com> - 2014-01-06 23:55 -0800
          Re: django question aerojunkemail@gmail.com - 2014-01-07 11:53 -0800

csiph-web