Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100142
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Understanding Python from a PHP coder's perspective |
| Date | Tue, 8 Dec 2015 20:40:31 +1100 |
| Lines | 25 |
| Message-ID | <mailman.55.1449567640.12405.python-list@python.org> (permalink) |
| References | <f39f97f5-d7a1-4d7c-a7ac-527c2ffff76b@googlegroups.com> <CAPTjJmogkpiBmioh9MFBtAPHKBjr5qK4_pdqLmqvzQgZkVLGUA@mail.gmail.com> <CALwzid=O=mpaz2TW9T-Xzs_HkGohAcysLum6m5cWiX3Nr56o_A@mail.gmail.com> <CAPTjJmqNjWq-X8dc3+YD04PFm6ajbjGgHtRwN+yRY0pwq3sWuw@mail.gmail.com> <n467l1$slo$1@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de zFmCG0hu5wDE8uv8tYtNbw8ivdItleI4HpXTO6FgIOOg== |
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'used.': 0.05; 'php.': 0.07; 'suffix': 0.07; 'ugly': 0.07; 'cc:addr:python-list': 0.09; 'url:github': 0.09; 'python': 0.10; '2:40': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:perspective': 0.16; 'worst': 0.16; 'wrote:': 0.16; ';-)': 0.18; 'language': 0.19; '>>>': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'level,': 0.22; 'am,': 0.23; 'defined': 0.23; 'dec': 0.23; 'implemented': 0.24; 'header:In- Reply-To:1': 0.24; 'mon,': 0.24; "i've": 0.25; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.27; 'defining': 0.27; 'reflect': 0.27; 'function': 0.28; 'does,': 0.29; 'summary': 0.29; 'common': 0.33; 'combination': 0.33; 'tue,': 0.34; 'file': 0.34; 'received:google.com': 0.35; 'done': 0.35; 'but': 0.36; 'instead': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'urls': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; "won't": 0.38; 'received:209': 0.38; 'or,': 0.38; 'end': 0.39; 'why': 0.39; 'subject:from': 0.39; 'ever': 0.60; 'your': 0.60; 'industry.': 0.63; "they're": 0.66; 'marketing': 0.72; 'chrisa': 0.84; 'otten': 0.84; 'url:master': 0.84; 'to:none': 0.91; 'urls,': 0.91; 'poorly': 0.93; 'refuse': 0.93; 'advertise': 0.96; 'you...': 0.97 |
| 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:cc :content-type; bh=DYYebz0ZhvEqdtsvim57mKbDGcFr44s72UqAaUTsFac=; b=Ly//jKJQRrPv/Y7liAoLwSwSvzxkHLjtwAQRsxYGN1B76e7yHgV8m++QXjdpyPkVh2 oekgQppGLUy6CxJCnEsk+SYIvQoJrVCamK2P0666hADU0PeBsjO30rrJSadDqOmtOZLN W0oY797s39zEWIguxaHhdLMszx3U6sZfjBvOd0IdqlDoIwdNyMg2qNSMT2rQuzur3EMz PgdrH+nxjivgEQJS1/HqaYhb4oN5OK0u9D+f6CrG72itntz6JvrS3Mx1glLDvPrbXb4X k4LeWpcCiuT5BxBfoNeH8aTYQpemziwmOSztLCkKJefVDfDumTagVqdndMXshDMMvbeB Ym1A== |
| X-Received | by 10.50.183.11 with SMTP id ei11mr3248727igc.94.1449567631385; Tue, 08 Dec 2015 01:40:31 -0800 (PST) |
| In-Reply-To | <n467l1$slo$1@ger.gmane.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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> |
| Xref | csiph.com comp.lang.python:100142 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web