On 03-Mar-07, at 5:13 PM, Harsh Busa wrote:
php mvc and pear help do something similar. i can write crappier code embedding html in perl too . i have seen several ppl do it.
thats not too bad. the bad thing is embedding perl in html, and there are one or two perl template engines around that approach that. I feel the best way of teaching good cgi programming is using postgres + python cgi + cheetah templating engine. Impossible to put code in cheetah templates. And when it is impossible to put code in the template/html, 90% of the battle is won. Whereas if it is at all possible - the battle is lost.