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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint