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


Groups > comp.lang.python > #80547

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ethan@stoneleaf.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'django.': 0.05; 'frontend': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'subject:script': 0.09; "they've": 0.09; '~ethan~': 0.09; 'python': 0.11; 'big,': 0.16; 'redo': 0.16; 'shop.': 0.16; 'subject:PHP': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'app': 0.19; 'later': 0.20; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'asked': 0.31; 'went': 0.31; 'that.': 0.31; 'app.': 0.31; 'larry': 0.31; 'ok.': 0.31; 'another': 0.32; 'could': 0.34; 'subject: (': 0.35; 'subject:with': 0.35; 'knows': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'bought': 0.36; 'should': 0.36; 'wrong': 0.37; 'project': 0.37; 'manager': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'days': 0.60; 'eventually': 0.60; 'tag': 0.61; 'subject:skip:C 10': 0.61; 'new': 0.61; 'took': 0.61; 'received:173': 0.61; 'back': 0.62; '100%': 0.77; 'technically': 0.84
Date Tue, 11 Nov 2014 09:55:30 -0800
From Ethan Furman <ethan@stoneleaf.us>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
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; format=flowed
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.15682.1415728535.18130.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415728535 news.xs4all.nl 2930 [2001:888:2000:d::a6]:42941
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80547

Show key headers only | View raw


On 11/11/2014 09: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. It took some cajoling, but they eventually said OK. But then a
> few days later they said before I went off and reimplemented
> everything in python, could I just build the new frontend and call the
> existing PHP code. This would enable them to get the new frontends out
> to their clients sooner, and then I could go back and port the PHP to
> python. I don't see what is so wrong with that.

Sounds like an excellent game plan to me.  :)

--
~Ethan~

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


Thread

Re: Communicating with a PHP script (and pretending I'm a browser) Ethan Furman <ethan@stoneleaf.us> - 2014-11-11 09:55 -0800

csiph-web