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


Groups > comp.lang.python > #44007

Re: django vs zope vs web2py

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <alokmahor@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; 'languages,': 0.04; 'base.': 0.05; 'django.': 0.05; 'model,': 0.05; '21,': 0.07; 'context': 0.07; 'deadlines': 0.07; 'elegant': 0.07; 'great.': 0.07; 'postgresql': 0.07; 'abstraction': 0.09; 'cherrypy': 0.09; 'clean.': 0.09; 'happen.': 0.09; 'http,': 0.09; 'sql,': 0.09; 'works.': 0.09; 'wrong,': 0.09; 'python': 0.11; 'django': 0.11; 'template': 0.14; 'books': 0.15; '(read': 0.16; 'blocks': 0.16; 'for,': 0.16; 'gained': 0.16; 'inheritance': 0.16; 'learn?': 0.16; 'magic': 0.16; 'modules.': 0.16; 'non-trivial': 0.16; 'roy': 0.16; 'sqlalchemy': 0.16; 'stuff.': 0.16; 'subject:django': 0.16; 'subject:zope': 0.16; 'template,': 0.16; 'language': 0.16; 'wrote:': 0.18; '(not': 0.18; 'module': 0.19; 'basically': 0.19; 'everyone,': 0.19; 'first.': 0.19; 'comfortable': 0.22; 'email addr:gmail.com&gt;': 0.22; 'featured': 0.22; 'preferred': 0.22; 'either.': 0.24; 'frameworks': 0.24; 'simpler': 0.24; 'sort': 0.25; 'options': 0.25; '&gt;': 0.26; 'communities': 0.26; 'header :In-Reply-To:1': 0.27; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'easier': 0.31; 'usually': 0.31; 'markup': 0.31; 'minor': 0.31; 'languages': 0.32; "we're": 0.32; 'another': 0.32; 'url:python': 0.33; 'community': 0.33; 'entirely': 0.33; 'framework': 0.33; 'third': 0.33; 'skip:d 20': 0.34; "i'd": 0.34; 'problem': 0.35; 'knowledge': 0.35; "can't": 0.35; 'tool': 0.35; 'transaction': 0.35; 'something': 0.35; 'good.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'html,': 0.36; 'i.e.': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'half': 0.37; 'wrong': 0.37; 'too': 0.37; 'level': 0.37; 'being': 0.38; 'sometimes': 0.38; 'skip:& 10': 0.38; 'initially': 0.38; 'saves': 0.38; 'security,': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'ability': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'called': 0.40; 'url:mail': 0.40; 'how': 0.40; 'even': 0.60; 'future': 0.60; 'chain': 0.60; 'invest': 0.60; 'is.': 0.60; 'liked': 0.60; 'money.': 0.60; 'truly': 0.60; 'most': 0.60; 'hope': 0.61; 'full': 0.61; 'managers': 0.61; 'new': 0.61; 'matter': 0.61; 'simple': 0.61; 'you.': 0.62; 'back': 0.62; 'times': 0.62; "you'll": 0.62; 'high': 0.63; 'kind': 0.63; 'decided': 0.64; 'pick': 0.64; 'more': 0.64; 'love': 0.65; 'great': 0.65; 'needs,': 0.65; 'details': 0.65; 'worth': 0.66; 'production': 0.68; 'price': 0.69; 'touch': 0.74; 'difference.': 0.84; 'mature': 0.84; 'route': 0.84; 'short,': 0.84; 'adopt': 0.91; 'brand.': 0.91; 'gaps': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=wrfx/J8qYBBazU970jEMCoyhj2w/MUTFprYsJuAhc3Q=; b=Y/8ofZckBasnIkkph6R9dDtd6sqRhXB6KO3GyGmKKSa94h2NsO9/QwanUYQSJ336Ut ImcjQpptY7P8vQnCo4V1unkEubZ9+LOk7sKyCgY/UkLXZ/fQDpP/GrMwGkc/ITGejrau kKyNz1KKcCghjArvdaVFqBqnVsBp+Kzlb44lCNxPXXYEVCfpo+PgPmH1bDH515Z2aoMb OWiRhhkjClMY0Zcgc+3JzVAzqkBYTVr2wKTapg8n+e48TvdBhXX51mhx0s3CMdUBhZPi jATh+jGxG9HjucGSY4EEIEep6qXPkilr8D+kES3h7Wd62eguyVFS5G9MicWVEgtEC6VA AYEQ==
MIME-Version 1.0
X-Received by 10.60.121.33 with SMTP id lh1mr8132878oeb.98.1366555323757; Sun, 21 Apr 2013 07:42:03 -0700 (PDT)
In-Reply-To <CAN2+EpbAR-CTzZEKMV6z50SG2xcWKzf5WT7Cf0jsZxSqk5TK+A@mail.gmail.com>
References <2dc047ad-6b38-422f-8aa6-fca662b89c64@googlegroups.com> <CAN2+EpbAR-CTzZEKMV6z50SG2xcWKzf5WT7Cf0jsZxSqk5TK+A@mail.gmail.com>
Date Sun, 21 Apr 2013 20:12:03 +0530
Subject Re: django vs zope vs web2py
From Alok Singh Mahor <alokmahor@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=047d7b33d004a37a0204dadff49b
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.881.1366555332.3114.python-list@python.org> (permalink)
Lines 182
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366555332 news.xs4all.nl 2179 [2001:888:2000:d::a6]:48330
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44007

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Apr 21, 2013 at 5:49 PM, Modulok <modulok@gmail.com> wrote:

> > Hi everyone,
> > few months back I decided to adopt python for my all sort of work
> including
> > web programming...
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
>
> Pick Django or web2py. You'll be happy with either. (I have no experience
> with
> zope.)
>
> They're both full featured do-everything-you-ever-wanted frameworks with
> great
> communities and lots of documentation. You can buy books on either. I'd say
> web2py is a little more elegant and easier to get started with. (An
> admittedly
> subjective claim.) Django has a little larger community and has more third
> party stuff.
>
> If you just need to "get it done" and don't care about how it happens,
> they're
> both excellent. You'll meet deadlines with either of them. The communities
> are
> smart the docs are great. You can't really go wrong any way you slice it.
> There's more third party documentation and books for Django right now but
> that's just because Django came out first. Give it another couple years and
> there won't be much difference.
>
> Basically, flip a coin and just go with it.
>
>
>
> And now for the gritty details approach...
>
> The problem with web frameworks is they are "magic", i.e. things just
> happen.
> It's the price we pay for using a high level abstraction. The higher the
> abstraction the more magic there is. Often times magic is good. It saves us
> time and money. However depending on your needs, other options are worth
> considering.
>
> If you are willing to invest a lot of time not being initially productive
> but
> learn a *ton* in exchange, you can use something like cherrypy. (Don't get
> me
> wrong, I love and often use cherrypy.) It's dirt simple and works. However,
> because it's so simple it doesn't do half of what you need for a
> non-trivial
> production site. Result? You'll have to fill in the tool chain gaps with
> other
> modules. This is what web frameworks do for you.
>
> If you go the cherrypy route you'll need to learn other things like like
> markup
> languages and some kind of way to talk to a database. Security is also
> entirely
> in your hands. You'll learn a ton about HTTP, SQL, markup languages, web
> security, encryption, etc. You'll be basically re-creating a web framework
> of
> your own brand. Again it's a time spent vs. knowledge gained trade off.
>
> For a template language I really liked wheezy.template but it's a little
> too
> new for me to feel comfortable using it on any big project. It has a very
> simple inheritance model, which is refreshing. I hope to use it more in the
> future.
>
> I usually use Mako for my templates. By 'template' I mean any template, not
> just HTML. I use mako for HTML, documentation, I even use mako to write SQL
> templates. The inheritance model of Mako takes a little more mental
> gymnastics
> to wrap your head around than the simpler (read nicer) wheezy.template
> model,
> but it's a more mature code base. (Not as mature as cheetah.) I had only
> minor
> experience with cheetah but found I preferred Mako. It was a matter of
> taste.
> There's nothing wrong with cheetah.
>
> As for database access: sqlalchemy is truly excellent and very flexible.
> For
> most things sqlalchemy is great. However for some projects it may contain
> too
> much magic. (Again we're going deeper.) Sometimes a backend-specific
> module is
> called for, in which case psycopg2 on postgresql is nice. The ability to
> use
> python context managers as transaction blocks is very clean.
>
> In short, how much do you want to learn? Do you prefer a top-down or
> bottom-up
> approach? Gritty details or elegant abstractions?
>
> -Modulok-
>
thanks a lot Rusi, Roy Smith, Surya and Modulok
I am sticking to django. In future I will touch web2py also

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


Thread

django vs zope vs web2py Alok Singh Mahor <alokmahor@gmail.com> - 2013-04-20 23:13 -0700
  Re: django vs zope vs web2py Alok Singh Mahor <alokmahor@gmail.com> - 2013-04-20 23:18 -0700
    Re: django vs zope vs web2py rusi <rustompmody@gmail.com> - 2013-04-21 00:51 -0700
    Re: django vs zope vs web2py Roy Smith <roy@panix.com> - 2013-04-21 07:22 -0400
    Re: django vs zope vs web2py Surya Kasturi <suryak@ieee.org> - 2013-04-21 17:29 +0530
  Re: django vs zope vs web2py Modulok <modulok@gmail.com> - 2013-04-21 06:19 -0600
  Re: django vs zope vs web2py Alok Singh Mahor <alokmahor@gmail.com> - 2013-04-21 20:12 +0530

csiph-web