English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

can they do the same things? i think asp can do more stuff with cookies etc, not sure though, which one is easier to learn

2006-12-08 20:38:30 · 4 answers · asked by argh. h 1 in Computers & Internet Programming & Design

do they have different features if asp can connect better with your computer, could you build the microsoft email thing with php as well? if not could you do it with ajax i heard that runs with php

2006-12-08 21:47:28 · update #1

, also what about perl?

2006-12-08 21:49:55 · update #2

4 answers

Generally speaking, PHP and ASP are functionally equivalent. Everything that can be done in one can be done in the other (including cookies). Technical approaches may differ, but the end user most likely wouldn't see a difference.

ASP runs only on Windows and requires IIS (Internet Information Services) to be enabled in order to run.

PHP runs on virtually anything, including Linux, Windows, BSD (and, by extension, MacOS X), AS/400, and pretty much every commercial Unix implementation there is. PHP can work with almost any HTTP server out there, since it can be configured either as a server module or as a CGI/FastCGI executable. On Windows, PHP can be configured to run under either Apache or IIS; the latter allows the developer to develop and test in either PHP or ASP on the same machine.

Both PHP and ASP can integrate with a variety of database engines, either natively or via ODBC (PHP is more likely to integrate natively though).

Generally, PHP is cheaper to host, because it can be deployed on an open-source software stack (Linux/FreeBSD, Apache, MySQL). ASP requires Windows Server and IIS (plus, most hosting companies provide either Access or SQL Server), which brings the cost of hosting up somewhat.

Most people without prior programming experience find PHP easier to learn, because it does not require object-oriented programming and its interfaces to the operating system are based on functions, rather than objects, which makes writing code much easier for a novice programmer.

2006-12-11 10:44:24 · answer #1 · answered by NC 7 · 0 0

Basically, they are just two different kind of programming languages, mostly used for web page design. They both have their attributes but it depends on how you wish to build the site.

"PHP" is generally used by the "linux" users or the people that wish to use free / open source software.

"ASP" is a Microsoft language and will allow the site to more easily communicate with your computer.

LEARNING - Both are about the same, if you learn one you can learn the other with ease. The main difference is in the syntax's and how their used. Both can do alot with cookies but ASP allows for a more interactive system for example "Microsoft Exchange 2003 web-mail system" runs off asp which allows the web-site (thru Internet Explorer) to open up and be used, as if you actually had the "Microsoft Outlook" program opened, this is something that PHP can't do that well.

So in learning, you can learn anyone to start, I am guessing that PHP might be easier, however once you get it you should then be able to pickup the rest (i.e. - Javascript, C, C++, etc.) pretty easy because the concept is pretty much the same.

2006-12-08 20:48:01 · answer #2 · answered by MonkeyB 2 · 0 0

php is open source
free source ,free database( mysql)
free forum(phpbb and other)
free e-learning(moodle)

but asp(asp.net now)
you must have visual studio ,sql server


php more easier

asp.net have many wizard to do some tasks without code

2006-12-09 19:03:57 · answer #3 · answered by wael_kabil 1 · 0 0

Thousands of dollars.

2006-12-11 05:58:32 · answer #4 · answered by fwiiw 4 · 0 0

fedest.com, questions and answers