Perhaps I am just dumb
usenet at thinkspot.net
Sun Feb 10 01:43:43 CET 2002
On 09 Feb 2002 16:28:17 -0800, Paul Rubin <phr-n2002a at nightsong.com>
wrote in comp.lang.python in article
<7xg04ai3j2.fsf at ruckus.brouhaha.com>:
> Sheila King <usenet at thinkspot.net> writes:
> > I have a friend I'm working with right now, that we are putting together
> > a project in Python and PHP (he's doing all of the PHP part). He has
> > only just been learning Python for a few weeks. He might have some good
> > suggestions for you, as to how he approached learning Python (as an
> > experienced programmer in other languages). If you'd like me to put you
> > in touch with him, send me an email.
> Topic drift: why are you doing something in Python -and- PHP?
> Can't you do it all in Python, or maybe all in PHP? Why use two languages?
> There's some Python template systems that do pretty much what PHP
> does. If something is missing from them, maybe they need improvement.
Let's put it this way:
I prefer to handle the part of the project that deals with scanning in
the emails and processing them. So that part is being done in Python.
The PHP is a web interface for the user to configure the Python script.
It is really irrelevant what language the web interface is in. Anyhow,
my partner is doing the interface, and he is more skilled in PHP.
I had started out on a very similar project on my own, before I became
aware that this other person was also working on a project like mine. I
was doing the web interface in Python and proceeding quite slowly (only
because I don't have much experience at it). This guy already had a
working interface in PHP when I found out that we were doing similar
projects and might as well work together.
In other words: pragmatics. I joined a project that was already in
mid-stream and started by someone else.
"When introducing your puppy to an adult cat,
restrain the puppy, not the cat." -- Gwen Bailey,
_The Perfect Puppy: How to Raise a Well-behaved Dog_
More information about the Python-list