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


Groups > comp.lang.python > #80616

Converting a PHP app to Python + Django (was: Communicating with a PHP script (and pretending I'm a browser))

From Ben Finney <ben+python@benfinney.id.au>
Subject Converting a PHP app to Python + Django (was: Communicating with a PHP script (and pretending I'm a browser))
Date 2014-11-13 04:54 +1100
References (1 earlier) <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> <546395E9.40902@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15732.1415814896.18130.python-list@python.org> (permalink)

Show all headers | View raw


Michael Torrie <torriem@gmail.com> writes:

> 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.

It can be done well; see “Transitioning from PHP to Django on the sly”
<URL:http://pyvideo.org/video/2233/transitioning-from-php-to-django-on-the-sly>.

The presenter emphasises that one of the more important requirements is
to convince everyone: the management, the developers, even stakeholder
customers/users.

> 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.

Right. On the other hand, I've worked in shops where the big PHP code
base is seen by all as a legacy code base, and the stakeholders were
quite open to being convinced to migrate — provided a clear migration
path.

That's what the above presentation goes into. I recommend it.

-- 
 \         “The double standard that exempts religious activities from |
  `\       almost all standards of accountability should be dismantled |
_o__)                   once and for all.” —Daniel Dennett, 2010-01-12 |
Ben Finney

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


Thread

Converting a PHP app to Python + Django (was: Communicating with a PHP script (and pretending I'm a browser)) Ben Finney <ben+python@benfinney.id.au> - 2014-11-13 04:54 +1100

csiph-web