Server-Side Scripting Languages: Asp and Asp.net

ASP (Active Server Pages) was for the first time was released in December 1996. Since then it has been through major changes and has grown and adapted to the new methods of developing web sites and applications for the internet over the period of time.

There are two major forms of ASP:-
1. Classic ASP
2. ASP.NET

In ASP.Net major weight is on n-tier architecture in the application development and there is separation of data presentation, business logic and data access layers. In traditional ASP these layers are mixed leading to the development of ineffective solutions with huge architecture that are difficult to sustain. The ASP.Net offers object oriented approach for the software development where as ASP does not support classes. Only VBScript and JavaScript were available for scripting in ASP where as, in ASP.Net there are no such boundaries.

The .net compliant languages can be used with ASP.Net like C# and VB.Net, where both of them are server-sided languages where as in ASP only VBScript and JavaScript are available as options to be used. Then the ASP pages are interpreted and the ASP.net Code is compiled .Traditional ASP can run only on Microsoft platforms but ASP.Net can be run on non – Microsoft platforms also. ASP runs under the inetinfo.exe IIS (Internet Information Server) process space and can lead to application crashes due to the start and stop process used by IIS. While ASP.net process is separate from inetinfo.exe and is not related to the IIS process isolation settings. The debugging process is easier in ASP.Net.

In traditional ASP the executable code cannot be separated from the HTML making the page difficult to read and maintain. The code block has to be positioned when ever the output is to be shown. This drawback of code is overcome in ASP.Net by the use of server controls. The HTML and Web Server Controls created on the server require a attribute to work. This attribute indicates that the page will be processed on the server. At the same time it implies that the enclosed controls can be accessed by server scripts. Validation Server Controls are a big plus in ASP.Net. It saves a lot of time and developers do not have to write their own functions as it is with ASP. Built-in validation increases the application reliability. Through this Double validation on client and server side can be performed.

The use of ASP.Net pages gives a performance and security edge. It supports the usage of any .Net language. There is no restriction over the use of JavaScript or VB Script on your Web pages. Finally it can be said that ASP.net has opened up a whole new programming model with the blend and combination of web forms, server-side controls, and data binding along with web services. ASP and ASP.Net has just scratched the surface of the Microsoft Active Server Page technology, which will continue to improve in the coming years with the latest additions on the technology front.

HTML 5: the next version of the HTML

World Wide Web Consortium released the first working draft for HTML 5 this year in January. It is a fifth major revision of the HTML we all use every day. When HTML 5 is expressed in XML, it is called XHTML 5. The current version of HTML is 4 which developed in 1999.

Apple, Opera, and the Mozilla Foundation – major browser vendors – came together as a group called Web Hypertext Application Technology Working Group (WhatWG) to build up an updated and upgraded version of HTML. W3C took note of these developments and started its own next-generation HTML effort with many of the same members.

This new version HTML 5 also goes under the name Web Applications 1.0 and it would be immediately familiar to existing HTML programmers. There are no namespaces or schemas. Elements don’t have to be closed. Browsers are forgiving of errors. A p is still a p, and a table is still a table. At the same time, we would come across some new and confusing elements. Our div remain, but now HTML includes section, header, footer, and nav as well. em, code, and strong are still present, but so are meter, time, and m. img and embed continue to be used, but now there are video and audio too. However, closer inspection by the html programmer would reveal that these elements aren’t that different. This can also be an effort to make HTML more developer friendly; the datagrid controls seem similar to those of ASP.NET in name and possibly functionality too.

It was explicitly designed to degrade gracefully in browsers that don’t support it. It provides real benefits to programmers today while promising even more for future page visitors.

But remember that HTML 5 is still a draft and this draft may not be finalized for years, work on HTML 5 continues. Perhaps it will be in our browsers in December 2010.

ยป View draft recommendation