crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference between asp.net and php
Question Posted on 24 Sep 2011Home >> PHP >> PHP Questions >> Difference between asp.net and php

Below are the some of common difference between PHP and ASP.NET both are very simple and attractive.
PHP.NET
DatabaseFor 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. ASP.Net uses MS-SQL for connecting database but MS-SQL can not be availed free fromMicrosoft.
CostLinux 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 lowWe 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.
Run Time
It has been observed that ASP.Net code runs slower than PHP code. This is becauseASP.Net utilizes server space while running whereas inbuilt memory space is usedby PHP while running.
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 ofprogramming languages.ASP.Net codes are somewhat complicated and a web developer needs to work hard toget the hang of it
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.ASP codes are usually run on Windows platforms but if you install ASP-Apache inthe server than it can run on Linux platform as well. 
Cost of Tools
PHP codes are available for free in various forums and blogs as it is a open sourcesoftware. Furthermore, some useful tools that can be used in PHP are also availablefor free. There is no such free tools are available for ASP.Net.
Language Support
The codes that are used in PHP are very much similar to that of C++ language andits 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.The syntax of ASP is more or less similar to that of Visual basic syntaxand this is all but simple.
Security
Though PHP can offer enough measures for ensuring data securityASP. Net is reputedfor creating sophisticated techniques to ensure the safety of confidential data.This is the reason why government organizations opt for ASP.Net.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

difference between echo and print

method to past value from one page to another in php

differenc between mysql_connect and mysql_pconnect

What is htaccess file

Code to combine or concatenate two variables in php






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap