home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

php or asp?

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1502
Discussions: 200,952, Posts: 2,379,480, Members: 246,318
Old October 26th, 2004, 04:04 PM   Digg it!   #1 (permalink)
Senior Member
 
thekemp's Avatar
 
Join Date: Nov 2001
Location: manchester uk
Posts: 939
php or asp?

im doing a small project for my degree course , a webform that relys on information from a database to make decisions based on what the user inputs,
this is all pretty new to me as it involves a database, i have access to both iss server oracle database and a cgi-bin so just wondering from you guys which is the best way to go about this?

thansk for any input!
thekemp is offline   Reply With Quote
Old October 26th, 2004, 04:30 PM     #2 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
There are quite a lot of php examples floating around the web, php has oracle functions (never used them). I have used php with mysql in a similar application. One of the main tricks is to make sure you handle the sessions correctly, php will open a database connection once and reuse during the session. I made a slight mistake with doing sessions totally myself, using a session id that wasn't unique , using time as a seed into random was a bad choice.

You could also think about javascript to create your pages based on xml presentation of the data from the database up to the web client. This facility is quite nice.

Nice thing is it can all fit under the one php umbrella. However, more recently I've been moving towards mod_perl. Some would call this a backward step .
James T is offline   Reply With Quote
Old October 26th, 2004, 04:46 PM     #3 (permalink)
Senior Member
 
omalleytrading's Avatar
 
Join Date: Apr 2003
Location: Albany, NY
Posts: 623
The right answer is probably based on this question:

What's installed on your web server?

I use both ASP and PHP for my job, and I can't say that one is absolutely better than the other. ASP is better than PHP at some things, and PHP is better than ASP for others. Ultimately, you can do the same thing with either, so it boils down to personaly preference or availability. Since you have no preset personal preference, make your choice based on what's installed on your web server.
omalleytrading is offline   Reply With Quote
Old October 26th, 2004, 07:05 PM     #4 (permalink)
Senior Member
 
thekemp's Avatar
 
Join Date: Nov 2001
Location: manchester uk
Posts: 939
i have 2 local webservers an apache with all mods installed and an iss server running on server 2003 availible for my use, i want to learn one or the other im leaning towards asp/access/vbscripting as i have a vb bakground already and i dont really want to start learning perl as i only have 4 weeks to complete this project.

anyone recomend any good sites for asp ?

thanks
thekemp is offline   Reply With Quote
Old October 26th, 2004, 07:38 PM     #5 (permalink)
Ultimate Member
 
Tekk's Avatar
 
Join Date: Oct 2001
Location: Pasadena, CA
Posts: 2,177
__________________
YAH! I knew you'd be jealous
Tekk is offline   Reply With Quote
Old October 29th, 2004, 11:22 AM     #6 (permalink)
Senior Member
 
omalleytrading's Avatar
 
Join Date: Apr 2003
Location: Albany, NY
Posts: 623
Another good one is:

www.aspfaq.com
omalleytrading is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP vs PHP -5H4K- General Tech Discussion 2 August 15th, 2004 08:43 AM
what is *.asp Creatures Webmastering and Programming 22 March 29th, 2003 11:12 AM
Chat Creatures Webmastering and Programming 16 August 23rd, 2002 10:44 PM
what's your prefered server side scripting language to learn? baby asp-er Webmastering and Programming 16 March 14th, 2002 12:12 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2943)
The disrespect of Obama by Russian .. (41)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (9)
windows 7 problem (7)
Regular Build (11)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (10)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Recent Discussions
SELLING FRESH,CVV,LOGINS,DUMPS,TRACKS.. (0)
CPU fan stops spinning randomly (9)
Common Spyware Solutions (105)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Modern Warfare 2: Who Bought It? (63)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Laptop with wireless problem. (3)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
windows vista security holes (10)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)


All times are GMT -4. The time now is 04:11 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28