For undergraduate students who have completed a course in object-oriented programming
Programming the World Wide Web
provides a comprehensive introduction to the tools and skills required for both client- and server-side programming, teaching students how to develop platform-independent sites using the most current Web development technology. Essential programming exercises are presented using a manageable progression: students begin with a foundational XHTML Web site and employ new languages and technologies to add features as they are discussed in the course. Readers with previous experience programming with an object-oriented language are guided through concepts relating to client-side and server-side programming.
- Client-side and server-side technologies are covered in two distinct sections, client-side in Chapters 2–7 and server-side in Chapters 8–16.
- Server-side technology is covered using Flash, Faces, Java servlets, and JSP, PHP, ASP.NET, Ruby, Ruby on Rails, Rails 2.0, and Ajax.
- Building XHTML documents is presented in Chapter 5.
- Chapter 8 on Flash Programming includes examples of drawing graphics figures, animation using both motion and shape tweening, and adding a sound track on a movie.
- Chapter 10 on Ajax contains sections on return document forms, Ajax toolkits, and Ajax security.
- Chapter 11 on Java Web Programming includes sections on NetBeans, JavaBeans, and JavaServer Faces.
- Chapter 12 is a complete introduction to ASP.NET, beginning with a brief introduction to C# and continuing with discussions of ASP.NET controls and Web service construction with ASP.NET. It includes a section on ASP.NET Ajax and a brief introduction to Visual Studio 8.
- Chapter 13 covers Web access to relational databases, including SQL and MySQL, and Web access to databases using Perl, PHP, and Java JDBC.
- A brief, accessible Introduction to Java Appendix is included for C++ programmers, including coverage of Java applets, servlets, JSP, and JDBC.
- World Wide Web Consortium (W3C) Validation Program: All of the markup documents in the book are valid on the W3C validation program.
New to this Edition
- Chapters 1 — 15: The markup documents in the whole book were modified to reflect the change from XHTML 1.0 to HTML5. However, the XHTML syntax rules are used in all example documents.
- Chapter 2: The chapter was revised to update the discussion for HTML, rather than XHTML 1.0. A section was added on some of the new elements in HTML5. Sections on align, valign, cellpadding, and cellspacing were removed. W3C validation was replaced by Total Validation.
- Chapter 3: Sections on contextual selectors and text spacing were removed. All CSS sizes used in this chapter (and the remainder of the book) were changed from points to em.
- Chapter 5: A discussion of the HTML5 canvas element was added.
- Chapter 8: The chapter was revised to cover Flash 5.5, rather than Flash 4. Also, a section on importing graphic figures was added.
- Chapter 11: The chapter was revised to use version 7 of the NetBeans development system, rather than 6.7. This required numerous changes.
- Chapter 12: The chapter was revised to use Visual Studio 2010.
- Chapter 13: The discussion of the PHP/MySQL functions was revised to reflect the new versions of these functions. The PHP/MySQL examples also were updated to use these new functions. The section on JDBC/MySQL was updated to use NetBeans 7.
- Chapter 15: The chapter was revised to discuss the use of Rails 3.1 rather than Rails 2.4. This required extensive changes. Also, the discussion of Instant Rails was dropped, as was the section on Rails with Ajax.
Table of Contents
2 Introduction to HTML/XHTML
3 Cascading Style Sheets
7 Introduction to XML
8 Introduction to Flash
9 Introduction to PHP
10 Introduction to Ajax
11 Java Web Software
12 Introduction to ASP.NET
13 Database Access through the Web
14 Introduction to Ruby
Appendix A Introduction to Java
Appendix B Named Colors