Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63245
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ikorot01@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; ';-)': 0.03; 'output': 0.05; 'cache': 0.07; 'json': 0.07; 'abstraction': 0.09; 'django,': 0.09; 'framework.': 0.09; 'frameworks,': 0.09; 'logic': 0.09; 'oh,': 0.09; 'orm': 0.09; 'plug': 0.09; 'subject:question': 0.10; 'django': 0.11; 'jan': 0.12; 'accepting': 0.14; '(sqlalchemy,': 0.16; '*you*': 0.16; 'components.': 0.16; 'docs.': 0.16; 'frameworks.': 0.16; 'json,': 0.16; 'middleware': 0.16; 'parameters,': 0.16; 'roy': 0.16; 'sqlobject,': 0.16; 'subject:django': 0.16; 'templating': 0.16; 'templating,': 0.16; 'employer': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'programming': 0.22; 'admin': 0.22; 'coding': 0.22; '(such': 0.24; 'certainly': 0.24; 'documented': 0.24; "haven't": 0.24; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'easier': 0.31; 'chase': 0.31; 'fighting': 0.31; 'routing,': 0.31; 'this.': 0.32; 'quite': 0.32; 'url:python': 0.33; 'framework': 0.33; 'guess': 0.33; 'table': 0.34; 'possible.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; '(we': 0.36; 'templates': 0.36; 'tight': 0.36; 'transition': 0.36; 'url:listinfo': 0.36; 'doing': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'example,': 0.37; 'integration': 0.37; 'thank': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'anything': 0.39; 'does': 0.39; 'generating': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'major': 0.40; 'url:mail': 0.40; 'easy': 0.60; 'everybody': 0.60; 'areas': 0.61; 'new': 0.61; "you're": 0.61; 'first': 0.61; 'such': 0.63; 'choose': 0.64; 'box,': 0.64; 'more': 0.64; 'different': 0.65; 'kept': 0.65; 'charset:windows-1252': 0.65; 'services': 0.66; 'between': 0.67; 'smith': 0.68; 'fact,': 0.69; 'business': 0.70; 'article': 0.77; 'yourself': 0.78; 'etc),': 0.84; 'isolated': 0.84; 'one).': 0.84; 'worthwhile.': 0.84; 'surgery': 0.91; 'hand,': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ZD9KrJUuTIHYr6ZVWX49EaSdQu5C6bErVe5+QxP28CI=; b=VygRmbVW6fj4YZluX3fB8AonthXbanQtBclv9FnxmrO92ihpbuQkKJANTJ+SBhEo5Y GBdLI9AVDF94PY5qzqOo/lB+OG0dbbFh3vT7lWLR5/i3cvhX7Kgjm+fXBvt86kgh6CIs I67n7ejZ20U0M97Jyf5c0R3Y0rRi2ScPDCTA27uuQ1yaonKpYCk/aCHhA8Kd/BpvffQ8 lWOXp3eHI8OfiloIUgVa47up0DAC/mLnwyBz74GRFYya2wn8nC4EB8hWNSyYexc94X1G Uz/2oa/tkCMn7Siy44pIsjs7/KVQLKIdJsW4LKzVKZvgHyTamGWWrOj/ldKNT2xIcJ2x KKxw== |
| MIME-Version | 1.0 |
| X-Received | by 10.182.28.134 with SMTP id b6mr69757158obh.27.1388966819302; Sun, 05 Jan 2014 16:06:59 -0800 (PST) |
| In-Reply-To | <roy-ACA728.16505505012014@news.panix.com> |
| References | <CA+FnnTxvJB=OC2d-hO089uetWDwCFrCWJ2PNMf9xg7aW+oQFvQ@mail.gmail.com> <20140104193705.0db361cc@bigbox.christie.dr> <CA+FnnTzyVd0tQWTDHBFug+FTizJU-RxtfBQBWT-u5b+8RRUwbA@mail.gmail.com> <mailman.4972.1388957900.18130.python-list@python.org> <roy-ACA728.16505505012014@news.panix.com> |
| Date | Sun, 5 Jan 2014 16:06:59 -0800 |
| Subject | Re: django question |
| From | Igor Korot <ikorot01@gmail.com> |
| To | Roy Smith <roy@panix.com>, python-list@python.org |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | quoted-printable |
| 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.4988.1388966822.18130.python-list@python.org> (permalink) |
| Lines | 61 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1388966822 news.xs4all.nl 2903 [2001:888:2000:d::a6]:50383 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63245 |
Show key headers only | View raw
Hi, ALL, Well, my employer does not know anything about web programming and I don't know anything about web programming and this is my first job with python. So since django is a well documented framework I guess it will be easier to go with a well documented framework. Thank you everybody for such a good input. Happy New Year and happy coding in this year as well. ;-) On Sun, Jan 5, 2014 at 1:50 PM, Roy Smith <roy@panix.com> wrote: > In article <mailman.4972.1388957900.18130.python-list@python.org>, > Tim Chase <python.list@tim.thechases.com> wrote: > >> 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). > > On the other hand, it's all modular enough that it's quite reasonable to > plug in your own components. > > For example, at Songza, we don't use the django ORM at all (we use > mongoengine). We also have a number of django-based services which > don't use templates at all (we return JSON objects). Neither of these > required any major surgery to do this. > > In fact, for a lot of what we do, all we really get from django is the > request parsing, URL routing, middleware scaffolding, and cache > interface. But, that's enough to be worthwhile. > >> I haven't found it to be that easy to directly transition projects >> between Django and other frameworks. > > One of the things we try to do is put as little in the views as > possible. Views should be all about accepting and validating request > parameters, and generating output (be that HTML via templates, or JSON, > or whatever). All the business logic should be kept isolated from the > views. The better (and more disciplined) you are about doing this, the > easier it will be to move your business logic to a different framework. > > That's not to say it will be *easy*, but you can certainly make things > harder on yourself than they need to be if you don't keep things > distinct. > > Oh, and yes, the django team does a really amazing job on the docs. > > -- > https://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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