Web Programming Help

pahn

Member
Jun 22, 2003
67
0
0
Well I thought I could get help from the best... I need to create a PC configuration utility for my [test] website. I am trying to learn languages other than HTML. Now, I have seen many sites like gamepc.com or neotechpc.com use PHP as their solution. I am wondering how this is accomplished, and what steps I need to take to implement it. As of yet, I know nothing besides it is a server side language.

If you know of a way other than PHP, those suggestions would be greatly appreciated as well. I case you are confused as to what I am refering to, I am talking about those cost estimators on just about every computer retailer's website.

Thanks.
 

igowerf

Diamond Member
Jun 27, 2000
7,697
1
76
PHP is written along with your HTML. You can use PHP to generate HTML code, based on different parameters.

For example, you can write PHP code to make the background color of your webpage different depending on the time of day. Unlike javascript, your visitor can't see your code because PHP is processed on the server. The user just gets a file containing HTML.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
If you want to just add some interactivity, php is fine. If you really want to get into programming, try something like python. php teaches some really horrible coding habits, and isn't all that great for anything but small web stuff.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: BingBongWongFooey
If you want to just add some interactivity, php is fine. If you really want to get into programming, try something like python. php teaches some really horrible coding habits, and isn't all that great for anything but small web stuff.

Ah, you can jsut turn off the warnings, they just annoy you about using undeclared variables and other pointless crap ;)
 

darktubbly

Senior member
Aug 19, 2002
595
0
0
Originally posted by: BingBongWongFooey
If you want to just add some interactivity, php is fine. If you really want to get into programming, try something like python. php teaches some really horrible coding habits, and isn't all that great for anything but small web stuff.

?! [ blinks ]
/me reaches for large trout.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: darktubbly
Originally posted by: BingBongWongFooey
If you want to just add some interactivity, php is fine. If you really want to get into programming, try something like python. php teaches some really horrible coding habits, and isn't all that great for anything but small web stuff.

?! [ blinks ]
/me reaches for large trout.

Yeah, you can make big web stuff with it, but look at the code of such beasts. NASTY!

IMO it's extremely rare to find a large design that can be done well without OOP, and php is just slow and crappy at OOP.
 

EmperorRob

Senior member
Mar 12, 2001
968
0
0
Isn't vbbulletin and phpbulletin and lots of other bulletin dbase stuff written in php? Not that I proclaim any knowledge of anything other than perl.
 

labgeek

Platinum Member
Jan 20, 2002
2,163
0
0
That's basically garbage... PHP is as good or bad as the programmer wants it to be. And large projects are done in PHP as well. And like with any other programming language, there's good code and there's not-so-good code.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: labgeek
That's basically garbage... PHP is as good or bad as the programmer wants it to be. And large projects are done in PHP as well. And like with any other programming language, there's good code and there's not-so-good code.

PHP is NOT as good or as bad as the programmer wants it to be. You can't just say "oh, I'm a great programmer, so $sucky_language is as good as I want it to be!" As a talented programmer you can minimize bad habits, but you cannot turn a crappy language into a good one.
 

labgeek

Platinum Member
Jan 20, 2002
2,163
0
0
I don't know of one that you could use, most likely as it will need to be written - by you or someone else. Have you checked sites like hotscripts.com to be sure it's not out there? And the choice of PHP or some other language is up to you. If you aren't up to writing it yourself, go over to WebHosting Talk and post a message about what you want in the Related Offers and Requests detailing what you want. There are always several people there that would be up to doing this. Check out thier references and check thier rep by running a few searches before agreeing to hand over any money. This should not be an expensive proposition by the sounds of it.