Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,143,314 members, 7,780,762 topics. Date: Thursday, 28 March 2024 at 09:27 PM

Php Vs Python - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Php Vs Python (6738 Views)

PHP Vs. Nodejs: The Battle Of Top-techs / Go Vs. Python, Which Is Better For AI? / C Vs Python (2) (3) (4)

(1) (2) (Reply) (Go Down)

Php Vs Python by kelrob: 12:23am On Jun 07, 2017
Please as a web developer, I will like to know which is better and makes a better web app. PHP or PYTHON

1 Like

Re: Php Vs Python by badthinds: 1:04am On Jun 07, 2017
Star mouth screwdriver and Flat mouth screwdriver which is better for loosening a screw nut?.


It depends on the kind of nut right ? grin

Python and PHP are screwdrivers.

33 Likes 2 Shares

Re: Php Vs Python by abula112(m): 8:30am On Jun 07, 2017
kelrob:
Please as a web developer, I will like to know which is better and makes a better web app. PHP or PYTHON
php is the most widely used web language, its only used for web , but python is a general lang like java.
For me i will go for php, because python is not widely used for web app in production, most host does not support python.
But python has more application than php
Re: Php Vs Python by kelrob: 11:36am On Jun 07, 2017
badthinds:
Star mouth screwdriver and Flat mouth screwdriver which is better for loosening a screw nut?.


It depends on the kind of nut right ? grin

Python and PHP are screwdrivers.


thank you.
Re: Php Vs Python by kelrob: 11:37am On Jun 07, 2017
abula112:

php is the most widely used web language, its only used for web , but python is a general lang like java.
For me i will go for php, because python is not widely used for web app in production, most host does not support python.
But python has more application than php

thank you
Re: Php Vs Python by badthinds: 7:35pm On Jun 07, 2017
kelrob:


thank you.
UWC
Re: Php Vs Python by badthinds: 7:38pm On Jun 07, 2017
abula112:

php is the most widely used web language, its only used for web , but python is a general lang like java.
For me i will go for php, because python is not widely used for web app in production, most host does not support python.
But python has more application than php

Well, individual differences. But I think I can use DJango (Python) and the likes to create better webapps

1 Like

Re: Php Vs Python by webdeveloperqx: 8:28pm On Jun 07, 2017
python is recommended as the first language to learn and i encourage you to start with it. its expressive like english language and will make learning other languages very easy for you.

1 Like 1 Share

Re: Php Vs Python by kelrob: 12:23am On Jun 08, 2017
webdeveloperqx:
python is recommended as the first language to learn and i encourage you to start with it. its expressive like english language and will make learning other languages very easy for you.

Thank you
Re: Php Vs Python by webdeveloperqx: 10:41pm On Jun 08, 2017
kelrob:


Thank you

Yeah, You are welcome
Re: Php Vs Python by Hibrahym: 10:48pm On Jun 21, 2017
webdeveloperqx:
... and will make learning other languages very easy for you.

This line does NOT work for ASM, C++ believe me!
Re: Php Vs Python by bet9ja(m): 11:51pm On Jun 21, 2017
kelrob:
Please as a web developer, I will like to know which is better and makes a better web app. PHP or PYTHON

I will advise you to learn javascript, This is the right language for your choice, after javascript, learn some of its libraries like JQuery and so on.
Re: Php Vs Python by Olyboy16(m): 7:40am On Jun 22, 2017
Hibrahym:


This line does NOT work for ASM, C++ believe me!
very very true! Infact new modern c++ semantics are making the language almost impossible to learn for pydevs (i like it that way though).
Re: Php Vs Python by Olyboy16(m): 7:55am On Jun 22, 2017
bet9ja:


I will advise you to learn javascript, This is the right language for your choice, after javascript, learn some of its libraries like JQuery and so on.
bros, please dont mislead this Op.

OP, if you intend to develop websites, use php.

if you intend to do more than just serve web pages and create user portals, then go for python;( need long running processes, sockets, or APIs).

but if you intend to create a SaaS like online gaming, CRM, accounting or highly distributed computes then use C#(ASP .net).

i've got over 5 years exp with php, got my own framework. Also got 4 years exp with python nd C#...so i knw quite well what i'm saying!

5 Likes

Re: Php Vs Python by joenor(m): 1:54pm On Jun 22, 2017
before you sound this way... oya what's the Koko?
badthinds:
Star mouth screwdriver and Flat mouth screwdriver which is better for loosening a screw nut?.


It depends on the kind of nut right ? grin

Python and PHP are screwdrivers.
Re: Php Vs Python by Hibrahym: 5:10am On Jun 24, 2017
Olyboy16:

very very true! Infact new modern c++ semantics are making the language almost impossible to learn for pydevs (i like it that way though).

Rule No 1: Never start out learning a fake language!
Re: Php Vs Python by Hibrahym: 5:15am On Jun 24, 2017
Olyboy16:

very very true! Infact new modern c++ semantics are making the language almost impossible to learn for pydevs (i like it that way though).

Rule No 1: Never start out learning a fake language!

There are too many things missing in those Bread & butter languages. They are NOT good to start with, for any dev serious about tech.
I still say this: the best Java, Python, PHP, C# are the C, C++ guys who happen to explore that world.
After learning sth like C, C++, and those of their categories most langs becomes " a stroll in the park", except of course, you know Assembly (Public Enemy NO. 2)
Re: Php Vs Python by kudaisi(m): 2:21am On Jun 25, 2017
abula112:

php is the most widely used web language, its only used for web , but python is a general lang like java.
For me i will go for php, because python is not widely used for web app in production, most host does not support python.
But python has more application than php
This post is misguided and tantamount to misinformation.

php is the most widely used web language
PHP is more widely used than the sum of the percentage usage of all other programming languages in web development (Just stating it explicitly so the OP knows that PHP's advantage in this section is not limited to python alone.)
its only used for web
This is not true (Emphasis on ONLY).

python is not widely used for web app in production
This is also false. While its usage is not in par with PHP, Python is among the top 10 programming languages used for web development.

most host does not support python
This is misleading, most hosts (all serious ones at least) offer Dedicated/Virtual private server services that gives you access to your own private Server, you can then set it up as you wish (meaning you can install and configure whatever service you want the server to host with full autonomy).

general lang like java
While both python and java are both interpreted general purpose programming languages, python can also be used for scripting because of its support for dynamic typing and access to interactive mode (in addition to the normal mode ).

4 Likes

Re: Php Vs Python by olamil34(m): 11:15pm On Jun 25, 2017
to see the true power of python check out my site www.quickfinda.com
Re: Php Vs Python by badthinds: 10:11pm On Jul 05, 2017
olamil34:
to see the true power of python check out my site www.quickfinda.com

Nice site. But turn off DEBUG in your settings oo grin

1 Like

Re: Php Vs Python by olamil34(m): 4:27am On Jul 06, 2017
badthinds:


Nice site. But turn off DEBUG in your settings oo grin
thanks
Re: Php Vs Python by wisemania(m): 7:06pm On Jul 06, 2017
All languages have their strengths and weaknesses.

Php or python -- anyone is okay...

If you choose Php, in no time you'll be so efficient at webdev (if one is smart)
if you choose python, you'll have to learn core python and then pickup a framework(django) before you'd have
the knowledge to create a reasonable site.

Truth be told, to reduce unnecessary traffic on a site -- adopt the ajax tech.
only use the server side language to retrieve and or store data.
Let all the hassles be done by the client side language (javascript).

If you can adopt these techniques, it shall make your life deliciously simple because the world is delving towards js.
Js can even run on the server side(nodejs)...

So my dear, take your javascript seriously and others things shall be taken care of in little or no time.

2 Likes

Re: Php Vs Python by Hafeezcodex1(m): 1:20am On Jul 07, 2017
EVENING HOUSE[color=#006600][/color] smiley wink
Re: Php Vs Python by Hafeezcodex1(m): 1:21am On Jul 07, 2017
HOUSE IS ANY ONE WITH PHP SKILL? I NEED HELP O!!!!!![color=#990000][/color][url][/url]
Re: Php Vs Python by Hafeezcodex1(m): 1:26am On Jul 07, 2017
HI badthinds:
I NEED UR HELP
PLS I NEED VB 10 SETUP CANT I GET? angry angry[b][/b]
Re: Php Vs Python by Raypawer(m): 11:25am On Jul 07, 2017
kudaisi:

This post is misguided and tantamount to misinformation.


While both python and java are both interpreted general purpose programming languages, python can also be used for scripting because of its support for dynamic typing and access to interactive mode (in addition to the normal mode ).

Java an interpreted language

And you were fast to condemn another's post!
Re: Php Vs Python by adejumoadeoluwa(m): 8:12pm On Jul 07, 2017
the fact that you are asking this question means that you are definitely new to programming now here is the best answer you will get

any time you have to ask, which is better x vs y ? the correct answer is anyone...chances are you will need to end up learning both anyways

so all that time spent on nitpicking equals waste

get started already...

1 Like

Re: Php Vs Python by seunthomas: 8:22pm On Jul 07, 2017
Raypawer:


Java an interpreted language

And you were fast to condemn another's post!
He meant that Java and Python are both regarded as General Purpose Languages.
Re: Php Vs Python by seunthomas: 8:25pm On Jul 07, 2017
If i were to advice the OP, just go ahead and Learn python. Take this from someone who has been doing this for a long time. The bad thing about python is you may not get too many jobs or job offers, but python is far more advance in terms of functionality,libraries than php can muster. And it will be so for a very long time. It is also the preferred language for POC (Proof of concept), if you are working on a new and very risky area, its always better to prototype with python. If it can be done in python, then it most likely would be doable in just about any other reasonable language.

1 Like

Re: Php Vs Python by sharrp: 4:02am On Jul 08, 2017
abula112:

php is the most widely used web language, its only used for web , but python is a general lang like java.
For me i will go for php, because python is not widely used for web app in production, most host does not support python.
But python has more application than php
You sound ignorant
Re: Php Vs Python by sharrp: 4:06am On Jul 08, 2017
Hibrahym:


This line does NOT work for ASM, C++ believe me!
This is also false. Learning python makes learning c++ a lot easier. Loops are loops, conditions are conditions , only synatic different and static typing. Import statements are like #include "headerfile". The oop concepts are the same. A python programmer will pick up c++ faster than a complete newbie
Re: Php Vs Python by sharrp: 4:10am On Jul 08, 2017
Olyboy16:

bros, please dont mislead this Op.

OP, if you intend to develop websites, use php.

if you intend to do more than just serve web pages and create user portals, then go for python;( need long running processes, sockets, or APIs).

but if you intend to create a SaaS like online gaming, CRM, accounting or highly distributed computes then use C#(ASP .net).

i've got over 5 years exp with php, got my own framework. Also got 4 years exp with python nd C#...so i knw quite well what i'm saying!
All programming languages are turing complete . You can do whatever with them. Javascript is a good language if he wants to Focus on web too. Nodejs and its enviroments means he uses same language for both front end and backend.

(1) (2) (Reply)

Is Programming A Talent? / How Can I Recover My Facebook Account That Has Hacked? / Algorithm For Solving Systems Of Linear Equations

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 40
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.