Data-Driven Web Pages

The most common purpose of a Web page is to present information content. This information may be for personal promotion, commercial gain, public service, or for any number of public or private purposes. Irrespective of the goal to be achieved, the purpose of the page remains to supply accurate and timely information about the individual or enterprise. The challenge in Web-page design, then, is to create pages that reflect the most accurate and most current information available, and to do so in the most efficient and cost-effective manner possible.

Producing Web Page Content

Information displayed on a Web page comes from four basic sources. First, it can be fixed content that is hard-coded on the page using standard XHTML tags to structure and format it for presentation. This is the conventional way to produce Web pages, whether using drag-and-drop page-creation software or by hand coding text and XHTML with simple text editors. Second, information can be produced automatically by browser or server scripts. This information can be fixed, unchanging content, or it can be generated by built-in language functions or server objects. Third, displayed information can be script generated from input data supplied by the user. Raw data from the outside is manipulated by internal scripts to generate new information for page display. Lastly, page information can be drawn from external data sources such as files and databases. In this case, current information from personal, corporate, or public data stores is retrieved for display at the exact moment the Web page is requested.

The main goal with ASP.NET pages is to reduce or eliminate much of the hard-coded information that appears on the page. As noted, intermixing information content with XHTML tags makes for Web pages that are difficult to maintain and to keep current. Updating page content involves manual editing of the page, often requiring the time and effort equal to that needed to create the page in the first place. It is costly, time consuming, and error prone. Worse, it is often the case that manually created and edited information is always a step or two behind the actual information of the moment.

The ideal situation is to maintain information apart from the Web page that displays it. The Web page itself contains only content "placeholders" along with surrounding XHTML for formatting; the content to populate these placeholders is external to the page. When a Web page is requested, this content is "poured" into page areas reserved for its display. The page is produced dynamically, automatically created anew each time the page is requested and always containing the latest, real-time information provided by these external data sources.

Realistically, Web page content comes from a combination of hard-coded and dynamically produced information. Keep in mind, though, that where possible, a Web page should generate its own content rather than the imposed hand-coded content of the developer.

Hard-Coded Text and XHTML

The standard way to present Web page information is through hard-coded text surrounded by XHTML tags to format it for presentation. As needed or preferred, graphic images can be added to the page by linking to picture files. The output shown below is produced in this conventional fashion.

Hard-Coded Page Output

This page is produced by coding text characters on the page and surrounding them with XHTML tags to style them for presentation. When this content changes, the page itself must be edited to display new information.

Figure 3-1. Page output produced by hard-coded text and XHTML.
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html 
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>Hard-Coded Page Output</title>
</head>
<body>

<h3>Hard-Coded Page Output</h3>

<p>This page is produced by coding text characters on the page and 
surrounding them with XHTML tags to style them for presentation. When 
this content changes, the page itself must be edited to display new 
information.</p>

</body>
</html>
Listing 3-1. Producing hard-coded page output.

Although no information is produced by ASP.NET features, you still can name the page with the .aspx suffix. It is a good idea to do this. Later you may need to return to this page to add scripts and server controls. It will not be necessary to rename the page when this occurs.

Scripted Text and XHTML

Page information can be generated by scripts that write fixed or variable content to the page. Information to be written each time the page is loaded is coded in the Page_Load subprogram. Information to be written in response to user requests is coded in subprograms that are triggered by server controls. In the following example, a Page_Load script produces output by writing text characters, XHTML tags, and a formatted Visual Basic date property to server output controls coded on the page.

Script-Generated Page Output

Today, Tuesday, February 07, 2012, this output is produced by a script that writes text characters, XHTML tags, and a Visual Basic date function to server output controls coded on the page. The date is always current and does not require page editing.

Figure 3-2. Page output produced by script.
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html 
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<SCRIPT Runat="Server">

Sub Page_Load
	
  Heading.Text   = "<h3>Script-Generated Page Output</h3>"
  Paragraph.Text = "<p>Today, <span style=""color:red"">" & _
                   Format(DateString, "Long Date") & "</span>, " & _
                   "this output is produced by a script that writes " & _
                   "text characters, XHTML tags, and a Visual Basic " & _
                   "date function to server output controls coded on " & _
                   "the page. The date is always current and does not " & _
                   "require page editing.</p>"

End Sub

</SCRIPT>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>Script-Generated Page Output</title>
</head>
<body>
<form Runat="Server">

<asp:Label id="Heading" Runat="Server"/>
<asp:Label id="Paragraph" Runat="Server"/>

</form>
</body>
</html>
Listing 3-2. Page produced by script output.

Script-generated information must be targeted to server controls as output areas. In the above example, two <asp:Label> controls serve this purpose. They are given id identifications so that the script, coded here in the Page_Load subprogram, can specify where to place its output. The script assigns a string of text characters and XHTML to the Text property of the Heading Label to display as the page heading; it assigns a combination of text, XHTML, and a server-generated date to the Paragraph Label. Notice that no XHTML or text information is hard-coded in the body of the page. It is generated and written entirely by the script.

In this example, the string of text assigned to the output Label itself contains a quoted string. Notice in the first line of the assignment,

Paragraph.Text = "<p>Today, <span style=""color:red"">" & _

that the embedded <span> tag includes the style setting style=""color:red"" wherein the property setting is enclosed inside a pair of quotes. Any time quoted text appears inside a quoted string it is necessary to use pairs of quotes surrounding the inner string to differentiate from the single quotes surrounding the outer string.

Script-Processed Input Data

Web page information can be produced by inputting user data and using it to generate output for display through server output controls. The following example solicits user input through a TextBox control. When the button is clicked, a subprogram is called to perform a calculation based on the entered value. The calculation result, along with surrounding text and XHTML, are written to a Label output control.

User-Supplied Page Input

Enter your age:
Figure 3-3. Page output produced from user input.
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html 
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<SCRIPT Runat="Server">

Sub Get_Dog_Years (Src As Object, Args As EventArgs)

  If Age.Text <> "" Then
    Dim DogYears As Integer
    DogYears = Age.Text * 7
    DogAge.Text = "Your age is <b>" & DogYears & "</b> in dog years!"
  End If
	
End Sub

</SCRIPT>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>User-Supplied Page Input</title>
</head>
<body>
<form Runat="Server">

<h3>User-Supplied Page Input</h3>

Enter your age: 
<asp:TextBox id="Age" Size="5" Runat="Server"/>
<asp:Button Text="Submit" OnClick="Get_Dog_Years" Runat="Server"/>
<asp:Label id="DogAge" Runat="Server"/>

</form>
</body>
</html>
Listing 3-3. Code for page produced from user input.

For this example, three server controls are needed. An <asp:TextBox> control is required as the user input area; an <asp:Button> control calls a subprogram to produce page output; an <asp:Label> control serves as the display target for script output. When the button is clicked, the value entered into the TextBox is multiplied by 7 and the result is surrounded by fixed text and XHTML assigned to the output Label. Again, no text or XHTML is hard-coded in the body section of the page. All output is generated by script.

Processing External Data Sources

For most commercial Web sites and many personal Web sites, information content is not coded on the page nor does it originate as user input. It comes from external files and databases, the storehouses of information that individuals and enterprises use to operate and manage their personal and business affairs. Most Web page information, then, is maintained separately from the pages that display it. When a page is requested, this information is extracted from these external data sources and placed on the page prior to transmitting it to the browser. Displayed information is always current because the page is created dynamically from current information sources.

The following output is generated by extracting information stored in a database located on the Web server for this site. The layout and contents of this database are described below; it is used in many examples throughout these tutorials.

Database-Generated Page Output

BookIDBookTitleBookPriceBookQty
DB111Oracle Database$69.9910
DB222Databases in Depth$29.956
DB333Database Processing$136.6512
DB444Access Database Design$34.9525
DB555SQL Server 2005$29.990
GR111Adobe Photoshop CS2$29.994
GR222Learning Web Design$39.958
GR333Macromedia Flash Professional$44.9917
GR444Digital Photographer Handbook$24.9522
GR555Creating Motion Graphics$59.9513
HW111How Computers Work$29.998
HW222Upgrading and Repairing PCs$59.995
HW333USB System Architecture$49.991
HW444Designing Embedded Hardware$44.953
HW555Contemporary Logic Design$102.952
SW111Java How to Program$98.599
SW222C Programming Language$44.2512
SW333Programming C#$44.950
SW444Programming PHP$39.9517
SW555Visual Basic.NET Programming$49.9913
SY111Operating System Concepts$95.751
SY222The UNIX Operating System$19.9512
SY333Windows Server 2003$29.9925
SY444Linux in a Nutshell$44.9514
SY555Mastering Active Directory$49.998
WB111Ajax in Action$22.6714
WB222Professional ASP.NET 2.0$32.9921
WB333Cascading Style Sheets$39.956
WB444DOM Scripting$23.098
WB555Microsoft ASP.NET 2.0$29.9912

Figure 3-4. Page output produced from an external data source.

As you can see in the following code listing, there is very little XHTML on the page and no scripts. All server processing is incapsulated in the two server controls coded on the page.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html 
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>Database-Generated Page Output</title>
</head>
<form Runat="Server">

<h3>Database-Generated Page Output</h3>

<asp:AccessDataSource id="BookSource" Runat="Server"
  DataFile="c:\eCommerce\Databases\BooksDB.mdb"
  SelectCommand="SELECT BookID, BookTitle, BookPrice, BookQty FROM Books 
                 ORDER BY BookID"/>

<asp:GridView id="BookGrid" DataSourceID="BookSource" Runat="Server"/>

</form>
</body>
</html>
Listing 3-4. Code for page produced from an external data source.

Only two server controls are needed to produce page output. An <asp:GridView> control, one of the information display controls to which external data can be bound, automatically produces a table display of provided information. An <asp:AccessDateSource> control extracts information from the database. It is associated with the GridView through the latter's DataSourceID property so that retrieved information is displayed in the format given by the GridView. No special styling is applied to the output table; however, there is a full range of layout and styling options that can be applied to a GridView. Although not shown in this example, various user input controls can be added to the page so that users can make choices about which information to extract and display as output.

Separating Web Content from Page Display

An advantage of maintaining Web page content in external data stores is that it is more likely to be the most current and most accurate information. For commercial Web sites especially, much of the content already resides in corporate databases representing the storehouses of information used to operate and manage the enterprise. Web pages are current and accurate to the extent they can draw out and display this information in a timely manner. It makes little sense to hard code this information on a Web page as text and XHTML when the information itself can change a minute or two later. Better that Web page information be live, extracted from these data sources the exact second it is requested.

A second advantage of keeping page content separate from its on-page display is that the Web page itself seldom, if ever, requires editing. As long as the arrangment and presentation of information is satisfactory, page coding is never changed while page content changes regularly, as often as the information in the data stores change. The page always presents the most current information with no involvement of the page developer and no need for a technical or clerical staff to update the pages. In effect, those who maintain the data stores maintain the Web site.

The benefits of data-driven Web sites not only pertain to corporate or commercial sites. Even a personal Web site is advantaged by separating page formatting from its information content. Of course, if page content seldom changes then it may be satisfactory to hard code the information on the page itself. However, if content changes routinely, a better solution is to off-load it into external files or databases. The information content is more easily edited and updated in these external data stores than by continually editing XHTML pages. Regardless of the size or complexity of a Web site, a developer's first inclination should be to manage its content externally using server controls and scripts to bring it together for page presentation.

Example Database

Much of the discussion in these tutorials surrounds database processing. For illustration purposes, it is necessary to have a database to work with. On this and subsequent pages a Microsoft Access database named BooksDB.mdb is used. This database contains a Books table with information about books for sale. This information is typical of that needed for e-commerce Web sites. The structure of this database table is shown below.

Field Name Data Type Field Size Example Data
BookID (Key) Text 5 DB222
BookType Text 10 Database
BookTitle Text 50 Databases in Depth
BookAuthor Text 20 C. J. Date
BookDescription Memo   In Database in Depth, author and well-known database authority Chris Date lays out the fundamentals of the relational model. Don't let a lack to formal education in database theory hold you back. Instead, let Chris's clear explanation of relational concepts, set theory, the difference between model and implementation, relational algebra, normalization, and much more set you apart and well above the competition when it comes to getting work done with a relational database.
BookPrice Currency   $29.95
BookQty Number Long Integer 6
BookSale Yes/No   True (checked) or False
Figure 3-5. Structure of Books table of BooksDB.mdb database.

The complete database contents are shown below, produced, incidentally, live and direct from the database itself.

IDTypeTitleAuthorDescriptionPriceQty Sale 
DB111DatabaseOracle DatabaseK. Loney
Get thorough coverage of Oracle Database 10g from the most comprehensive reference available, published by Oracle Press. With in-depth details on all the new features, this powerhouse resource provides an overview of database architecture and Oracle Grid Computing technology, and covers SQL, SQL*Plus, PL/SQL, dynamic PL/SQL, object-oriented features, and Java programming in the Oracle environment. You'll also find valuable database administration and application development techniques, plus an alphabetical reference covering major Oracle commands, keywords, features, and functions, with cross-referencing of topics.
$69.9910False
DB222DatabaseDatabases in DepthC. J. Date
In Database in Depth, author and well-known database authority Chris Date lays out the fundamentals of the relational model. Don't let a lack to formal education in database theory hold you back. Instead, let Chris's clear explanation of relational concepts, set theory, the difference between model and implementation, relational algebra, normalization, and much more set you apart and well above the competition when it comes to getting work done with a relational database.
$29.956True
DB333DatabaseDatabase ProcessingD. Kroenke
Revised to reflect the needs of today's users, this 10th edition of Database Processing assures that you will learn marketable skills. By presenting SQL SELECT statements near the beginning of the book readers will know early on how to query data and obtain results-seeing firsthand some of the ways that database technology is useful in the marketplace. By utilizing free software downloads, you will be able to actively use a DBMS product by the end of the 2nd chapter. Each topic appears in the context of accomplishing practical tasks. Its spiral approach to database design provides users with enhanced information not available in other database books on the market.
$136.6512False
DB444DatabaseAccess Database DesignS. Roman
When using software products with graphical interfaces, we frequently focus so much on the details of how to use the interface that we forget about the general concepts that allow us to understand and use the software effectively. This is particularly true of a powerful database product like Microsoft Access. Novice, and sometimes even experienced, programmers are so concerned with how something is done in Access that they often lose sight of the general principles that underlie their database applications. Access Database Design and Programming takes you behind the details of the Access interface, focusing on the general knowledge necessary for Access power users or developers to create effective database applications.
$34.9525False
DB555DatabaseSQL Server 2005P. Debetta
Get a developer-focused introduction to the new programmability features in the next version of Microsoft SQL Server-including integration with the Microsoft .NET Framework-and learn powerful new ways to manipulate your servers. Whether you're a developer currently working with T-SQL or Microsoft Visual Studio.NET, or you're responsible for database administration, you'll see how to draw from your existing skills and knowledge to exploit new SQL Server technology. With introductory-level code samples written in both T-SQL and C#, you'll understand how to take advantage of the cross-platform interoperability, native support for XML and Web services, shared language base, and other programming innovations to build better solutions from business intelligence to enterprise data management.
$29.990True
GR111GraphicsAdobe Photoshop CS2Adobe
With this book, you learn by doing, getting your feet wet immediately as you progress through a series of hands-on projects that build on your growing Photoshop knowledge. Simple step-by-step instructions, review questions at the end of each chapter, and a companion CD with all of the book's project files make learning a breeze as the Adobe Creative Team takes you on a self-paced tour of the image-editing powerhouse. This bestselling guide has been completely revised to cover all of Photoshop CS2's new features and creative tools. This comprehensive guide starts with an introductory tour of the software and then progresses on through lessons on everything from Photoshop's interface to more complex topics like color management, Web graphics, and photo retouching.
$29.994False
GR222GraphicsLearning Web DesignJ. Niederst
In Learning Web Design, author Jennifer Niederst shares the knowledge she's gained from years of web design experience, both as a designer and a teacher. This book starts from the beginning--defining the Internet, the Web, browsers, and URLs--so you don't need to have any previous knowledge about how the Web works. After reading this book, you'll have a solid foundation in HTML, graphics, and design principles that you can immediately put to use in creating effective web pages.
$39.958True
GR333GraphicsMacromedia Flash ProfessionalT. Green
Offering breakthrough video capabilities and powerful run-time effects, Macromedia Flash Professional 8 is poised to upend the Web video market, posing a serious challenge to Microsoft, RealNetworks, and Apple's efforts in the process. Here to make sure you're ready for it is the official Macromedia training for the program. Through 20-plus hours of project-based instruction, you'll learn how to program for the enhanced Flash Player; use ActionScript to create dynamic interactivity; take advantage of new Flash 8 features like the improved script editor, revamped library interface, and new Undo feature; and more. Simple step-by-step instructions peppered with plenty of visual aids and a CD that includes lesson files and a trial version of Flash Professional 8 leave you with a solid understanding of Flash development and the techniques required to tap your creative potential by producing dynamic, interactive content.
$44.9917False
GR444GraphicsDigital Photographer HandbookM. Freeman
Michael Freeman has a well-deserved reputation for effectively explaining the concepts behind digital picture-taking to a variety of audiences. Here, he turns his attention to the professionals and advanced hobbyists who are making the move from traditional to digital and want help mastering the technology and meeting their clients' new requirements. Freeman thoroughly answers the most frequently asked questions about the basics of digital capture, from cameras and computers to storage options, printers, and scanners. Photographers will learn the different file formats and how to save images for print or publishing on the web. They'll explore valuable software tools and basic image processing programs that fix common problems, and see how to improve pictures using an assortment of cropping and filtering techniques.
$24.9522False
GR555GraphicsCreating Motion GraphicsT. Meyer
Trish and Chris Meyer share their years of real-world production experience in this vital update to the acclaimed Creating Motion Graphics with After Effects series. More than a step-by-step review of the features, you learn how this program integrates into real-world production workflows from award-winning artists who make their living using After Effects. This full-color guide is packed with visual examples, and the enclosed DVD-ROM is loaded with source material and projects that encourage you to practice their techniques.
$59.9513False
HW111HardwareHow Computers WorkR. White
How Computers Work, 7th Edition, has been one of the bestselling computer books for the last 10 years. This four-color visual tutorial is a must-have for any computer user, from novice to expert. The rich graphics and intricate details about the inner workings of computers have been admired for years by consumers, instructors, professionals, and readers of all ages. A fresh cover and interior provide the reader with superior usability and it is the most aesthetically-pleasing edition yet!
$29.998False
HW222HardwareUpgrading and Repairing PCsS. Mueller
Push your PC's performance to the limit. Know the differences between: Pentium II, Pentium MMX, Pentium Pro, and earlier CPU chips and choose the best chip for your needs; understand compatibility and feature sets of processor upgrade sockets, motherboards, and chipsets; use Universal Serial Bus ports and devices to simplify peripheral installation, configuration, and improve performance; squeeze the most performance, life, and reliability out of your hard drives; prevent memory headaches: pick the right speed and type of SIMMs and DIMMs, run more programs at once, and work with bigger files; and integrate hot new hardware including 3D graphics accelerators, fast SDRAM memory, Zoomed Video and CardBus PC Cards for your notebook, and NLX motherboards with support for Single Edge Contact processors and Accelerated Graphics Ports.
$59.995False
HW333HardwareUSB System ArchitectureD. Anderson
Universal Serial Bus System Architecture, Second Edition, based on the 2.0 version of the Universal Serial Bus specification, provides in-depth coverage and a detailed discussion of USB. It focuses on the USB protocol, signaling environment, and electrical specifications, along with the hardware/software interaction required to configure and access USB devices.
$49.991False
HW444HardwareDesigning Embedded HardwareJ. Catsoulis
Designing Embedded Hardware is a book about designing small machines for embedded applications. There are many books on the market dedicated to writing code for particular microprocessors, or that stress the philosophy of embedded system design without providing any practical information. This book steers a middle path, telling you what you need to know to create your own products, and distilling much of the lore of embedded systems design into a single volume. It shows you how to build a complete embedded system, add peripherals, and connect your system to other devices.
$44.953True
HW555HardwareContemporary Logic DesignR. Katz
Contemporary Logic Design introduces a wide range of software tools including schematic capture, logic simulation, Boolean minimization, multi-level minimization and state assignment. Links the traditional techniques of logic design (such as Karnaugh maps and breadboard techniques) with real-world design examples. Provides comprehensive, early coverage of programmable logic including ROMs, PALs, and PLAs. Includes a variety of examples, exercises, problems, and case studies that illustrate real design problems and challenge the reader to develop practical solutions using modern design tools.
$102.952False
SW111SoftwareJava How to ProgramDeitel
This edition is completely up-to-date with The Java 2 Platform Standard Edition (J2SE) 1.5. Now includes topics such as autoboxing, enumerations, enhanced for loops, static import statements, variable-length argument lists, and much more. Presents each new concept in the context of a complete, working program, immediately followed by one or more windows showing the program's input/output dialog. A valuable reference for programmers and anyone interested in learning the Java programming language.
$98.599True
SW222SoftwareC Programming LanguageB. Kernighan
The original authors of C and the first UNIX system present this concise and powerful guide to ANSI standard C programming. This version, building on Kerninghan and Ritchie's classic The C Programming Language, brings readers up-to-date with the finalized ANSI standard for C while teaching users how to take advantage of noted C features like economy of expression, its full set of operators and more. One reader claimed "Just about every C programmer I respect learned C from this book," while another raved th
$44.2512False
SW333SoftwareProgramming C#J. Liberty
The programming language C# was built with the future of application development in mind. Pursuing that vision, C#'s designers succeeded in creating a safe, simple, component-based, high-performance language that works effectively with Microsoft's .NET Framework. Now the favored language among those programming for the Microsoft platform, C# continues to grow in popularity as more developers discover its strength and flexibility. And, from the start, C# developers have relied on Programming C# both as an introduction to the language and a means of further building their skills. The new fourth edition of Programming C#--the top-selling C# book on the market--has been updated to the C# ISO standard as well as changes to Microsoft's implementation of the language.
$44.950False
SW444SoftwareProgramming PHPR. J. Lerdorf
PHP is a simple yet powerful open source scripting language for creating dynamic web content. The millions of web sites powered by PHP are testament to its popularity and ease of use. PHP is used by both programmers, who appreciate its flexibility and speed, and web designers, who value its accessibility and convenience. Programming PHP is an authoritative guide to PHP 4, the latest version of the language, and is filled with the unique knowledge of the creator of PHP, Rasmus Lerdorf. This book explains PHP language syntax and programming techniques in a clear and concise manner, with numerous examples that illustrate both correct usage and common idioms. The book also includes style tips and practical programming advice that will help you become not just a PHP programmer, but a good PHP programmer.
$39.9517False
SW555SoftwareVisual Basic.NET ProgrammingP. Vick
Visual Basic .NET builds on the legendary simplicity of Visual Basic to add the immense power of true object-oriented programming and Microsoft's .NET Framework. Now, for the first time, one of the language's architects has written a definitive technical reference and tutorial for Visual Basic .NET. Moving far beyond the online documentation, Paul Vick presents the language's complete specification, along with descriptions, reference materials, and code samples direct from the Visual Basic .NET design team.
$49.9913False
SY111SystemsOperating System ConceptsA. Silberschatz
By staying current, remaining relevant, and adapting to emerging course needs, this text has continued to define the operating systems course. This Seventh Edition not only presents the latest and most relevant systems, it also digs deeper to uncover those fundamental concepts that have remained constant throughout the evolution of today's operating systems. With this strong conceptual foundation in place, students can more easily understand the details related to specific systems.
$95.751False
SY222SystemsThe UNIX Operating SystemJ. D. Peek
Learning the Unix Operating System is a handy book for someone just starting with Unix or Linux, and it's an ideal primer for Mac and PC users of the Internet who need to know a little about Unix on the systems they visit. The fifth edition is the most effective introduction to Unix in print, covering Internet usage for email, file transfers, web browsing, and many major and minor updates to help the reader navigate the ever-expanding capabilities of the operating system.
$19.9512True
SY333SystemsWindows Server 2003W. R. Stanek
Here's the practical, pocket-sized reference for IT professionals supporting Windows .NET Server. Designed for quick referencing, this portable guide covers all the essentials for performing everyday system-administration tasks. Topics include managing workstations and servers, using Microsoft Active Directory services, creating and administering user and group accounts, managing files and directories, data security and auditing, data back-up and recovery, network administration using TCP/IP, WINS, and DNS, and more.
$29.9925False
SY444SystemsLinux in a NutshellS. Figgins
Whether you're using Linux for personal software projects, for a small office or home office, to provide services to a small group of colleagues, or to administer a site responsible for millions of email and web connections each day, you need quick access to information on a wide range of tools. This book covers all aspects of administering and making effective use of Linux systems. Among its topics are booting, package management, and revision control. But foremost in Linux in a Nutshell are the utilities and commands that make Linux one of the most powerful and flexible systems available.
$44.9514False
SY555SystemsMastering Active DirectoryR. R. King
Active Directory represents an enormous advance in network administration. It provides a vast set of powerful tools and technologies for managing a network within a native Windows environment. Mastering Active Directory for Windows Server 2003 is the resource you need to take full advantage of all it has to offer. You get a sound introduction to network directory services, then detailed, practical instruction in the work of implementing Active Directory and using all of its tools. This edition has been completely updated to address features new to Active Directory for Windows Server 2003.
$49.998False
WB111WebAjax in ActionD. Crane
Ajax in Action helps you implement that thinking--it explains how to distribute the application between the client and the server while retaining the integrity of the system. You will learn how to ensure your app is flexible and maintainable, and how good, structured design can help avoid problems like browser incompatibilities. Along the way it helps you unlearn many old coding habits. Above all, it opens your mind to the many advantages gained by placing much of the processing in the browser. If you are a web developer who has prior experience with web technologies, this book is for you.
$22.6714True
WB222WebProfessional ASP.NET 2.0B. Evjen
ASP.NET allows web sites to display unique pages for each visitor rather than show the same static HTML pages. The release of ASP.NET 2.0 is a revolutionary leap forward in the area of web application development. It brings with it a wealth of new and exciting built-in functions that reduce the amount of code you'll need to write for even the most common applications. With more than 50 new server controls, the number of classes inside ASP.NET 2.0 has more than doubled, and, in many cases, the changes in this new version are dramatic. This book will alert you to every new feature and capability that ASP.NET 2.0 provides so that you'll be prepared to put these new technologies into action.
$32.9921False
WB333WebCascading Style SheetsE. A. Meyer
This second edition of Cascading Style Sheets: The Definitive Guide completes the discussion of CSS2, explores CSS2.1, and introduces emerging elements of CSS3. Eric A. Meyer uses his trademark wit and humor to explore properties, tags, attributes, and implementation, as well as real-life issues, such as browser support and design guidelines. This book addresses experienced web authors and scripters, as well as novice authors who may be implementing CSS from scratch. Cascading Style Sheets: The Definitive Guide, Second Edition also includes a new foreword by Molly Holzschlag, a steering committee member for the Web Standards Project.
$39.956False
WB444WebDOM ScriptingJ. Keith
There are three main technologies married together to create usable, standards-compliant web designs: XHTML for data structure, Cascading Style Sheets for styling your data, and JavaScript for adding dynamic effects and manipulating structure on the fly using the Document Object Model. This book is about the latter of the three. DOM Scripting: Web Design with JavaScript and the Document Object Model gives you everything you need to start using JavaScript and the Document Object Model to enhance your web pages with client-side dynamic effects. Jermey starts off by giving you a basic crash course in JavaScript and the DOM, then moves on to provide you with several real world examples built up from scratch including dynamic image galleries and dynamic menus, and shows you how to manipulate web page style using the CSS DOM, and create markup on the fly.
$23.098True
WB555WebMicrosoft ASP.NET 2.0D. Esposito
Get an expert, developer-focused introduction to the next big innovation in ASP.NET Web programming. Programming authority Dino Esposito takes you inside ASP.NET 2.0 technology, explaining how its updated, more powerful infrastructure allows you to create rich and dynamic Web applications quickly and with less code. Esposito examines how developer best practices with ASP.NET 1.x and classic ASP helped drive the architectural changes in ASP.NET 2.0, and he offers prerelease insights into its final architecture. With concise concept and feature explanations and more than 70 fully functional examples, this comprehensive introduction gives you everything you need to dig into ASP.NET 2.0 right now.
$29.9912False
Figure 3-6. Contents of Books table of BooksDB.mdb database.

Database design is not a topic of these tutorials; besides, it requires very little know-how to devise an Access database for storing Web content. A basic set of data fields with a single primary key field can be easily created through the design wizards built into Microsoft Access.

As you proceed through these tutorials, this database is further expanded with additional tables. It is used not only for display of existing records but for various database maintenance tasks such as adding new records, updating existing records, and deleting old records from the database. Later it is used to support an example e-commerce site of books for sale.

In addition to this database information, pictures for all books are available. They are used in various database display applications throughout these tutorials. These pictures are shown below, again produced live from the files themselves.


DB111.jpg

DB222.jpg

DB333.jpg

DB444.jpg

DB555.jpg

GR111.jpg

GR222.jpg

GR333.jpg

GR444.jpg

GR555.jpg

HW111.jpg

HW222.jpg

HW333.jpg

HW444.jpg

HW555.jpg

SW111.jpg

SW222.jpg

SW333.jpg

SW444.jpg

SW555.jpg

SY111.jpg

SY222.jpg

SY333.jpg

SY444.jpg

SY555.jpg

WB111.jpg

WB222.jpg

WB333.jpg

WB444.jpg

WB555.jpg
Figure 3-7. Contents of BookPictures directory.

Notice that the names of the picture files are the same as their database BookID numbers with ".jpg" attached. This naming convention makes it easy to retrieve a picture associated with a particular book as illustrated many times in these tutorials.

The overall directory structure for the example applications described in these tutorial is shown below. The root directory is c:\eCommerce, inside of which are three subdirectories: Databases, BookPictures, and WebSite. The Databases directory must have both read and write access.

Directory structure

Figure 3-8. Directory structure for example applications.

Web pages for example applications are assumed to be in the WebSite directory. Access to the database from these pages, then, is through the physical and relative paths,

Physical path: "c:\eCommerce\Databases\BooksDB.mdb"
Relative path:  "../Databases/BooksDB.mdb"

and access to book pictures is through the physical and relative paths,

Physical path: "c:\eCommerce\BookPictures\file.jpg"
Relative path:  "../BookPictures/file.jpg"

If you are interested in trying out the code presented in these tutorials, you can download the example BooksDB.mdb database and associated pictures files through the following link:

Books.zip

Example code to process these files is not available for download. It can be copied from these Web pages and modified for personal use. However, the intent is to encourage original development of pages, not just copying and pasting somebody else's code.