spacer
Yehuda Shiran August 9, 2002
The Benefits of Code Behind
Tips: August 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

Separating the JScript code from the ASP.NET code has several benefits. From the software engineering point of view, the code is better organized: every file is either 100% ASP.NET or 100% JScript .NET. Another benefit is that distributed development is easier with Code Behind. Since there are two separate files, the Web site graphic designer can work on the ASP.NET code, while the JScript hacker can program the business logic behind the scenes.

The advantage of Code Behind to you is that the .NET framework compiles your Code Behind automatically, whenever the ASP.NET page is displayed; assuming the JScript has not already been compiled, or has been changed since the last compilation. No re-compilation is done in this case.

To learn more about JScript .NET and ASP.NET, go to Column 115, JScript .NET, Part IX: Code Behind.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business