Shannon -jj Behrens wrote:
> > No really I'm curious, I have one small-mid sized python web application
> > and I'm not impressed with performance or resource utilization,
> > is there something about python I don't know?
>
> Let's not let this degrade into a language war. I'm not asking you to
> agree with me, I'm simply stating my reasons for moving toward Python:
>
Thanks, I didn't mean to sound like I wanted one :) I just am curious
about
why.
> Several reasons:
>
> o Exceptions handling!!!!! (I'm tired of typing "if (!$records)")
> o Rossum seems to be an anal-perfectionist spartan such as myself
> (whereas PHP's source code is notoriously bad).
> o Python persistance requires very little work.
> o Python is a much more "mature" language (it's hard to explain) with a
> very nice syntax.
> o I love the interpreter--it gives you the ability to "walk around
> inside" your program.
>
These are reasons you would like to move the PHP (can I say primary or
lead)
version of Freetrade to Python?
> I'm not knocking Freetrade in PHP (after all, I helped write it), but
> there are several things that Python has that I've felt the need for
> while working on Freetrade. Something that you might not be aware of
> (or maybe you are) is mod_py, which allows you to embed the Python
> interpreter into Apache the same way that PHP does.
>
I can agree that Python is a much better language than PHP, It has
just been my experience that growing(app size and hits) web applications
in perl (mod_perl) and PHP don't scale as well as they do with servlets.
Having little experience with Python web apps my fear is that
they fit closer to the perl level of performace/resource usage?
I'm coming at this more from an administration standpoint than a coding
standpoint and I know they can be apples and oranges.
My question isn't so much why PHP --> Python, but why not
PHP --> servlets? Is this because of the status of Turbine?
> My project, Aquarium, is simply FreeEnergy written in Python. Perhaps
> your disgust is toward Zope or something.
>
PHP(FreeEnergy) ~= Java(turbine) ~= Python(Aquarium) ?
Is that basicaly true? Same idea framework in each lang?
Steve
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]