Moving from PHP to Python. Is it Possible

AppRe Godeck app at godeck.com
Sat Dec 19 03:45:40 EST 2009


On Mon, 14 Dec 2009 12:25:16 +0100, Bruno Desthuilliers wrote:

> r0g a écrit :
>> Bruno Desthuilliers wrote:
>>> Sancar Saran a écrit :
>>> (snip)
>>>> My problem is with PHP syntax and performance.  I'm just trying to
>>>> replicate my recepies in python...
>>> Python is not PHP, and trying to write PHP in Python won't buy you
>>> much except pain and frustration.
>> 
>> 
>> I think people are being a little harsh here. Replicating exactly what
>> PHP code does on a micro level i.e. line by line is probably a bad idea
>> but for all we know a lot of the macro level stuff might be fine, or
>> mostly fine i.e. structures, algorithms, classes and functions etc.
> 
> I was talking about trying to replicate PHP's execution model and idioms
> in Python - the "framework" part -, not about application specific
> algos, data structures etc.

Try web2py I think you will surprise yourself with its simplicity and 
speed :)



More information about the Python-list mailing list