PHP what is it again

Associate
Joined
8 Dec 2008
Posts
997
Location
Liverpool
The reason for my question is I'm hoping to do a little 3rd party online game tools development.

Now I understand most of what I need

OS- the server will most likely run under windows server or linux

Html - Code for info to be displayed

CSS - code for how to display your HTML

CGI scripts - to be written in Python to provide the 'guts' of the program using HTML as I/O

SQL - Databasing functions

My question is .....

Where does PHP fit into all of this and what does it do exactly?
 
PHP will help you communicate with the mySQL database. its a Server side language.
It will make your page more dynamic??

What you want it to do?
 
The outline of the project would be .

1. Receive info pulled from an API.

2. Upload parsed logs.

3. Possibly upload 'cache scraped' data if I can work out how to do that.

4. Compile and compare above.

5. Several calculators based on the database.

6. Display relevant info
 
php is designed for web use, whereas python is for general use. You get a lot more built in functions with php which makes coding for web use much easier, with python you end up having to write everything from scratch.

EDIT: just to confuse you more :P PHP can be run as a CGI script :D
 
The choice between using cgi/perl, python, php is down to personal preference. There are tools/pre built scripts out there to help in all the popular scripting languages.

The thing with learning python is that you can use that knowledge to create offline apps at a later date.
 
Any particular reason for that?

PHP is more mainstream, more online resources and easier to get help.

Though i am interested in Python and have used it, I've never had the chance to try the Django framework, i've heard some very nice comments about it.

Python also has a lot of very helpful folk over at freenode.net #python, not sure how they are with Django, but it's worth a shot if you decide to go that route.
 
Back
Top Bottom