views:

117

answers:

2

I have been into Python i know a bit. But what i really want is a good balance with web development and actual programs. For that i'll have to learn more than one language for sure. When i look at some companies (Google ) i see that Python has the power i thought it would have in web. But i would have to write the server myself. PHP has everything... just need to learn how to use it. I heard a lot of trolling on PHP that made me ask this. Besides i can easly get free PHP-mysql hosting. I also heard that PHP gives bad habits. But theres wordpress and facebook.. Python i would have to host on my Computer.(idk how to do such thing)

Should i learn PHP, or can someone guide-me(into a website or something) for Python.

+6  A: 

What makes you think that with Python you have to write the server yourself? That’s simply not true.

If you’re interested in web development with Python, take a look at the Django web framework.

Konrad Rudolph
mm True.. but i would have to host it.And i so dont know how to turn my comp into a webserver.
Zent
Rushyo
@Zent: depends. There are a lot of affordable Python web hosters. Furthermore, if you’re a student or working at an IT company, chances are you can host your website on their servers (especially most IT faculties at Universities offer this – for companies, YMMV).
Konrad Rudolph
Then i should sick with python.
Zent
A: 

I would suggest to learn PHP. It's a very easy language, and for me as a c#-Developer it's fun coding php sometimes :-)

Also creating Web applications with PHP is very simple, and connect it to a mysql database is simple. As you mentioned you get a server for php&mysql everywhere.

Tokk
right, because doing it from python is sooo difficult
shylent
I thought it was just me who quite enjoyed PHP after a week of non-stop C#. I do love string concatenation with '.' :D
Daniel Frear
why the downvote?, just my oppinion
Tokk
I didn't downvote but your opinion is stupid. Try python. Nothing personal, we all have our own stupid opinions. "PHP is fun" just happens to be one of yours.
aaronasterling
@AaronMcSmooth As you can see, I'm not the only one with that oppinion. Btw: Php wouldn't be so succesfull if it wouldn't have some advantages.
Tokk
Well the question is subjective and so should be judged subjectively, - your opinion didn't appeal to me so I've downvoted it.
shylent
@Tokk McDonalds wouldn't be so successful if it didn't have some advantages. Those advantages appeal primarily to lazy people that don't know any better ;) I say this as a long time PHP programmer and occasional consumer of Mcdonalds.
aaronasterling