asp.net difference faqs- 3

5
1.Difference between ASP.NET and PHP S.No ASP.NET PHP 1 Technology Availability: ASP.NET was launched by Microsoft in the year 2002. Technology Availability: PHP was launched by Rasmus Lerdorf in the year 1995. 2 Database: ASP.Net uses MS-SQL for connecting database but MS-SQL can not be availed free from Microsoft. Database: For point of database connectivity PHP uses MySQL for the purpose of database connectivitybecasue its highly flexiblilty nature. Another important fact is that it will incurextra expenditure because MySQL can be accessed for free. 3 Cost: We need to install Internet Information Server (IIS)on a Windows server platformif you want to run ASP.Net program. As Windows server platform is not a free product,the cost of production is bounded to be increased. Cost: Linux can be used for running PHP programs and Linux is free operating system. Therefore,the cost of developing a website in PHP language is remarkably low 4 Run Time : It has been observed that ASP.Net code runs slower than PHP code. This is becauseASP.Net utilizes server space while running Run Time: Whereas inbuilt memory space is used by PHP while running. 5 Coding Simplicity: ASP.Net codes are somewhat complicated and a web developer needs to work hard to get the hang of it Coding Simplicity: PHP codes are very simple and a programmer does not haveto make a diligent effort because it is comparatively easier than other types of programming languages. 6 Platform Connectivity Issue : ASP.NET codes are usually run on Windows platforms but if you install ASP-Apache inthe server than it can run on Linux platform as well. Platform Connectivity Issue: PHP has a unique advantagein this issue. Its codes can be linked with different types of platforms such asWindows, Linux and UNIX. 7 Cost of Tools : Cost of Tools :

Upload: umar-ali

Post on 22-Jan-2015

1.624 views

Category:

Technology


1 download

DESCRIPTION

This provides a list of ASP.NET FAQs-3 which are of "Difference between" kind

TRANSCRIPT

Page 1: Asp.Net difference faqs- 3

1.Difference between ASP.NET and PHP

S.No ASP.NET PHP

1 Technology Availability:

ASP.NET was launched by Microsoft in the year 2002.

Technology Availability:

PHP was launched by Rasmus Lerdorf in the year 1995.

2 Database:

ASP.Net uses MS-SQL for connecting database but MS-SQL can not be availed free from Microsoft.

Database:

For point of database connectivity PHP uses MySQL for the purpose of database connectivitybecasue its highly flexiblilty nature. Another important fact is that it will incurextra expenditure because MySQL can be accessed for free.

3 Cost: We need to install Internet Information Server (IIS)on a Windows server platformif you want to run ASP.Net program. As Windows server platform is not a free product,the cost of production is bounded to be increased.

Cost:

Linux can be used for running PHP programs and Linux is free operating system. Therefore,the cost of developing a website in PHP language is remarkably low

4 Run Time :

It has been observed that ASP.Net code runs slower than PHP code. This is becauseASP.Net utilizes server space while running

Run Time: Whereas inbuilt memory space is used by PHP while running.

5 Coding Simplicity:

ASP.Net codes are somewhat complicated and a web developer needs to work hard to get the hang of it

Coding Simplicity: PHP codes are very simple and a programmer does not haveto make a diligent effort because it is comparatively easier than other types of programming languages.

6 Platform Connectivity Issue :

ASP.NET codes are usually run on Windows platforms but if you install ASP-Apache inthe server than it can run on Linux platform as well.

Platform Connectivity Issue: PHP has a unique advantagein this issue. Its codes can be linked with different types of platforms such asWindows, Linux and UNIX.

7 Cost of Tools : Cost of Tools :

Page 2: Asp.Net difference faqs- 3

There is no such free tools are available for ASP.Net.

PHP codes are available for free in various forums and blogs as it is a open source software. Furthermore, some useful tools that can be used in PHP are also availablefor free

8 Language Support :

The syntax of ASP.Net is more or less similar to that of Visual basic syntax and this is all but simple.

Language Support :

The codes that are used in PHP are very much similar to that of C++ language and its syntax resembles the syntax used in C and C++. Therefore, if you have a fair knowledge in C++ or C, you will not face any difficulty while coding PHP language.

9 Security :

ASP. Net is reputedfor creating sophisticated techniques to ensure the safety of confidential data.This is the reason why government organizations opt for ASP.Net.

Security :

Though PHP can offer enough measures for ensuring data security

2.Difference between ASP and ASP.NET

S.No ASP ASP.NET

1 ASP is a request response model. ASP.NET is a programming model that is event driven.

2 ASP code is an interpreted language that is interpreted by the script engine.

ASP.NET is a compiled CLR code that will be executed on the Server.

3 HTML and the coding logic are mixed in ASP.

The code and design logic is separated in ASP.NET.

4 To develop and debug ASP application, there are very limited tools.

ASP.NET application can be developed and debugged using various tools including the leading Visual Studio .NET tool.

5 ASP has limited support to Object Oriented Programming principles.

ASP.NET is a complete Object Oriented Programming language.

6 Session management and application state management is

ASP.NET extends complete support for session management and

Page 3: Asp.Net difference faqs- 3

very limited in ASP. application state management.

7 Error handling system is poor in ASP.

ASP.NET offers complete error handling and exception handling services.

8 ASP does not offer any in-built support for the XML.

In ASP.NET, data exchange is easily performed using XML support.

9 Data source support is not fully distributed in ASP.

Data source support is fully distributed in ASP.NET.

3.Difference between ASP.NET and VB.NET

S.No ASP.NET VB.NET

1 ASP.NET is web technology that is used in building web applications and websites.

VB.NET is a language that is used in writing programs that are utilizing the ASP.NET framework.

2 ASP.NET is a server side technology that is language independent. Any .NET languages such as C#, VB.NET can be used to develop web applications through ASP.NET.

VB.NET is a .NET programming language. VB.NET is used to create ASP.NET web applications or windows applications using Visual Studio Windows Forms Designer or mobile applications or console applications or applications for variety of other purposes.

3 ASP.NET is included within the .NET framework.

For example, ASP.NET contains the text boxes and the controls that can be dragged and dropped into a web form.

VB.NET is not part of .NET framework.

For example, VB.NET is the code that is written on various events of text boxes and controls to make them function as per the requirement.

4 ASP.NET contains server controls.

VB.NET does not include server controls.

5 ASP.NET can support all .NET languages.

VB.NET can support only scripting languages.

Page 4: Asp.Net difference faqs- 3

4.Difference between Java and .NET

S.No Java .NET

1 JAVA is developed by ‘Sun Microsystem‘

.NET is developed by ‘Microsoft’.

2 JAVA is a programming language

.NET is a framework that supports many programming languages like C#,ASP,VB.

3 In JAVA, JVM(Java Virtual Machine) execute the code and convert source code to byte code.

In .NET CLR(common language Runtime) execute the code with two phase compilation.

4 JAVA can run on any operating system

.NET can run only on windows/IIS.

5 But in JAVA it depends upon the programmer to destroy the garbage memory.

Although .NET support both explicit and implicit garbage collection,especially,in .NET the garbage collector destroy the garbage value in an efficient manner as compared to JAVA.

6 JDBC is used for database connection in JAVA

ADO .NET is use for database connection in .NET.

7 For java many third party IDEs are available.

.net has a standard development IDE i.e. Microsoft Visual Studio

8 But web application in java run on any operating system.

Both windows and web applications can developed by .net but it will be more better to go for windows application with .NET . you can also go for web application with .NET but it will only hosted on windows server.

9 Exception Handling in Java is harder than .NET

Exception Handling in .NET is simpler than JAVA.

10 JAVA uses bootclasspath for completely trusted codes.

.NET uses GAC(Global Assembly Cache) and keep trusted assemblies.

11 Java is less secure than .NET while providing security

JAVA and .NET both have similar security goals. But .NET is more secure because of its simple and clean designs.

12 Java JDBC which requires multiple round trips to data base. Hence, performance is lesser than .NET

.Net due to disconnected data access through ADO.Net has high level of performance against Java JDBC

Page 5: Asp.Net difference faqs- 3

13 Development is comparatively slower.

Due to Microsoft Visual Studio, development is faster.

14 Java applications development can be done on even less configuration computer system.

Microsoft Visual Studio installation requires higher configuration system.

15 Java can only communicate with java programs

.Net is the platform itself for a multitude of languages. One can use C, C++ and VB to program upon .net. These programs interact with each other using common methods. these common methods are defined by .Net, and are used by the programs to communicate with each other without worry about that language the program was written in. the machine running the program/s will need the .Net platform to be installed.

Please visit my blog @ http://onlydifferencefaqs.blogspot.in/