[BangPypers] python supports frameworks ?

Manish Sinha mail at manishsinha.net
Mon Apr 26 20:47:36 CEST 2010


On 4/26/2010 7:53 AM, jaya kumar wrote:
> when we using php we can embedded the code of html, and java script and
> mysql bcoz it supports mulit language
>    

I would like to answer to this.

You don't embed html and javascript in php code. Right?

Let me explain in dead simple language:
Javascript, php/python, html all can coexist. Python/php code is 
executed at the server and some content is generated which is sent back 
to the client which contains HTML+Javascript.
Now on client, Javcascript is executed and hence you get an output.

Just like Noufal said - Read a little more on templating. Even python 
has templating. I can't say about the best ones as I don't have much 
experience in Python web development.

--
Manish Sinha


More information about the BangPypers mailing list