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

I want to learn Database Programming on Server Side as well as on Client Side to get the Query from the User and to Fetch the Records from the Database stored on a Server.

I am learning JavaScript. Which one should I learn - ASP or PHP?

And what will be the scope after I have learnt them?

I invite your kind guidance and support.

Thank you!

Good luck to you all! :)

2006-09-10 23:09:57 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

ASP is easier but PHP is more in Demand these days because of its Open Source Development.

I like both asp & php because I'm in web development from last 7-8 years, have knowledge of both languages and have done no. of projects using asp & php.

Both ASP and PHP are languages used to build Dynamic Web sites that can interact with Databases and exchange information. ASP (Active Server Pages) is from Microsoft and is used with IIS (Internet Information Server) that runs on Microsoft Servers. PHP (Personal Home Pages) is from Rasmus Lerdorf, who originally designed this parsing language which was later modified by different people. It runs on Unix and Linux servers and it also has an NT server version.

Speed
=====
If we compare the speed of ASP and PHP then PHP has an upper hand. PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.

Database Connectivity
================
PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.

.

2006-09-10 23:23:46 · answer #1 · answered by aadhunik.com social networking s 3 · 0 0

As some of the others have said, there's you're better off learning both so that you can be more flexible. They both can do what you need.

The easiest way to answer the demand question is to do a search at any job search website to see which gets more hits. IMO, PHP is for the Internet junkies, but corporate America typically uses ASP (or even as common, Java or .NET). Then again, I'm in the stuffy NorthEast US...so Cali and other areas may be a little more forward thinking using open source. From my experience, Java, ASP, or .NET (ASP.NET, VB.NET, C#, etc.) are much more in demand than PHP.

And to counter another response, you can connect ASP to any DB as easily as PHP. Your response seemed to indicate only PHP was flexible enough for all DB's but ASP can do it just fine. It works best with SQL Server because they are both Microsoft, but it can connect to any DB.

2006-09-15 08:36:40 · answer #2 · answered by Michael T 2 · 0 0

Each of these tools have their own advantages and disadvantages. Now there is no point in sticking in ASP as Microsoft has release .NET Framework.

After ASP 3.0 there was no ASP 4.0 but ASP.NET. If you learn ASP.NET I think It will give you a better edge on the Server-Side Technology.

PHP is simple to learn if you have some proper programming background. As It is Open Source you can download the source code if you want to contribute to the PHP community (But i think that comes later).

If you want to learn PHP I would suggest the following thing

1. Download manual - PHP

2006-09-11 06:45:21 · answer #3 · answered by Jayaprakash V 2 · 0 0

Learn both. Start with PHP because it's easier to learn.

2006-09-11 12:11:00 · answer #4 · answered by NC 7 · 0 0

lean php. it pwns.

2006-09-11 06:11:36 · answer #5 · answered by dzr0001 5 · 0 0

fedest.com, questions and answers