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


Groups > comp.lang.python > #80613

Re: Communicating with a PHP script (and pretending I'm a browser)

Path csiph.com!usenet.pasdenom.info!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'django.': 0.05; 'appropriate.': 0.09; 'django,': 0.09; 'subject:script': 0.09; "they've": 0.09; 'python': 0.11; 'django': 0.11; 'language,': 0.12; '(unlike': 0.16; 'big,': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'redo': 0.16; 'rewriting': 0.16; 'shop.': 0.16; 'shops': 0.16; 'subject:PHP': 0.16; 'folks': 0.16; 'wrote:': 0.18; 'app': 0.19; 'seems': 0.21; 'code,': 0.22; 'hack': 0.22; 'header:User-Agent:1': 0.23; "i've": 0.25; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'asked': 0.31; 'code': 0.31; 'app.': 0.31; 'flags': 0.31; 'larry': 0.31; 'another': 0.32; 'linux': 0.33; 'worked': 0.33; "i'd": 0.34; 'subject: (': 0.35; 'subject:with': 0.35; 'knows': 0.35; 'case,': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'really': 0.36; 'bought': 0.36; 'should': 0.36; 'project': 0.37; 'message-id:@gmail.com': 0.38; 'manager': 0.38; 'writes': 0.38; 'to:addr:python-list': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'tag': 0.61; 'subject:skip:C 10': 0.61; 'new': 0.61; 'entire': 0.61; "you're": 0.61; 'shop': 0.69; '100%': 0.77; 'gone?': 0.84; 'horrible': 0.84; 'insecure': 0.84; 'shop,': 0.84; 'stranded': 0.84; 'technically': 0.84
X-Virus-Scanned amavisd-new at torriefamily.org
Date Wed, 12 Nov 2014 10:16:25 -0700
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: Communicating with a PHP script (and pretending I'm a browser)
References <CACwCsY46yYFQwdYdriTSYSvLYF=xs6L2zanN9gofkWkoHvj_fA@mail.gmail.com> <CAPTjJmpR_Yj-rwTHsodDquHuML3vX2vQrjCiseJcV5e+nfZGZg@mail.gmail.com> <CACwCsY5denavfJQYS6x0Lknj-WJW2qfskVdYcuOuJ4P8h0u6gQ@mail.gmail.com> <CAPM-O+z9wdFcO7Hj=oKh-M1Cht-Wt35UWxavEPPbGxNGHOxpqA@mail.gmail.com> <CACwCsY6copVYtNe-az7jd2vzcgF76FPnn9t-Q0u6NGevY8Y-Bg@mail.gmail.com>
In-Reply-To <CACwCsY6copVYtNe-az7jd2vzcgF76FPnn9t-Q0u6NGevY8Y-Bg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
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.15729.1415813877.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415813877 news.xs4all.nl 2952 [2001:888:2000:d::a6]:46213
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80613

Show key headers only | View raw


On 11/11/2014 10:30 AM, Larry Martell wrote:
> They are technically savvy. They are a 100% PHP shop. They have a big,
> complicated app that they've been working on for 10 years. No one
> there knows python or django. They want to put some new frontends on
> their app. I was bought in for another project (involving Google Tag
> Manager and Google Analytics), which I completed. Then they asked me
> about this project. I told them they should redo their app in Flask or
> Django.

Hmm, this is a red flag to me (unlike the other red flags others have
seen!).  If the shop is entire a PHP shop, and no one knows python, then
rewriting things in Python and Django is a really bad idea.  Who is
going to maintain the code after you're gone?  PHP might be a horrible
and insecure language, but at least they have a whole team of folks who
can hack on it.  With Python it seems like you are the only one.  In
this case, I'd say Python and Django, however superior, are not
appropriate.  I've worked in shops before where one person comes in with
a new language, writes some code, then leaves, leaving us stranded as it
were.  I'd say the same thing about Linux in an all-Windows shop.

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


Thread

Re: Communicating with a PHP script (and pretending I'm a browser) Michael Torrie <torriem@gmail.com> - 2014-11-12 10:16 -0700
  Re: Communicating with a PHP script (and pretending I'm a browser) Marko Rauhamaa <marko@pacujo.net> - 2014-11-12 20:37 +0200
    Re: Communicating with a PHP script (and pretending I'm a browser) Michael Torrie <torriem@gmail.com> - 2014-11-12 14:28 -0700

csiph-web