View Full Version : should i use javascript, asp, or php?
johnb.
10-26-2004, 02:24 PM
hey guys-
i'm makin an ecom site and i want to easily update the content. the main thing that i'm referring to is the three little lines of description under each product thumbnail and MAYBE the url for the thumbnail and/or the link that the user is taken to when clicking on the thumbnail.
well i've been playin around with all sorts of stuff the past three days and i keep running into walls. i had some asp goin, but then i tried to encapsulate it into a function and that wasn't workin so i got an asp friend to help me and his code returned a server error for some reason. my javascript isn't workin too well either. another friend suggested php, but i've hardly touched php before. so what should i use?! thanks for any help-
Whiteknight
10-26-2004, 03:50 PM
I think this might be in the wrong section, but i'm not so sure.
anyway, if you already know ASP, it is probably in your best interests to just debug the code you already have, and go with that. Javascript is nice because it can be executed on the client's machine, and therefore saves your server some flops for each request.
php is a good language to learn, but if you already know asp, you have an asp-enabled server, and most of your code is already written in asp, it makes no sense to switch over at this point in the game.
zachogden
10-26-2004, 06:44 PM
Look, if, hypothetically, you didnt know ASP, I would say "Go PHP!". Now, I may be wrong on my facts, as I usually am, but as far as I know, ASP is a proprietary language, and PHP is an "open" language so to speak. I have heard that PHP is faster and more secure than ASP, but then again that could just be talk.
I Googled your query, and I got http://www.webdevforums.com/showthread.php?t=25. Basically what I've gathered is that it is available for all platforms, something that ASP lacks, and that ASP has some performance issues. Now, I've never used ASP, but I do know that PHP is a more popular language than ASP (how many threads are there in the ASP forum again? 10 maybe?) and usually languages are popular for a reason.
You might want to do some deeper research though.
And yeah, this is in the wrong forum.
zachogden
10-26-2004, 06:45 PM
ASP:
Open Source : NO
Connect to any other db's other than MSSQL : NO; 3rd party
send email : NO, 3rd party.
platform independant : NO, requires addons for Linux (ChiliSoft!) or other ASP filter.
expandable :NO
create image on the fly : NO, 3rd party
Price: Whatever MS Windows Nt 4 + is going for.
PHP:
Open Source : YES
Connect to any other db's other than MSSQL : YES, Oracle, MSSQL, Postgre,MySQL, sqllite
send email : Yes, built in
platform indepentant :YES, runs on ay Unix/Linux/Mac, PC with Windows, others available, or compile your own.
expandable: YES & it's encouraged !
create images on the fly: YES, built in as of 4.3.0
Price: FREE !
--Copied from above linked site
Whiteknight
10-26-2004, 06:49 PM
The benefits of PHP over ASP are numerous, thats a fact, but my point stands: if you already know ASP, you already have ASP installed on your server, yo already have most of the code done in ASP, then it makes sense to do the project in ASP.
for your next project, you might be interested in using a better tool for the job, however....
johnb.
10-26-2004, 08:47 PM
hey guys-
thanks for the speedy replies. sorry bout being in the wrong thread :(
i don't really know asp or php. javascript would be my best language cause i'm much more experienced in flash than anything else and thus the actionscript and javascript transformation would be a little less tricky. but using vbscript in asp i spretty easy too. i haven't coded hardly anything in asp, just tryin to test some stuff out, but def not a large portion.
so with all that said, i'm guessin i should delve into php eh?
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.