Designing Active Server Pages by Scott Mitchell

By Scott Mitchell

Designing energetic Server Pages is written for builders who've already mastered the fundamentals of ASP software improvement and are able to take the following logical step. it truly is bound to turn into an essential a part of each net developer's library.

Show description

Read Online or Download Designing Active Server Pages PDF

Similar system administration books

Java Performance and Scalability: Server-Side Programming Techniques

This e-book was once written with one target in brain: to supply Java programmers with the services had to construct effective, scalable Java code. the writer stocks his adventure in server-side functionality tuning via measured functionality tests, known as optimizations. each one optimization discusses concepts to enhance the functionality and scalability of your code.

Deploying Microsoft Forefront Protection 2010 for Exchange Server (It Professional Series)

Get targeted, real-world counsel for making plans and enforcing leading edge defense for trade Server--and support guard company e mail from viruses, junk mail, phishing, and coverage violations. Guided by way of key participants of the Microsoft leading edge workforce, you are going to delve into method elements, beneficial properties, and services, and step via crucial making plans and layout concerns.

Extra info for Designing Active Server Pages

Example text

Regardless of the scripting language used, providing adequate error handling usually results in bloating one’s code severely. 0, then unfortunately, you do not have access to the ASPError object, and therefore must rely on the techniques discussed in this section to detect errors. 0 ASPError object. The main advantage the scripting language error-handling techniques have over the ASPError object is the ability to recover from an error. Using these techniques, a developer can detect when an error occurs and decide on some alternative course of action, keeping the script running smoothly from the perspective of the end user.

42 Chapter 3: Exception Handling you could show the user the backup data. Granted, this data might be out of date, and you would want to let the user know they are viewing dated information, but showing the user something useful is better than showing them an error message. Detecting When Exceptions Occur To be able to handle errors gracefully, it is imperative that some mechanism exists to inform us developers when an error arises. 0’s new ASPError object. 0 scripting engines both contain robust runtime errordetection mechanisms.

In an e-commerce site, if not all of the items selected by the user appear in the summary listing on the “check out” page, an implementation error has occurred. To summarize: flaws existing within the high-level view of the application are logical errors; errors or bugs resulting from the implementation of an idea or feature into code are implementation errors. Implementation errors are easy to detect: if the program crashes or produces incorrect output, an implementation error is at fault. Logical errors, however, are much more sinister and difficult to detect.

Download PDF sample

Rated 4.33 of 5 – based on 22 votes