On Thursday, 9 March 2017 05:05:37 UTC-5, David Froger wrote:
> There is a free ebook on the subject on O'Reilly:
> http://www.oreilly.com/web-platform/free/python-web-frameworks.csp
>
> Hope it helps,
> David
>
>
> Quoting Patrick McFarling (2017-03-09 10:24:16)
> > I would like to know what a
There is a free ebook on the subject on O'Reilly:
http://www.oreilly.com/web-platform/free/python-web-frameworks.csp
Hope it helps,
David
Quoting Patrick McFarling (2017-03-09 10:24:16)
> I would like to know what are the pros and cons of the web frameworks made in
> python.
> The one I tend to
On Wed, Nov 21, 2012 at 12:49:52PM -0800, rh wrote:
>
> wheezy + "myvirtualenv" = 3.3MB
> pyramid = 92MB
$ mkvirtualenv --no-site-packages -p python2.7 pyramid
$ pip install -U distribute
$ pip install pyramid
$ du -h .virtualenvs/pyramid
22M .virtualenvs/pyramid
$ du
> On Wed, Nov 21, 2012 at 10:43 PM, Steven D'Aprano
> wrote:
>> On Wed, 21 Nov 2012 22:21:23 +1100, Chris Angelico wrote:
>>
>>> Counting complexity by giving a score to every statement encourages code
>>> like this:
>>>
>>> def bletch(x,y):
>>> return x + {"foo":y*2,"bar":x*3+y,"quux":math.sin(
On Wed, Nov 21, 2012 at 10:43 PM, Steven D'Aprano
wrote:
> On Wed, 21 Nov 2012 22:21:23 +1100, Chris Angelico wrote:
>
>> Counting complexity by giving a score to every statement encourages code
>> like this:
>>
>> def bletch(x,y):
>> return x + {"foo":y*2,"bar":x*3+y,"quux":math.sin(y)}.get(mod
On Wed, Nov 21, 2012 at 10:57 AM, rh wrote:
> On Wed, 21 Nov 2012 10:12:26 -0800
> Chris Rebert wrote:
>> On Wed, Nov 21, 2012 at 9:49 AM, rh
>> wrote:
>> > On Tue, 20 Nov 2012 20:41:42 +0300
>> > Andriy Kornatskyy wrote:
>> > I'm looking at different technology right now on which to base a
>>
Kornatskyy
> To: python-list@python.org
> From: richard_hubb...@lavabit.com
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Wed, 21 Nov 2012 09:49:39 -0800
>
> On Tue, 20 Nov 2012 20:41:42 +0300
> Andriy Kornatskyy wrote:
>
On Wed, Nov 21, 2012 at 9:49 AM, rh wrote:
> On Tue, 20 Nov 2012 20:41:42 +0300
> Andriy Kornatskyy wrote:
>> Cyclomatic (or conditional) complexity is a metric used to indicate
>> the complexity of a source code. Excessive complexity is something
>> that is beyond recommended level of 10 (thresh
On 21/11/2012 12:47, Andriy Kornatskyy wrote:
Hm... what serves an evidence purpose for you?
Well-done empirical studies, like the one I gave you.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to inte
Hm... what serves an evidence purpose for you?
See functions at line 2619 and 2974 as an example for CC 20+:
https://github.com/defnull/bottle/blob/master/bottle.py
Andriy
> To: python-list@python.org
> From: robert.k...@gmail.com
> Subject
On 21/11/2012 12:17, Andriy Kornatskyy wrote:
Agreed. I think we have pretty much the same point of view on this.
All these metrics advise you... this is again depends how you look at this. If
you are a new comer to a project, you usually spend some time on code review,
talk to people, read d
analysis give
you an initial picture, how it fits with your own vision, etc. Convince or
accept?
Andriy Kornatskyy
> To: python-list@python.org
> From: robert.k...@gmail.com
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Wed, 21 Nov 2
On 21/11/2012 11:02, Andriy Kornatskyy wrote:
Robert,
You would never get a better product by accident.
The meaning of better product might differ from team to team but you can not
ignore excessive complexity. Earlier or later you get back to that code and
refactor it, thus existence of such
I believe for the quality of code you produce.
Thanks.
Andriy
> From: steve+comp.lang.pyt...@pearwood.info
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Wed, 21 Nov 2012 11:43:10 +
> To: python-list@python.org
>
> O
On 21/11/2012 01:43, Steven D'Aprano wrote:
On Tue, 20 Nov 2012 20:07:54 +, Robert Kern wrote:
The source of bugs is not excessive complexity in a method, just
excessive lines of code.
Taken literally, that cannot possibly the case.
def method(self, a, b, c):
do_this(a)
do_that
.
Thanks.
Andriy
> Date: Wed, 21 Nov 2012 22:21:23 +1100
> Subject: Re: Web Frameworks Excessive Complexity
> From: ros...@gmail.com
> To: python-list@python.org
>
> On Wed, Nov 21, 2012 at 10:09 PM, Andriy Kornatskyy
> wrote:
>
On Wed, 21 Nov 2012 22:21:23 +1100, Chris Angelico wrote:
> Counting complexity by giving a score to every statement encourages code
> like this:
>
> def bletch(x,y):
> return x + {"foo":y*2,"bar":x*3+y,"quux":math.sin(y)}.get(mode,0)
>
> instead of:
>
> def bletch(x,y):
> if mode=="foo": r
> From: ulrich.eckha...@dominolaser.com
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Wed, 21 Nov 2012 09:33:09 +0100
> To: python-list@python.org
>
> Am 21.11.2012 02:43, schrieb Steven D'Aprano:
> > On Tue, 20 Nov 2012 20:07:54 +, Robert K
.
Thanks.
Andriy
> To: python-list@python.org
> From: robert.k...@gmail.com
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Tue, 20 Nov 2012 20:33:46 +
>
> On 20/11/2012 20:22, Andriy Kornatskyy wrote:
> >
> >
Am 21.11.2012 02:43, schrieb Steven D'Aprano:
On Tue, 20 Nov 2012 20:07:54 +, Robert Kern wrote:
The source of bugs is not excessive complexity in a method, just
excessive lines of code.
Taken literally, that cannot possibly the case.
def method(self, a, b, c):
do_this(a)
do_tha
On Tue, 20 Nov 2012 20:07:54 +, Robert Kern wrote:
> The source of bugs is not excessive complexity in a method, just
> excessive lines of code.
Taken literally, that cannot possibly the case.
def method(self, a, b, c):
do_this(a)
do_that(b)
do_something_else(c)
def method(self
On 20/11/2012 20:22, Andriy Kornatskyy wrote:
Robert,
I respect your point of view and it definitely make sense to me. I personally
do not have a problem to understand CC but agree, method LoC is easier to
understand. Regardless the path your choose in your next refactoring (based on
method
> To: python-list@python.org
> From: robert.k...@gmail.com
> Subject: Re: Web Frameworks Excessive Complexity
> Date: Tue, 20 Nov 2012 20:07:54 +
>
> On 20/11/2012 19:46, Andriy Kornatskyy wrote:
> >
> > Robert,
> >
On 20/11/2012 19:46, Andriy Kornatskyy wrote:
Robert,
Thank you for the comment. I do not try relate CC with LOC. Instead pointing to
excessive complexity, something that is beyond recommended threshold, a subject
to refactoring in respective web frameworks. Those areas are likely to be
pote
coverage with unit tests) thus
have certain degree of interest to both: end users and framework developers.
Thanks.
Andriy Kornatskyy
> To: python-list@python.org
> From: robert.k...@gmail.com
> Subject: Re: Web Frameworks Excessive Complexity
&g
On 20/11/2012 17:41, Andriy Kornatskyy wrote:
Cyclomatic (or conditional) complexity is a metric used to indicate the
complexity of a source code. Excessive complexity is something that is beyond
recommended
level of 10 (threshold that points to the fact the source code is too
complex and refa
On Aug 26, 12:19 pm, exar...@twistedmatrix.com wrote:
> On 01:41 am, a...@pythoncraft.com wrote:
>
>
>
>
>
> >In article
> >,
> >Graham Dumpleton wrote:
> >>On Aug 24, 6:34=A0am, Sebastian Wiesner wrote:
>
> >>>In any case, there is bottle [1], which provides a *very minimal*
> >>>framewo=
> >>r
On 01:41 am, a...@pythoncraft.com wrote:
In article
,
Graham Dumpleton wrote:
On Aug 24, 6:34=A0am, Sebastian Wiesner wrote:
In any case, there is bottle [1], which provides a *very minimal*
framewo=
rk
for WSGI web development. =A0Don't expect too much, it is really
small, a=
nd
does
In article ,
Graham Dumpleton wrote:
>On Aug 24, 6:34=A0am, Sebastian Wiesner wrote:
>>
>> In any case, there is bottle [1], which provides a *very minimal* framewo=
>rk
>> for WSGI web development. =A0Don't expect too much, it is really small, a=
>nd
>> doesn't do much more than routing and mi
On Sun, 23 Aug 2009 16:32:09 -0400, Albert Hopkins wrote:
> What's different about Python 3 is that there is only unicode strings,
> whereas Python 2 has a string type and a unicode type.
Python 2 has "str" (char) and "unicode" (wchar) types.
Python 3 has "bytes" (char) and "str" (wchar) types.
On Aug 24, 6:34 am, Sebastian Wiesner wrote:
> At Sunday 23 August 2009 22:13:16 you wrote:> I use Chinese and therefore
> Unicode very heavily, and so Python 3 is
> > an unavoidable choice for me.
>
> Python 2.x supports Unicode just as well as Python 3. Every common web
> framework works perfe
David Prager Branner wrote:
> I use Chinese and therefore Unicode very heavily, and so Python 3 is
> an unavoidable choice for me.
As others noted before, this statement is not true by itself.
> But I'm frustrated by the fact that
> Django, Pylons, and TurboGears do not support Python 3 yet and
At Sunday 23 August 2009 22:13:16 you wrote:
> I use Chinese and therefore Unicode very heavily, and so Python 3 is
> an unavoidable choice for me.
Python 2.x supports Unicode just as well as Python 3. Every common web
framework works perfectly with unicode.
In any case, there is bottle [1], whi
On Sun, 2009-08-23 at 13:13 -0700, David Prager Branner wrote:
> I use Chinese and therefore Unicode very heavily, and so Python 3 is
> an unavoidable choice for me. But I'm frustrated by the fact that
> Django, Pylons, and TurboGears do not support Python 3 yet and
> (according to their developmen
TrustCommerce (www.trustcommerce.com) has an easy to use
Python interface (they other interfaces as well) that I've
used on a large Zope project recently.
-Larry Bates
Ed Leafe wrote:
> I may have an opportunity to develop an online ordering system for a
> client, and will have the ability to
Ed,
Its very simple to add credit card processing to your app. I have
personally used moneris , worldpay and debitech with no issues.
Sometimes you need to do a little ctypes or pyrex but overall - its
easy.
On 5/24/06, Ed Leafe <[EMAIL PROTECTED]> wrote:
> I may have an opportunity to devel
Ed,
On 5/24/06, Ed Leafe <[EMAIL PROTECTED]> wrote:
> I may have an opportunity to develop an online ordering system for a
> client, and will have the ability to develop using any tool I choose.
> Given the fact that there are more web frameworks in Python than
> keywords ;-) , what I need
37 matches
Mail list logo