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


Groups > comp.lang.python > #100105 > unrolled thread

Understanding Python from a PHP coder's perspective

Started byvillascape@gmail.com
First post2015-12-07 13:07 -0800
Last post2015-12-08 20:40 +1100
Articles 1 on this page of 21 — 7 participants

Back to article view | Back to comp.lang.python


Contents

  Understanding Python from a PHP coder's perspective villascape@gmail.com - 2015-12-07 13:07 -0800
    Re: Understanding Python from a PHP coder's perspective villascape@gmail.com - 2015-12-07 13:21 -0800
      Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 09:00 +1100
        Re: Understanding Python from a PHP coder's perspective villascape@gmail.com - 2015-12-07 14:27 -0800
          Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 10:09 +1100
            Re: Understanding Python from a PHP coder's perspective villascape@gmail.com - 2015-12-07 17:00 -0800
              Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 14:26 +1100
          Re: Understanding Python from a PHP coder's perspective Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-07 16:10 -0700
          Re: Understanding Python from a PHP coder's perspective Cameron Simpson <cs@zip.com.au> - 2015-12-08 10:07 +1100
          Re: Understanding Python from a PHP coder's perspective Tim Chase <python.list@tim.thechases.com> - 2015-12-07 21:11 -0600
          Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 14:47 +1100
    Re: Understanding Python from a PHP coder's perspective Cameron Simpson <cs@zip.com.au> - 2015-12-08 08:33 +1100
    Re: Understanding Python from a PHP coder's perspective Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-07 14:37 -0700
    Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 08:40 +1100
    Re: Understanding Python from a PHP coder's perspective Terry Reedy <tjreedy@udel.edu> - 2015-12-07 16:53 -0500
    Re: Understanding Python from a PHP coder's perspective Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-07 14:59 -0700
    Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 09:03 +1100
    Re: Understanding Python from a PHP coder's perspective Tim Chase <python.list@tim.thechases.com> - 2015-12-07 16:28 -0600
    Re: Understanding Python from a PHP coder's perspective villascape@gmail.com - 2015-12-07 20:11 -0800
    Re: Understanding Python from a PHP coder's perspective Peter Otten <__peter__@web.de> - 2015-12-08 10:24 +0100
    Re: Understanding Python from a PHP coder's perspective Chris Angelico <rosuav@gmail.com> - 2015-12-08 20:40 +1100

Page 2 of 2 — ← Prev page 1 [2]


#100142

FromChris Angelico <rosuav@gmail.com>
Date2015-12-08 20:40 +1100
Message-ID<mailman.55.1449567640.12405.python-list@python.org>
In reply to#100105
On Tue, Dec 8, 2015 at 8:24 PM, Peter Otten <__peter__@web.de> wrote:
> Chris Angelico wrote:
>
>> On Tue, Dec 8, 2015 at 8:59 AM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
>>> On Mon, Dec 7, 2015 at 2:40 PM, Chris Angelico <rosuav@gmail.com> wrote:
>>>> So that's a quick potted summary of why the URLs don't reflect the
>>>> language used. Python is event-driven, but instead of defining events
>>>> at the file level, the way PHP does, they're defined at the function
>>>> level. Of course, if you *want* to put ".py" on the end of all your
>>>> URLs, Python won't stop you... :)
>>>
>>> Or, if it's a poorly implemented site, ".rb". ;-)
>>
>> Well hey. Python won't stop me from adding ".rb" to the ends of my
>> URLs either...
>
> Or ".php". Leaking the suffix is both ugly and excellent marketing -- a
> combination that is also common in the fashion industry.

Worst I've ever done there is create shim redirects. I refuse to have
my Python site advertise PHP.

https://github.com/Rosuav/Flask1/blob/master/1.py#L82

ChrisA

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web