I only know PHP. How do I write a Web application in Python?
1–10 of 196 posts
Re: I only know PHP. How do I write a Web application in Python?
#2Re: I only know PHP. How do I write a Web application in Python?
#3Sure Its a_little_inconsistent AndSomewhatChaotic
But all the basics for the web are incredible accessible right away.
With every other language you have to start with a framework.
I find php easier than rails to prototype applications and do fast hacks that need a web face.
It's simply the right tool for the job on those occasions. Of course, later they become huge systems...
Re: I only know PHP. How do I write a Web application in Python?
#4Say wat you want of php. But it's (insert personal pejorative option) made for it. Sure Its a_little_inconsistent AndSomewhatChaotic But all the basics for the web are incredible accessible right away. With every other language you have to start with a framework. I find php easier than rails to prototype applications and do fast hacks that need a web face. It's simply the right tool for the job on those occasions. Of…
It's about as much effort as typing `<?php`.
Re: I only know PHP. How do I write a Web application in Python?
#5Re: I only know PHP. How do I write a Web application in Python?
#6I personally use it for a small app which returns (and stores) search suggestions from redis.
Re: I only know PHP. How do I write a Web application in Python?
#7Great article overall.
Re: I only know PHP. How do I write a Web application in Python?
#8Say wat you want of php. But it's (insert personal pejorative option) made for it. Sure Its a_little_inconsistent AndSomewhatChaotic But all the basics for the web are incredible accessible right away. With every other language you have to start with a framework. I find php easier than rails to prototype applications and do fast hacks that need a web face. It's simply the right tool for the job on those occasions. Of…
print """\
Content-type: text/html
..."""
With %(var)s interpolation, you can even slap in locals() easily to trivially put variables' values into the page.Re: I only know PHP. How do I write a Web application in Python?
#9"MySQL is the PHP of databases". Strange, I just had this sentence popping in my head yesterday. I'm seriously considering writing a list of its wrong doings. Great article overall.
Re: I only know PHP. How do I write a Web application in Python?
#10Until Python or Ruby have that kind of simplicity, they can't overtake PHP. While it might not be the kind of design that leads to well-designed web apps or even good code, it is the kind of design that leads to more — especially less technical, or, like me, lazy — users. It's up to the developers of those languages if this is even a market they want. There may need to be something new to do the same job as PHP, but better, without the innumerable warts.