| Author: kalyan kumar pasupuleti 28 Aug 2008 | Member Level: Gold | Rating: Points: 6 |
Hi Wax
PHP and ASP.NET are two of the most widely used languages for development of web applications. Both allow development of complex and sophisticated sites, but both are very different.
PHP is a language. PHP consists of a platform-independent engine that parses PHP scripts. This language also provides common web application functionality such as database connectivity.
ASP.NET is not a language, but a technology and is a small part of the .NET Framework. The Dot NET Framework consists of a) CLR – Common Language Runtime which manages execution of the code b) a hierarchical set of class libraries. These libraries are extensive and provide a great deal of functionality both for web-based applications and well as windows-based.
ASP.NET framework is built entirely on an OOP paradigm and OOP concepts while PHP is not.
PHP does not follow the OOP paradigm entirely. It only supports partial encapsulation, and partial polymorphism.
Compilation is also different in PHP and ASP.NET.
In PHP, when a page is requested, the HTML and inline PHP script is compiled to binary format called Zend Opcodes. Once compiled, the opcodes are run by the Zend Engine and HTML is generated which is sent to the client. Commercial products are available that increase the speed at which PHP pages are executed.
In contrast, when an ASP.NET page is first requested it is converted into an intermediate language called MSIL (Microsoft Intermediate Language). The CLR then converts this MSIL to machine code. Conversion to machine code only takes place once for each page request (unless code has been modified). All subsequent requests use the already generated machine code. In ASP.NET no optimization product is required as the MSIL generated is already in its most optimized form.
there is alot of diffrence between PHP and ASP.
1. Cost wise(microsoft product) licence required.
2.speed.
3.platform compatibility.
4.additional cost if use the tools in the asp.
5.Base langauge.
6.database connectivity.
etc.
Regards Kalyan Pasupuleti
|
| Author: Wax 28 Aug 2008 | Member Level: Silver | Rating: Points: 1 |
Very Good reply. You have mentioned all the necessary things i wanted. Thanks
|
| Author: Athira Appukuttan 29 Aug 2008 | Member Level: Diamond | Rating: Points: 1 |
Hi..
PHP ===
PHP</acronym> is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
ASP.NET
ASP.NET is Microsoft's new programming technology which is now gaining acceptance and momentum. Soon, it will completely replace standard ASP. Glaserweb.com is already up to speed with .NET technology, and is fully ready for this switch. While .NET development is not as rapid (leading to higher production costs), it is significantly more stable, and runs much faster than older programming technologies, opening up new possibilities for web development.
copyright for the owner of the respectives definitions
|
| Author: Kamaraj 29 Aug 2008 | Member Level: Silver | Rating: Points: 6 |
There is a difference between ASP .Net and PHP. ASP.net is the newest version of Microsoft Active Server Pages Technology. PHP stands for Hypertext Preprocessor. PHP is a server side scripting language for creating dynamic and interactive websites. Both are used to create powerful and dynamic websites. ASP.net is a part of Microsoft.Net Framework. PHP syntax is very similar to Perl and C languages. PHP is used with Apache web server on various operating systems and it can also be used with Microsoft Internet Information Server. While Asp runs on internet information service. ASP.net is the next generation ASP. PHP supports many databases such as MySQL, Informix, Oracle, Sybase, Solid and generic ODBC. The popularity of PHP is that it is open source software. PHP is free to download and use. .Net framework is a environment for building, deploying and running applications on server. .Net framework contains a common language and common class libraries to provide advance standard services that can be integrated into variety of systems. .Net provides a feature rich environment. PHP file may contain text, files and scripts. So both language has significant importance and can be used differently. PHP is recommended because it is highly reliable, secure and fast than ASP.
|
| Author: Swaminathan 30 Aug 2008 | Member Level: Gold | Rating: Points: 4 |
PHP is an open source server-side scripting language. It runs using apache web server and also needs mySQL or Postgres databases.PHP applications are portable.
Asp.net application needs .net framework and visual studio.It can be developed using many languages like c#, vb.net and J#.Many advanced controls are available in visual studio to develop various web applications.
|