PDA

View Full Version : differences classic ASP vs ASP.NET


icelava
29-12-2002, 14:37
For a summary, ASP.NET runs on top of Microsoft's new (almost a yr old now) .NET development paradigm with vision for future Web services. The .NET Framework brings to developers crate loads (thousands of object classes) of new managed functionality that reduces the need to manually write plumbing code. With Winforms, you can also develop "traditional" GUI-window apps using the .NET classes.

If you are still kinda confused, just treat the .NET Framework like a DirectX runtime, which game/multimedia apps make use of. Apps written specifically for .NET there need the Framework runtime to work.

One of the main differences between classic ASP & ASP.NET is logic flow. With the older versions of ASP, processing is done top-down for the code (not talking about functions) within the requested .asp page, much like CGI/Perl. In ASP.NET you structure your pages at a higher level and don't necessarily write the HTML tags directly - you do it through Web Controls - objects which the server will parse and render the HTML for you.

This allows for many neat tricks like separating your code away from your presentation (called Code Behind) where you have 2 separate files for your programmer and artist to handle separately. No more (almost) contention.

These high level management objects also allow for event driven activity to happen, so you don't have to write your own event engine.

Some articles to explain differences:
http://asp.net/whitepaper/whyaspnet.aspx
http://www.learnasp.com/freebook/learn/overview.aspx
http://www.learnasp.com/freebook/learn/differences.aspx
http://www.4guysfromrolla.com/webtech/071500-1.shtml

Draculax
29-12-2002, 17:19
Thanks for enlightening us but I still prefer PHP:D **heheh I'm bias**

aspdotnet
29-12-2002, 17:33
ASP.NET is da best ! :D

Im doing a small project on the use of ASP.NET on PDA.
It basically allows the PDA used by employees of a company to communicate to their HQ using ASP.NET
since .ASPX is server based instead of client based.
The possibilities are almost endless :)

ASPX is great !

icelava
29-12-2002, 21:03
Originally posted by Draculax
Thanks for enlightening us but I still prefer PHP:D **heheh I'm bias**
While PHP is popular I do not know (since i never learn it) what its future will be since all the analysis and competition you see at is happening between J2EE and .NET. These 2 platforms have visions of future web services in mind. Perhaps you can detail some evolution aspects of PHP? How does it currently deal with XML?