Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,885,376 members, 6,932,244 topics. Date: Saturday, 25 June 2022 at 05:33 PM

PHP Or Python For Server-side Scripting - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / PHP Or Python For Server-side Scripting (1406 Views)

[Advice] For New Programmers, what server-Side Programming Language Is The Best? / Who's Interested In Learning Python For Data Science (from Scratch) / Which Is Better For Web Applications? PHP Or Asp.net (2) (3) (4)

(1) (Reply) (Go Down)

PHP Or Python For Server-side Scripting by teshiam(m): 11:28am On Oct 28, 2017
Am a Java programmer, i know some MySQL and SQLite. I am doing a project that needs to get images and string(s) to display in a random order without repeating the same image or string. Meaning i would need a server-side scripting language because i don't want the algorithm to that to be embedded in the source code for the app.

Question --> Between PHP and python, which one is powerful, supported by large communities, scalable, and widely used with frameworks available in larger quantity with diverse functions.

Java servlets are out of the question because i want less overheads, quick response and is supported by many servers.
Re: PHP Or Python For Server-side Scripting by Donald3d(m): 12:10pm On Oct 28, 2017
teshiam:
Am a Java programmer, i know some MySQL and SQLite. I am doing a project that needs to get images and string(s) to display in a random order without repeating the same image or string. Meaning i would need a server-side scripting language because i don't want the algorithm to that to be embedded in the source code for the app.

Question --> Between PHP and python, which one is powerful, supported by large communities, scalable, and widely used with frameworks available in larger quantity with diverse functions.

Java servlets are out of the question because i want less overheads, quick response and is supported by many servers.

Both would work fine ,but you said
supported by large communities, scalable, and widely used with frameworks available in larger quantity with diverse functions.
Based on the above stated ,go for php,python has a large community too ,but mostly for desktop ,AI etc,php community and frameworks is larger /more than python when it comes to server side scripting.

1 Like

Re: PHP Or Python For Server-side Scripting by melodyogonna(m): 1:00pm On Oct 28, 2017
no comments for now
Re: PHP Or Python For Server-side Scripting by olamil43: 4:33pm On Oct 28, 2017
teshiam:
Am a Java programmer, i know some MySQL and SQLite. I am doing a project that needs to get images and string(s) to display in a random order without repeating the same image or string. Meaning i would need a server-side scripting language because i don't want the algorithm to that to be embedded in the source code for the app.

Question --> Between PHP and python, which one is powerful, supported by large communities, scalable, and widely used with frameworks available in larger quantity with diverse functions.

Java servlets are out of the question because i want less overheads, quick response and is supported by many servers.

python all the way, you could alot of powerful data analysis with python. community too strong.

There is a huge collection of library to do almost anything
Re: PHP Or Python For Server-side Scripting by excanny: 8:56pm On Oct 28, 2017
Let me read what others have to say first.
Re: PHP Or Python For Server-side Scripting by teshiam(m): 2:30pm On Oct 29, 2017
Donald3d:


Both would work fine ,but you said

Based on the above stated ,go for php,python has a large community too ,but mostly for desktop ,AI etc,php community and frameworks is larger /more than python when it comes to server side scripting.
Thanks, but i heard PHP is easily hackable. And some PHP frameworks are built with python.
Re: PHP Or Python For Server-side Scripting by teshiam(m): 2:31pm On Oct 29, 2017
olamil43:


python all the way, you could alot of powerful data analysis with python. community too strong.

There is a huge collection of library to do almost anything
Can i easily communicate with a MySQL server?
Re: PHP Or Python For Server-side Scripting by olamil43: 5:34pm On Oct 29, 2017
teshiam:

Can i easily communicate with a MySQL server?

both mysql, postgresql, sqlserver, mongodb, mariadb, oraclesql, bigtable(google)

and even database that are yet to be invented

checkout my site at quickfinda.com
Re: PHP Or Python For Server-side Scripting by teshiam(m): 10:21pm On Oct 29, 2017
olamil43:


both mysql, postgresql, sqlserver, mongodb, mariadb, oraclesql, bigtable(google)

and even database that are yet to be invented

checkout my site at quickfinda.com

Thanks..
Can you give me a link to get a pdf of a very good python book updated to 2017 python 3.6.3 . Like learn python 3 the hard way..
Re: PHP Or Python For Server-side Scripting by deedat205(m): 1:37pm On Oct 30, 2017
Automate the Boring Stuff with Python is the best book I have read on Python. I don't know if it has been updated but trust me, you'll like it

1 Like

Re: PHP Or Python For Server-side Scripting by dexmbachu(m): 2:52pm On Oct 30, 2017
well, my best bet is php and mysql, its very easy and php scripts are not shown on the source code, you can randomize your queries by writing the condition and " ORDER BY userid RAND() " as easy as that.

it also comes with other conditions like AND, OR, LIMIT, etc

(1) (Reply)

I Need Telegram Bot And An App / •how To Add Music To Instagram Stories. / Need Help With Server-side Script

(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 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 58
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.