|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

Internet & World Wide Web How to Program, 2/E
Harvey M. DeitelDeitel & Associates, Inc.
Paul J. DeitelDeitel & Associates, Inc.
Tem R. NietoDeitel & Associates, Inc.

ISBN-10: 0130308978
ISBN-13:  9780130308979

Publisher:  Prentice Hall
Copyright:  2002
Format:  Paper; 1428 pp
Published:  08/22/2001

For a wide variety of Web Programming, HTML, and JavaScript courses found in Computer Science, CIS, MIS, IT, Business, Engineering, and Continuing Education departments. Also appropriate for an introductory programming course (replacing traditional programming languages like C, C++ and Java) for schools wanting to integrate the Internet and World Wide Web into their curricula.

The revision of this groundbreaking book in the Deitels'How to Program series offers a thorough treatment of programming concepts, with programs that yield visible or audible results in Web pages and Web-based applications. The book discusses effective Web-page design, server- and client-side scripting, ActiveX® controls and the essentials of electronic commerce. Internet & World Wide Web How to Program also offers an alternative to traditional introductory programming courses. The fundamentals of programming no longer have to be taught in languages like C, C++ and Java. With Internet/Web markup languages (such as HTML, Dynamic HTML and XML) and scripting languages (such as JavaScript®, VBScript® and Perl/CGI), you can teach the fundamentals of programming “wrapped in the Web-page metaphor.”

  • NEW - Additional resources available for instructors who want to cover non-Microsoft environments.
    • Updated material on www.deitel.com and www.prenhall.com/deitel includes an extensive treatment of Netscape® 6 and alternative versions of the code from the Dynamic HTML chapters that will work with non-Microsoft environments. Ex.___

  • NEW - Two new chapters covering XHTML.
    • Teaches students how to mark up content for the web. Ex.___

  • NEW - New chapter on wireless internet technology.
    • Provides students with an overview of Wireless Markup Language (WML) and WMLScript for programming wireless devices such as cell phones, pagers, and personal digital assistants. Ex.___

  • NEW - New chapter dedicated to accessibility.
    • Discusses the ways in which the websites can be designed for ease of use by people with disabilities. Ex.___

  • NEW - Two new chapters on Python and PHP.
    • These chapters, along with the chapters on ASP, Perl and Java Servlets, address the similarities and differences of using these various server-side languages to create dynamic web-based application. Ex.___

  • NEW - Updates and additional detail throughout the book.
    • Includes topics such as XML, multimedia, e-commerce, databases, Perl and Servlets. Ex.___

  • Signature “Live Code™ Approach”—Language features are presented in the context of a wide variety of complete working programs. Features thousands of lines of code in hundreds of complete working programs.
    • Enables students to confirm that programs run as expected. Students can also manipulate the code from the CD-ROM in the back of the book or from the book's Companion Website (www.prenhall.com/deitel), or from the authors' website (www.deitel.com). Ex.___

  • Outstanding, consistent and applied pedagogy—Icons throughout identify Software Engineering Observations; Good Programming Practices; Common Programming Errors; Portability Tips; Performance Tips, Testing and Debugging Tips, and Look-and-Feel Observations.
    • Provides hundreds of valuable programming tips and facilitates learning. Ex.___

  • Extensive set of interesting exercises and substantial projects.
    • Students can apply what they've learned in each chapter. Ex.___

  • In full color.
    • Syntax coloring helps students to better interpret the code. Ex.___

  • CD-ROM with each text.
    • Includes Microsoft Agent® Agent 2.0, Microsoft® Internet Explorer 5.5, Adobe® Acrobat® Reader 5.0, My SQL 3.23, ActiveState Languages (to include ActivePerl 5.6.1 and ActivePython 21), the following software developed by the Apache Software Foundation: PHP 4.05 and Apache Web Server 1.3.20, source code for all the book's examples and hyperlinks to valuable Internet demos and resources. Ex.___

  • Focus on two projects.
    • Students develop their own personal Web pages and create multi-tier, client/server database-intensive Web-based applications. Ex.___

  • Also available packaged with the Interactive Multimedia Cyber Classroom CD-ROM in The Complete Internet & World Wide Web Training Course, Second Edition (CD-ROM version: 0-13-089561-X; Web-based version: 0-13-065258-X).
    • Provides extra hands-on experience and study aids for a minimal additional cost. Includes many hours of detailed, expert walkthroughs of the book's hundreds of live-code examples; post-assessment exams with hundreds of short-answer questions (all with answers); hundreds of self-review exercises drawn from the text (half with answers); hundreds of programming exercises from the main text (these exercises don't have answers in the main text but half of these exercises have answers in the Complete Training Course); hundreds of tips that are marked with icons and show how to write code that's portable, reusable, and optimized for performance; and full-text searching and hyperlinking. Ex.___

Each How to Program text can be ordered as a Complete Training Course package, containing the main text and the corresponding Cyber Classroom—an interactive, multimedia, tutorial version of the book. The Complete Training Courses are a great value, giving students additional hands-on experience and study aids for a minimal additional cost.

Each Complete Training Course is compatible with Windows 95, Windows 98, Windows NT and Windows 2000 and includes the following features:

  • The full text, illustrations and program listings of its corresponding How to Program book with full-text searching and hyperlinking.
  • Hours of detailed, expert audio descriptions of thousands of lines of code that help to reinforce concepts.
  • An abundance of self-assessment material:
    • Practice exams that offer students hundreds of short answer test questions and answers.

    • Hundreds of self-review questions that are drawn from the text, all with answers.

    • Hundreds of programming exercises that are drawn from the text, half with answers (the main text does not provide any answers to these exercises).

  • Intuitive browser-based interface, designed to be easy and accessible for anyone who's ever used a Web browser.

We offer the Complete Training Courses in either CD-ROM or Web-based format. When professors order the Web-based version of a Complete Training Course, their students receive the corresponding How to Program book packaged with a URL and password that gives then six months of access to the Cyber Classroom software via the Web.

If your customer has already received Internet & World Wide Web How to Program, Second Edition, please sample only the Internet & World Wide Web Multimedia Cyber Classroom CD-ROM (0-13-089559-8) to show them the advantages they would get with The Complete Training Course. Please do not sample The Complete Training Course as they will receive a duplicate copy of the main text.

  • Additional resources available for instructors who want to cover non-Microsoft environments.
    • Updated material on www.deitel.com and www.prenhall.com/deitel includes an extensive treatment of Netscape® 6 and alternative versions of the code from the Dynamic HTML chapters that will work with non-Microsoft environments. Ex.___

  • Two new chapters covering XHTML.
    • Teaches students how to mark up content for the web. Ex.___

  • New chapter on wireless internet technology.
    • Provides students with an overview of Wireless Markup Language (WML) and WMLScript for programming wireless devices such as cell phones, pagers, and personal digital assistants. Ex.___

  • New chapter dedicated to accessibility.
    • Discusses the ways in which the websites can be designed for ease of use by people with disabilities. Ex.___

  • Two new chapters on Python and PHP.
    • These chapters, along with the chapters on ASP, Perl and Java Servlets, address the similarities and differences of using these various server-side languages to create dynamic web-based application. Ex.___

  • Updates and additional detail throughout the book.
    • Includes topics such as XML, multimedia, e-commerce, databases, Perl and Servlets. Ex.___



Preface.


1. Introduction to Computers and the Internet.

Introduction. What Is a Computer? Types of Programming Languages. Other High-Level Languages. Structured Programming. History of the Internet. Personal Computing. History of the World Wide Web. World Wide Web Consortium (W3C). Hardware Trends. Key Software Trend: Object Technology. JavaScript: Object-Based Scripting for the Web. Browser Portability. C and C++. Java. Internet and World Wide Web How to Program. Dynamic HTML. Tour of the Book. Internet and World Wide Web Resources.



2. Microsoft® Internet Explorer 5.5.

Introduction to the Internet Explorer 5.5 Web Browser. Connecting to the Internet. Internet Explorer 5.5 Features. Searching the Internet. Online Help and Tutorials. Keeping Track of Favorite Sites. File Transfer Protocol (FTP). Outlook Express and Electronic Mail. NetMeeting. MSN Messenger Service. Customizing Browser Settings.



3. Photoshop® Elements™.

Introduction. Image Basics. Vector and Raster Graphics. Toolbox. Layers. Screen Capturing. File Formats: GIF and JPEG. Internet and World Wide Web Resources.



4. Introduction to XHTML: Part 1.

Introduction. Editing XHTML. First XHTML Example. W3C XHTML Validation Service. Headers. Linking. Images. Special Characters and More Line Breaks. Unordered Lists. Nested and Ordered Lists. Internet and World Wide Web Resources.



5. Introduction to XHTML: Part 2.

Introduction. Basic XHTML Tables. Intermediate XHTML Tables and Formatting. Basic XHTML Forms. More Complex XHTML Forms. Internal Linking. Creating and Using Image Maps. meta Elements. frameset Element. Nested framesets. Internet and World Wide Web Resources.



6. Cascading Style Sheets™ (CSS).

Introduction. Inline Styles. Embedded Style Sheets. Conflicting Styles. Linking External Style Sheets. WK CSS Validation Service. Positioning Elements. Backgrounds. Element Dimensions. Text Flow and the Box Model. User Style Sheets. Internet and World Wide Web Resources.



7. JavaScript: Introduction to Scripting.

Introduction. Simple Program: Printing a Line of Text in a Web Page. Another JavaScript Program: Adding Integers. Memory Concepts. Arithmetic. Decision Making: Equality and Relational Operators. JavaScript Internet and World Wide Web Resources.



8. JavaScript: Control Structures 1.

Introduction. Algorithms. Pseudocode. Control Structures. if Selection Structure. if/else Selection Structure. while Repetition Structure. Formulating Algorithms: Case Study 1 (Counter-Controlled Repetition). Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 2 (Sentinel-Controlled Repetition). Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 3 (Nested Control Structures). Assignment Operators. Increment and Decrement Operators. Note on Data Types. JavaScript Internet and World Wide Web Resources.



9. JavaScript: Control Structures 2.

Introduction. Essentials of Counter-Controlled Repetition. for Repetition Structure. Examples Using the for Structure. switch Multiple-Selection Structure. do/while Repetition Structure. break and continue Statements. Labeled break and continue Statements. Logical Operators. Summary of Structured Programming.



10. JavaScript: Functions.

Introduction. Program Modules in JavaScript. Programmer-Defined Functions. Function Definitions. Random-Number Generation. Example: Game of Chance. Duration of Identifiers. Scope Rules. JavaScript Global Functions. Recursion. Example Using Recursion: Fibonacci Series. Recursion vs. Iteration. JavaScript Internet and World Wide Web Resources.



11. JavaScript: Arrays.

Introduction. Arrays. Declaring and Allocating Arrays. Examples Using Arrays. References and Reference Parameters. Passing Arrays to Functions. Sorting Arrays. Searching Arrays: Linear Search and Binary Search. Multiple- Subscripted Arrays. JavaScript Internet and World Wide Web Resources.



12. JavaScript: Objects.

Introduction. Thinking About Objects. Math Object. String Object. Date Object. Boolean and Number Objects. JavaScript Internet and World Wide Web Resources.



13. Dynamic HTML: Object Model and Collections.

Introduction. Object Referencing. Collections all and children. Dynamic Styles. Dynamic Positioning. Using the frames Collection. navigator Object. Summary of the DHTML Object Model.



14. Dynamic HTML: Event Model.

Introduction. Event onclick. Event onload. Error Handling with onerror. Tracking the Mouse with Event onmousemove. Rollovers with onmouseover and onmouseout. Form Processing with onfocus and onblur. More Form Processing with onsubmit and onreset. Event Bubbling. More DHTML Events.



15. Dynamic HTML: Filters and Transitions.

Introduction. Flip filters: flipv and fliph. Transparency with the chroma Filter. Creating Image masks. Miscellaneous Image filters: invert, gray and xray. Adding shadows to Text. Creating Gradients with alpha. Making Text glow. Creating Motion with blur. Using the wave Filter. Advanced Filters: dropShadow and light. Transitions I: Filter blendTrans. Transitions 11: Filter revealTrans.



16. Dynamic HTML: Data Binding with Tabular Data Control.

Introduction. Simple Data Binding. Moving a Recordset. Binding to an img. Binding to a table. Sorting table Data. Advanced Sorting and Filtering. Data Binding Elements. Internet and World Wide Web Resources.



17. Dynamic HTML: Structured Graphics ActiveX Control.

Introduction. Shape Primitives. Moving Shapes with Translate. Rotation. Mouse Events and External Source Files. Scaling. Internet and World Wide Web Resources.



18. Dynamic HTML: Path, Sequencer and Sprite ActiveX Controls.

Introduction. DirectAnimation Path Control. Multiple Path Controls. Time Markers for Path Control. DirectAnimation Sequencer Control. DirectAnimation Sprite Control. Animated GIFs. Internet and World Wide Web Resources.



19. Macromedia® Flash™: Building Interactive Animations.

Introduction. Flash TM Movie Development. Learning Flash with Hands-on Examples. Creating a Projector (.exe) File With Publish. Manually Embedding a Flash Movie in a Web Page. Creating Special Effects with Flash. Creating a Web-Site Introduction. ActionScript. Internet and World Wide Web Resources.



20. Extensible Markup Language (XML).

Introduction. Structuring Data. XML Namespaces. Document Type Definitions (DTDs) and Schemas. XML Vocabularies. Document Object Model (DOM). DOM Methods. Simple API for XML (SAX). Extensible Stylesheet Language (XSL). Microsoft BizTalk Simple Object Access Protocol (SOAP). Internet and World Wide Web Resources.



21. Web Servers (IIS, PWS and Apache).

Introduction. HTTP Request Types. System Architecture. Client-Side Scripting versus Server-Side Scripting. Accessing Web Servers. Microsoft Internet Information Services (IIS). Microsoft Personal Web Server (PWS). Apache Web Server. Requesting Documents. Internet and World Wide Web Resources.



22. Database: SQL, MySQL, DBI and ADO.

Introduction. Relational Database Model. Relational Database Overview. Structured Query Language. MySQL. Introduction to DBI. ActiveX Data Objects (ADO). Internet and World Wide Web Resources.



23. Wireless Internet and m-Business.

Introduction. M-Business. Identifying User Location. Wireless Marketing, Advertising and Promotions. Wireless Payment Options. Privacy and the Wireless Internet. International Wireless Communications. Wireless-Communications Technologies. WAP and WML. Phone Simulator and Setup Instructions. Creating WML Documents. WMLScript Programming. String Object Methods. Wireless Protocols, Platforms and Programming Languages. Internet and World Wide Web Resources.



24. VBScript.

Introduction. Operators. Data Types and Control Structures. VBScript Functions. VBScript Example Programs. Arrays. String Manipulation. Classes and Objects. Operator Precedence Chart. Internet and World Wide Web Resources.



25. Active Server Pages (ASP).

Introduction. How Active Server Pages Work. Setup. Active Server Page Objects. Simple ASP Examples. File System Objects. Session Tracking and Cookies. Accessing a Database from an Active Server Page. Server-Side ActiveX Components. Internet and World Wide Web Resources.



26. Case Study: Active Server Pages and XML.

Introduction. Setup and Message Forum Documents. Forum Navigation. Adding Forums. Forum XML Documents. Posting Messages. Other Documents. Internet and World Wide Web Resources.



27. Perl and CGI (Common Gateway Interface).

Introduction. Perl. String Processing and Regular Expressions. Viewing Client/Server Environment Variables. Form Processing and Business Logic. Server-Side Includes. Verifying a Username and Password. Using DBI to Connect to a Database. Cookies and Perl. Operator Precedence Chart. Internet and World Wide Web Resources.



28. Python.

Introduction. Basic Data Types, Control Structures and Functions. Tuples, Lists and Dictionaries. String Processing and Regular Expressions. Exception Handling. Introduction to CGI Programming. Form Processing and Business Logic. Cookies. Database Application Programming Interface (DB-API). Operator Precedence Chart. Internet and World Wide Web Resources.



29. PHP.

Introduction. PHP. String Processing and Regular Expressions. Viewing Client/Server Environment Variables. Form Processing and Business Logic. Verifying a Username and Password. Connecting to a Database. Cookies. Operator Precedence. Internet and World Wide Web Resources.



30. Servlets: Bonus for Java™ Developers.

Introduction. Servlet Overview and Architecture. Handling HTTP get Requests. Handling HTTP get Requests Containing Data. Handling HTTP post Requests. Redirecting Requests to Other Resources. Session Tracking. Multi-tier Applications: Using JDBC from a Servlet. HttpUtils Class. Internet and World Wide Web Resources.



31. JavaServer Pages: Bonus for Java™ Developers.

Introduction. JavaServer Pages Overview. A First JavaServer Page Example. Implicit Objects. Scripting. Standard Actions. Directives. Custom Tag Libraries. World Wide Web Resources.



32. e-Business and e-Commerce.

Introduction. E-Business Models. Building an e-Business. e-Marketing. Online Payments. Security. Legal Issues. XML and e-Commerce. Internet and World Wide Web Resources.



33. Multimedia: Audio, Video, Speech Synthesis and Recognition.

Introduction. Audio and Video. Adding Background Sounds with the bgsound Element. Adding Video with the img Element's dynsrc Property. Adding Audio or Video with the embed Element. Using the Windows Media Player ActiveX Control. Microsoft Agent Control. RealPlayerTM Plug-in. Synchronized Multimedia Integration Language (SMIL). Scalable Vector Graphics (SVG). Internet and World Wide Web Resources.



34. Accessibility.

Introduction. Web Accessibility. Web Accessibility Initiative. Providing Alternatives for Images. Maximizing Readability by Focusing on Structure. Accessibility in XHTML Tables. Accessibility in XHTML Frames. Accessibility in XML. Using Voice Synthesis and Recognition with VoiceXML. CallXML. JAWS for Windows. Other Accessibility Tools. Accessibility in Microsoft Windows 2000. Internet and World Wide Web Resources.



Appendix A. XHTML Special Characters.


Appendix B. Operator Precedence Chart.


Appendix C. ASCII Character Set.


Appendix D. Number Systems.

Introduction. Abbreviating Binary Numbers as Octal Numbers and Hexadecimal Numbers. Converting Octal Numbers and Hexadecimal Numbers to Binary Numbers. Converting from Binary, Octal, or Hexadecimal to Decimal. Converting from Decimal to Binary, Octal, or Hexadecimal. Negative Binary Numbers: Two's Complement Notation.



Appendix E. XHTML Colors.


Appendix F. Career Opportunities.

Introduction. Resources for the Job Seeker. Online Opportunities for Employers. Recruiting Services. Career Sites. Internet and World Wide Web Resources.



Appendix G. Unicode®.

Introduction. Unicode Transformation Formats. Characters and Glyphs. Advantages/Disadvantages of Unicode. Unicode Consortium's Web Site. Using Unicode. Character Ranges.



Bibliography.


Index.

  • 9780131752429
    Internet & World Wide Web: How to Program, 4/E
    Deitel
    ©2008 | Prentice Hall | Paper; 1424 pp | Instock
    ISBN-10: 0131752421 | ISBN-13: 9780131752429
    Brief Description

Dr. Harvey M. Deitel, CEO of Deitel & Associates, Inc., has 40 years in the computing field including extensive industry and academic experience. He is one of the world's leading computer science instructors and seminar presenters. Dr. Deitel earned B.S. and M.S. degrees from the Massachusetts Institute of Technology and a Ph.D. from Boston University. He has 20 years of college teaching experience including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc. with his son Paul J. Deitel. He is author or co-author of several dozen books and multimedia packages and is currently writing many more. With translations published in Japanese, Russian, Spanish, Traditional Chinese, Simplified Chinese, Korean, French, Polish, Italian and Portuguese, Dr. Deitel's texts have earned international recognition. Dr. Deitel has delivered professional seminars internationally to major corporations, government organizations and various branches of the military.

Paul J. Deitel, Executive Vice President of Deitel & Associates, Inc., is a graduate of the Massachusetts Institute of Technology's Sloan School of Management where he studied Information Technology. Through Deitel & Associates, Inc. he has delivered Internet and World Wide Web courses and programming language classes for industry clients including Compaq, Sun Microsystems, White Sands Missile Range, Rogue Wave Software, Stratus, Fidelity, Cambridge Technology Partners, Lucent Technologies, Adra Systems, Entergy, CableData Systems, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, IBM and many other organizations. He has lectured on for the Boston Chapter of the Association for Computing Machinery, and has taught satellite-based courses through a cooperative venture of Deitel & Associates, Inc., Prentice Hall and the Technology Education Network. He and his father, Dr. Harvey M. Deitel, are the world's best-selling Computer Science textbook authors.

Tem R. Nieto is a graduate of the Massachusetts Institute of Technology where he studied engineering and computing. Through Deitel & Associates, Inc. he has delivered courses for industry clients including Sun Microsystems, Compaq, EMC, Stratus, Fidelity, Art Technology, Progress Software, Toys "R" Us, Operational Support Facility of the National Oceanographic and Atmospheric Administration, Jet Propulsion Laboratory, Nynex, Motorola, Federal Reserve Bank of Chicago, Banyan, Schlumberger, University of Notre Dame, NASA, various military installations and many others. He has co-authored several books and multimedia packages with the Deitels and has contributed to virtually every Deitel & Associates, Inc. publication.

The authoritative DEITEL LIVE-CODE introduction to Internet & World Wide Web programming

The Internet and World Wide Web have revolutionized software development with multimediaintensive, platform-independent code for conventional Internet-, Intranet- and Extranet-based applications. This college-level textbook carefully explains how to program multitiered, client/server, database-intensive, Web-based applications.

Dr. Harvey M. Deitel and Paul J. Deitel are the founders of Deitel & Associates, Inc., the internationally recognized corporate training and content-creation organization specializing in Java, C++, C, Visual C#, Visual Basic®, Visual C++®, .NET, XML, Python, Perl, Internet, Web and object technologies. The Deitels are also the authors of the world's #1 Java and C++ textbooks—Java How to Program, 4/e and C++ How to Program, 3/e—and many other best sellers. In Internet & World Wide Web How to Program, 2/e, the Deitels and their colleague, Tem R. Nieto, discuss key topics, including:

  • XHTML/CSS/Dynamic HTML
  • Multitier Client/Server Applications
  • Internet Explorer® 5.5/Netscape® 6
  • Apache/IIS/PWS
  • JavaScript/VB Script®
  • DOM/DHTML Objects & Events
  • Filters/Transitions/ActiveX®
  • Flash/Animation/ActionScript
  • e-Commerce/Security
  • Wireless Web/WML/WMLScript
  • ASP/JSP/Servlets/Perl/CGI/Python/PHP
  • Web-Page Authoring/Photoshop® Elements
  • Data Binding/SQL/MySQL/DBI/ADO
  • XML/XSL/SVG/SMIL/Voice XML
  • Multimedia/Audio/Video/Accessibility
  • Speech Synthesis/Recognition/MS Agent

Internet & World Wide Web How to Program, 2/e includes extensive pedagogic features:

  • Hundreds of LIVE-CODE programs with screen captures that show exact outputs
  • Extensive World Wide Web and Internet resources to encourage further research
  • Hundreds of tips, recommended practices and cautions—all marked with icons

Internet & World Wide Web How to Program, 2/e is the centerpiece of a family of resources for teaching and learning Internet and Web programming, including Web sites (www.deitel.com and www.prenhall.com/deitel with the book's code examples (also on the enclosed CD) and other information for faculty, students and professionals; an optional interactive CD (Internet & World Wide Web Programming Multimedia Cyber Classroom, 2/e) containing hyperlinks, audio walkthroughs of the code examples, solutions to about half the book's exercises; and e-mail access to the authors at deitel@deitel.com

For information on worldwide corporate on-site seminars and Web-based training offered by Deitel & Associates, Inc., visit: www.deitel.com

For information on current and forthcoming Deitel/Prentice Hall publications including How to Program Series books, Multimedia Cyber Classrooms, Complete Training Courses (which include Deitel books and Cyber Classrooms) and Web-Based Training Courses please see the last few pages of this book.

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.