Compilation

Jun 17, 2009

In PHP, when a page is requested, the HTML and PHP script is compiled to Zend Opcodes, which are low level binary instructions used for serving PHP pages. After these are compiled, the Zend engine runs the opcodes and afterwards, HTML markup is generated and served.

In order to speed up the execution of a PHP page, there are a number of commercial products that can be used to perform opcode optimization; another option to increase the performance of PHP scripts is to use "accelerators", which provide opcode and HTML caching. However, a downside is that such third party applications will still result in other issues, like platform compliance.

ASP.NET on the other hand works in a different way. When a request for an .aspx page is submitted to the IIS (Internet Information Service) or another Web server, the request is passed to the ASP.NET handler for processing. If the page is requested for the first time, ASP.NET will compile it to MSIL, which is then processed by the CLR to machine code. The request is then run using the resulted compiled code. Other requests from the same page are served through the same machine code.

The binary code generated by the CLR is optimized to maximum, so no add-ons are required to achieve the highest performance levels. Also, all the built in functionality in ASP.NET is already compiled to machine code.

1. Migrating from PHP to ASP.NET - Introduction
2. Feature comparison
3. Architecture and object oriented programming capabilities
4. Compilation
5. Data and page caching

 




Recent articles

Security in software outsourcing
May 07, 2015
One of the first things that comes to mind when thinking about outsourcing a software project is related to data security... read more
Attractive software outsourcing destinations in Eastern Europe
Mar 19, 2014
The Asian region was regarded, for many years, as the only suitable destination for software outsourcing (customers were attracted by affordable hourly rates and smaller development time frames). However in the last decade a new destination has emerged: Eastern Europe. Countries such as: Latvia, Hungary, Czech Republic, Romania, Poland, Ukraine etc. made a name for themselves on the outsourcing market by providing a complete set of services - consulting, development, support, maintenance.... read more
Romania - an attractive software outsourcing destination in Eastern Europe
Feb 25, 2014
Today's outsourcing market provides a wide range of outsourcing destinations and a high number of software development companies, so choosing an outsourcing company for your business can be a challenging and complicated process.... read more
Outsourcing: how to keep up with the competition
Jan 08, 2014
If at first, the economic climate forced more companies to outsource their IT departments towards outsourcing software companies, now outsourcing has become a viable solution for having access to a multitude of skills and expertise. ... read more
Software development: let's make it custom
Sep 09, 2013
We all want to have our requirements met immediately, but as a company it's even more important to receive personalized services, that are adapted to your day-to-day activities.... read more
...but what does software consulting mean?
Aug 15, 2013
What is software consulting? Software consulting is a service that helps other companies or self-employed individuals to meet their needs in terms of software infrastructure, development & support... read more
Products  |  Press  |  Site Map  |  Technologies  |  Terms of Use  |  Privacy Policy
© 2017 SBP Romania. All rights reserved.