Did you try build site website in Python?

zeljko

Emerald Member
BMF Tokens
4,315
Python is currently very Popular programing language because of very simple syntax. It's very powerful and you can make many types of softwares with it. It's not very popular in web programing but there is support for it in many frameworks like WebPy, WebApp2, Django. Google, Facebook, Quora, Yahoo,... they all have parts made in Python code.

For making websites I PHP but I didn't use Python for making websites.

Did you ever use Python for making websites? Do you have some project online?
 

ICTman1076

Silver Member
BMF Tokens
5,898
Python is such a useful language. I've coded a few things in Python, such as my https://notaro.bot.nu service, but not every website should use Python, for example my personal site, https://ictman.tk , is just static HTML files served by an NGINX server. Actually, my Python server is also behind the same NGINX server, with NGINX used as a reverse proxy. That way, I don't need different servers for different domains, I can just tell NGINX to forward the request to a specific server for each different domain.
 

zeljko

Emerald Member
BMF Tokens
4,315
I know server have many parts programed in Python but did you ever replace example PHP or ASP with Python? Did you make website from scratch with Python?
 

magicpotato

Silver Member
BMF Tokens
1,959
I personally don't like using Python as a web-backend language because I feel it's not made to be used for websites (which it isn't).

For small projects, I usually use PHP because it's supported by pretty much every hosting provider. For more advanced projects, Golang is my language of choice. It's much more efficient than PHP and can be used for a lot of different things. Plus, unlike Python, it's made to be used as a web-backend language.
 

Mashfiqun

Newbie Member
BMF Tokens
2,440
For back-end, yes. When I got admitted to college, we formed a group of a few members to build a site for the college. There were 2 front-end developers for HTML, CSS and JS. And I was there with Python for the backend. Many people use PHP because it's a lot faster. But Python was enough for that site.
 

Mashfiqun

Newbie Member
BMF Tokens
2,440
@Mashfiqun

What is Python advantage in compare with PHP? Why didn't you choose PHP since it's much more present in making websites, especially in backend?
To be honest, I don't know PHP that well. Python code is rather straightforward. And I like to use Python anywhere it is relevant to. Python is kinda like my go to language.
 

overcast

Emerald Member
BMF Tokens
10,780
I have attempted to make use of the flask and also turbogears. None of them have excited me for web development. In fact the web frameworks on python are boring. They do get the work done though. But not a lot of tutorials and documentation is out there for them. I hope that changes in near future.
 

zeljko

Emerald Member
BMF Tokens
4,315
At least PHP have enough documentation. Some say Laravel, new PHP Framework, don't have but it's grow by day. I never make any site in Python, only in PHP, but who knows, maybe one day.
 

overcast

Emerald Member
BMF Tokens
10,780
At least PHP have enough documentation. Some say Laravel, new PHP Framework, don't have but it's grow by day. I never make any site in Python, only in PHP, but who knows, maybe one day.
Laravel is extremely powerful. And you can make really high quality websites from it. Python is good too and in fact lot easier to clear out the errors and issues. But the thing is that python has good server side performance. And almost every shared and VPS server can be used with python on low budget.
 

zeljko

Emerald Member
BMF Tokens
4,315
But PHP is also not expensive. We can find many types of hosting with PHP support for low price. That theory is supported with many free hosting and almost all support PHP.
 

overcast

Emerald Member
BMF Tokens
10,780
But PHP is also not expensive. We can find many types of hosting with PHP support for low price. That theory is supported with many free hosting and almost all support PHP.
Yes PHP can be deployed on cheap server. And also its easy to code too. Most of the python code is lot more complicated and also simple things in python require more time to do and fix. So I think on that note python does not get much option than PHP. I guess as time moves ahead we will surely see how PHP can change.
 

alexandria3nouci

Newbie Member
BMF Tokens
80
What about the issues that plagued PHP in the past? I believe python has matured into a robust server-side language. The fact that it is becoming ubiquitous is also an added advantage. When doing backend programming, the choice for me lies between python and javaScript. Naturally, I prefer Django to Node.js, but sometimes I just have to use the latter. I don't quite like PHP.
 

zeljko

Emerald Member
BMF Tokens
4,315
Every programing language had issues but I think they are solved. I didn't hear anything lately about some big problems. If it has a lot problems, I think Wordpress woud start migration on different language.
 

Mashfiqun

Newbie Member
BMF Tokens
2,440
What about the issues that plagued PHP in the past? I believe python has matured into a robust server-side language. The fact that it is becoming ubiquitous is also an added advantage. When doing backend programming, the choice for me lies between python and javaScript. Naturally, I prefer Django to Node.js, but sometimes I just have to use the latter. I don't quite like PHP.
In my opinion, PHP looks ugly.
(No offence)
 

zeljko

Emerald Member
BMF Tokens
4,315
If PHP looks ugly, can we say same thing for C++ or C#? Those two also have many brackets and semicolons. Many people say that they are we like each other.
 

Similar threads


Top