Web Programming Unleashed
Click Here to Visit our Sponsor
Web
Programming
Unleashed
Bob Breedlove, et al.
Chapter 1 An Overview of Internet Programming
- A Short History of the Internet
- The TCP/IP Protocol Model
- LAN Topologies
- Internetworking-Linking LANs Together
- IP Addresses and Domain Names
- The Client/Server Model
- Sockets and Socket APIs
- Applications, Plug-Ins, and Applets
- Summary
Chapter 2 WWW Design Issues
- You Don't Own the Resources
- You Don't Make the Rules
- Designing Your Application
- The Internet Can Be Unreliable and Can Change Without Notice
- Security
- International Considerations
- Summary
Chapter 3 Security and Encryption
Chapter 4 Developing Intranet Applications
- The Purpose of Intranet Applications
- You Own the Resources-Or Do You?
- The Growth of Intranets
- Application Scope
- Capacity Planning
- Leveraging Existing Resources
- Security
- Dealing with Corporate Control Organizations
- Accessing Mainframe Data
- Intranet Style Guide
- Summary
Chapter 5 Java and the Internet
- Java History
- Java's Place in the Object-Oriented Continuum
- Defining Java
- The Benefits of Java
- The Negatives of Java
- Summary
Chapter 6 Java Development Environments
- Java Development Environments
- The Java Developer's Kit (JDK)
- Symantec Café
- The Borland Internet Products
- The Java Workshop
- Summary
Chapter 7 Introduction to Java
- Classes, Methods, Inheritance, and Method Overriding-The Discussion
- Classes, Methods, Inheritance, and Method Overriding-The Workshop
- Method Overloading-The Discussion
- Method Overloading-The Workshop
- Interfaces-The Discussion
- Interfaces-The Workshop
- Introduction to Java Structure
- Primitive Data Types
- Casting
- Operators
- Control Flow
- Arrays-The Discussion
- Arrays-The Workshop
- Summary
Chapter 8 Java Programming
- Java Applets
- appletviewer
- Applets (java.applet.Applet)
- Animation
- UI and Java
- The UI and Java Workshop, Win Version 1.0
- Summary
Chapter 9 Visual J++: Tools for the Internet and the Desktop
- Introduction To Visual J++
- Microsoft's Component Object Model (COM) and ActiveX
- Comparing Java and COM
- Advantages and Disadvantages: A Close Look at Java and ActiveX
- Summary
Chapter 10 Extending Java Using ActiveX
- The ActiveX Advantages
- The Flip Side: ActiveX's Disadvantages
- What Does This Mean for the Web Developer?
- Combining Java and COM Using Visual J++
- Summary
Chapter 11 Perl and the Internet
- What Is CGI and What Can It Do?
- What Are the Benefits of Using CGI?
- What Are the Negatives of Using CGI?
- The Protocols
Chapter 12 CGI and the Internet
Chapter 13 Using CGI in Internet Applications
- What Is Perl?
- What Are the Benefits of Using Perl?
- What Are the Negatives of Using Perl?
- What Can Perl Do?
- Is Perl for You?
Chapter 14 The Perl Language
- About the Perl Chapters
- Writing Perl Scripts
- Perl Data Types
- Perl Variable Naming Conventions
- Scalar Values
- Predefined Variables
- Perl Syntax
- Declarations
- Perl Operators
- Perl Built-In Functions
- Perl Regular Expressions
- Perl Subroutines
- What's Next?
- Summary
Chapter 15 Perl in Internet Applications
- A CGI Shell
- Programming the GO Application
- postlink.pl: The Index Posting Program
- Utility Programs
- Summary
Chapter 16 Microsoft Implementation Approach
- Communications Technology Background
- Overview of Windows Communications
- Internet Security Through Code Signing
- Summary
Chapter 17 Using the Win32 Internet (WinInet) API
Chapter 18 JavaScript and the Internet
Chapter 19 The JavaScript Language
- Embedding JavaScript in HTML
- Variables and Literals
- Expressions and Operators
- Control Statements and Functions
- Fundamentals of Objects
- Built-In Objects and Functions
- Netscape Objects
- The Form Object
- Windows and Frames
- Summary
Chapter 20 JavaScript in Internet Applications
Chapter 21 VBScript and the Internet
- What Is VBScript?
- What Can VBScript Do?
- Learning VBScript
- Security and VBScript
- VBScript Versus Visual Basic and Visual Basic for Applications
- How VBScript Enhances Browsers and HTML
- Host Environments
- Placing VBScript Code Within an HTML Document
- Summary
Chapter 22 The VBScript Language
- All About Variables
- Using Operators
- Intrinsic Functions
- The MsgBox Function
- Input Boxes
- Controlling the Flow of Code
- Building a Home for Your Code
- Passing Arguments into Procedures
- Where To Put Procedures
- Intrinsic HTML Form Controls
- The Button Control
- Summary
Chapter 23 VBScript Application Pages
- Metric Conversion Application
- Interactive Tutorial Application
- Pace-Pal Application
- Information Submittal Application
- Browser Objects
- Summary
Chapter 24 CGI Scripting with the UNIX Shell
- How CGI Scripts Work, a Redux
- Local Time and Who's Logged In
- The Environment Wrapped Up in the CGI Transmission
- Pages Based on Browser Software
- Checking the Host Domain
- How Fast Is Your Connection?
- Remote ping
- A Form Front End
- Another Example: finger
- Another Script Trick: Redirection
- Summary
Chapter 25 HyperText Markup Language (HTML)
- Body and Text Commands
- Basic Paragraph Text Tags
- Text Styles
- Color Values
- Hyperlinks
- Images
- HTML Interactions and Enhancements
- Tables
- Multimedia: Audio, Video, Applications
- Frames
- Summary
Chapter 26 SGML
- The Problem
- The Solution
- Standards
- Portability
- Form and Structure
- Authoring Systems
- Instance Components
- Advantages of Structured Markup
- Document Type Declaration
- Coming Together-The SGML Authoring System
- The Future of SGML
Chapter 27 Netscape Extensions
- Trouble in Paradise
- Structuring Netscape HTML
- The <HEAD> Element
- The <BODY> Element
- Formatting, Paragraphing, and Other Wonders
- Text Gone Haywire
- You've Been Enlisted
- Rulers of the Web
- Images and Imagination
- Image Sizing
- Border Patrol and Lebensraum
- Image Mapping Made Easy
- Tables and Their Possibilities
- You've Been Framed
- Aiming for a Window
- JavaScript and Java
- Miscellaneous
- Summary
Chapter 28 Microsoft Internet Explorer-Only HTML Tags
- The <BODY> of the Page
- Paragraph and Text Style Tags
- Color Values
- Tables
- Multimedia: Audio, Video, Applications
- Frames and Floating Frames
- Summary
Chapter 29 Shockwave and Lingo
- What Is Shockwave?
- System Requirements
- Adding a Shocked Movie to an HTML Document
- Broken Icons
- Multiple Movies
- Looping
- Asynchronous Operations
- Director Commands Disabled for Shockwave
- Director Bandwidth Issues
- Shockwave for Authorware
- Editing Map Files
- Speeding Up Mac and Cross-Platform Files
- Authorware Bandwidth Issues
- New Shockwave-Specific Functions and Variables
- System Security
- Integrating Authorware into Browsers
- Displaying an Alternate Image on Noncompatible Browsers
- Shockwave for Freehand
- Activating a Link in Netscape
- The URL Xtra
- Afterburner for Freehand
- Configuring Servers
- Summary
Chapter 30 Creating an ActiveX Control To Activate a Web Page
- Overview of ActiveX Controls
- A Sample ActiveX Control: JIGGLER.OCX
- Adding Functionality to the Skeleton
- Testing the Control in the OLE Control Test Container
- Using the New Control on a Sample Web Page
- Summary
Chapter 31 VDOlive Technology
- Finding Out How VDOlive Works
- Installing a VDOlive Player
- Installing a VDOlive Server
- Creating Video Clips
- Linking Video on WWW Pages
- Watching Video Clips Over the Internet
- Resources
Chapter 32 Creating Netscape Navigator Plug-Ins
- Plug-In Design and Architecture
- Navigator Plug-In Design Considerations
- Navigator Version Compatibility
- The Plug-In API
- Summary
Chapter 33 Pulling Web Information
- What Do You Call "It?"
- Evolving Capabilities
- The PointCast Network (PCN)
- Freeloader, Inc.
- Zippo
- My Yahoo!
- Instant Online News (ION) for 95
- Another Ticker Tape?
- Personal Excite
- Personal NewsPage Direct from Netcom
- The Rest of Them
- MSNBC Personal News Page
- c|net: The Community Network
- Infoseek Personal
- Intel
- ZD Net Personal View
- Timecast and RealAudio Player Plus
- Our Friends from Yesterday-Usenet's Beginnings
- Where Are We Headed Next?
Chapter 34 International Considerations
- Marketing Today
- Marketing Changes
- International Concerns
- Preparing a Multilingual Document
- Key Components: Translation and Promotion
- Beyond Web Translating: Promoting Your Site
- Summary
Chapter 35 Creating a Custom, Integrated Application with Multiple Protocols
- A Multi-Protocol Application
- WebPOP
- Entities
- Protocols Used
- Mail Functions
- WebPOP Functioning
- Getting Data from the User
- Using Hidden Form Fields To Pass Arguments
- Sending Results Back to the Browser
- Dealing with the Protocols
- Installing the CGI Script
- Performance
- Ideas for Improvements
- The Complete Listing
- Summary
Chapter 36 RealAudio
- How Do They Do That?
- System Requirements
- RealAudio Player's Advanced New Features
- Where To Find Hot Audio Content
- RealAudio Encoder
- The Making of a Good RealAudio Sound File
- RealAudio Server
- Creating a Hot RealAudio Web Site
- Summary: RealAudio Only?
Credits
Web Programming Unleashed
Copyright © 1996 by Sams.net Publishing
FIRST EDITION
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. For information, address Sams.net Publishing, 201 W. 103rd St., Indianapolis, IN 46290.
International Standard Book Number: 1-57521-117-3
HTML conversion by :
M/s. LeafWriters (India) Pvt. Ltd.
Website : http://leaf.stpn.soft.net
e-mail : leafwriters@leaf.stpn.soft.net
President, Sams Publishing: | Richard K. Swadley |
Publishing Team Leader: | Greg Wiegand |
Managing Editor: | Cindy Morrow |
Director of Marketing: | John Pierce |
Assistant Marketing Managers: | Kristina Perry, Rachel Wolfe |
Acquisitions Editor | Sharon Cox | Development Editor | Anthony Amico |
Software Development Specialist | Brad Myers | Production Editors | Tonya Simpson, Ryan Rader |
Copy Editors | Miriam Bishop, Robin Drake, Kris Simmons, Robert Temple, June Waldman | Indexers | Johnna VanHoose, Christine Nelsen, Benjamin Slen |
Technical Reviewers | Angela Allen, Kyle Amon, Sue Charlesworth, Raj Mangal, Jay Myers, Dennis Teague | Editorial Coordinator | Bill Whitmer |
Technical Edit Coordinator | Lynette Quinn | Resource Coordinator | Deborah Frisby |
Editorial Assistants | Carol Ackerman, Andi Richter, Rhonda Tinch-Mize | Cover Designer | Tim Amrhein |
Book Designer | Gary Adair | Copy Writer | Peter Fuller |
Production Team Supervisor | Brad Chinn | Production | Betsy Deeter, Jennifer Dierdorff, Mike Henry, Brad Lenser, Janet Seib, Ian Smith |
About the Authors
Robert F. Breedlove
Robert Breedlove is a senior systems engineer with EDS. He has over 20 years of experience in data processing, including extensive client/server, UNIX, intranet, and Internet experience. He can be reached at
breedlov@netcom.com
or at his home page
http://www.channel1.com/users/rbreed01/
William F. (Bill) Anderson
Upon graduation from the University of Idaho in 1968, Bill Anderson joined the U.S. Air Force as a communications officer and worked on several computer networking projects including AUTODIN. After leaving the service, he worked on several online banking systems and online railroad systems. In 1979, he started working with UNIX and in 1983, he joined Destek to write its Ethernet driver. This marked the beginning of a career in TCP/IP networking and the Internet, including a stint as the Technical Manager for NetMedia in Israel. In 1995, Bill Anderson returned to the United States and now teaches courses on networking, client/server, HTML, Java, network security, and system administration. He is the author of Source File Management with SCCS (Prentice Hall, 1992) and Building UNIX System V Software (Prentice Hall, 1994).
Billy Barron
Billy Barron just started a new job as a Senior Software Engineer programming mostly in Java at the Bruton Center for the University of Texas at Dallas. Previously, he worked for almost 10 years as a systems/Internet adminstrator and has an MS in Computer Science from the University of North Texas. He has co-authored and tech edited numerous books, including Netscape 3 Unleashed, Creating Web Applets with Java, and Tricks of the Java Programming Gurus. You can reach Billy at
billy@metronet.com
or
http://www.utdallas.edu/~billy
Mark Bishop
Mark Bishop writes from Southern California and specializes in setting up new companies on the Internet. He's the author of The Internet Times, a weekly online publication, and other various Internet articles. He can be reached at
mark.bishop@pobox.com
or visit his home page at
http://home1.gte.net/showcase/index.htm
Keith Brophy
Keith Brophy has many years of experience in the design, development, and testing of software systems. He is currently a software release coordinator for X-Rite, Incorporated, a leading worldwide provider of color and appearance quality control software and instrumentation in Grandville, Michigan. Before that, he was a lead software developer for IBM's System Integration and Federal Systems divisions in the Washington, D.C. area and worked on a wide variety of systems. His experience includes building Internet systems in the "pre-Web" era. During this time, he also was responsible for various operating systems, performance, and graphical user interface research and development projects. He has taught in various venues, including Northern Virginia Community College and as the advanced Visual Basic adjunct faculty member at Grand Rapids Community College.
Mr. Brophy, along with Mr. Koets, co-authored Visual Basic 4 Performance Tuning and Optimization (Sams 1996) and was a contributing author for Visual Basic 4.0 Unleashed (Sams 1995). He also served as technical editor on Real-World Programming with Visual Basic (Sams 1995) and the revised edition of Teach Yourself Visual Basic 4 in 21 Days (Sams 1995). He has a B.S. in computer science from the University of Michigan in Ann Arbor and an M.S. in information systems from Strayer College in Washington, D.C. Mr. Brophy is the founder of DoubleBlaze Software Consortium (www.DoubleBlaze.com), an ActiveX Internet research and development company involved in endeavors such as research for this book.
António Miguel Ferreira
António Miguel Ferreira is one of the founders and the Web expert of Esoterica S.A., an Internet Service Provider in Portugal. He graduated in Computer Science and Engineering in INSA Lyon, France. He has developed financial-analysis software and currently manages several corporate Web sites for different kinds of clients based on different hardware and software platforms. He has authored technical articles in several magazines, and his other books include CGI Programming Unleashed (Sams.net) and Searching for Gold in The Internet. For additional information, contact him via e-mail at
amcf@esoterica.pt
or at his home page
http://homepage.esoterica.pt/~amcf/
Edward Hooban
Edward Hooban is a programmer with enterWorks.com, a company that provides software for intranets, including Virtual DB, NetSeer, and NetFlow. Mr. Hoooban has been involved with the electronic publishing field for over four years. He has worked as a programmer or analyst for companies such as Ernst & Young LLP, MCI, Jet Propulsion Labs, and Thomson Technology. He loves to write business plans in his spare time.
Daniel I. Joshi
Daniel I. Joshi is the managing partner of a Microsoft Solution Provider consulting company, The Joshi Group, which provides consulting services to Fortune 500 companies in the Los Angeles, California area. Before becoming a full-time author, his corporate consulting background included work for Fortune 500 companies. As a published technical author he is a contributor to Java Developer's Reference (ISBN: 1-57521-129-7), and the leading author of Teach Yourself Café in 21 Days (ISBN: 1-57521-157-2) both with Sams Publishing.
Timothy Koets
Timothy Koets is a software engineer at X-Rite, Incorporated, a leading worldwide provider of color and appearance quality control software and instrumentation in Grandville, Michigan. Before this, Mr. Koets was a computer systems engineer in the Systems Engineering and Integration division of Martin Marietta in the Washington, D.C., area. In addition to developing Visual Basic applications, Mr. Koets has experience in many other areas including Visual C++, computer networking, client/server applications design, parallel processing and performance analysis. He, too, has previous experience building pre-Web systems that were Internet aware. Mr. Koets is an adjunct faculty member at Grand Rapids Community college, where he teaches advanced Visual Basic, and has prior teaching experience ranging from computer programming and engineering laboratory classes to Lotus Notes training courses.
Mr. Koets, along with Mr. Brophy, co-authored Visual Basic 4 Performance Tuning and Optimization (Sams 1996) and was a contributing author for Visual Basic 4.0 Unleashed (Sams 1995). He has a B.S. and an M.S. in electrical engineering from Michigan Technological University in Houghton, Michigan. Mr. Koets is the founder of Cockatiel Software, an Internet research and development company that is an affiliate of DoubleBlaze Software Consortium (www.DoubleBlaze.com).
Bryan Morgan
Bryan Morgan is a software engineer with TASC, Inc. in Fort Walton Beach, Florida. He holds a Bachelor's degree in electrical engineering from Clemson University and has also authored material for several other books by Sams.net, including Java Developer's Reference. Bryan and his wife, Becky, are anxiously awaiting the arrival of their first child in November, 1996.
Rob McGregor
Fascinated by computers since he can remember, Rob McGregor began exploring computer programming in BASIC as a teenager in 1978. Since then, Rob has worked as a programmer, software consultant, and 3D computer artist, and he has written a variety of programs for Microsoft and numerous other companies. In 1992 he founded Screaming Tiki Interactive, a software development company that specializes in interactive graphics and multimedia applications for Microsoft Windows. Rob lives in Rockledge, Florida, and in his free time enjoys ray tracing, reading, writing, and playing classical and electric guitar. You can contact Rob via e-mail at
rob_mcgregor@compuserve.com
Zan Oliphant
Zan Oliphant is part of a rebel group of software consultants in south Florida who specialize in Internet applications and multimedia device drivers. He has 10 years of experience in writing device drivers and applications for Windows, DOS, OS/2, Macintosh, and UNIX. Zan and his fellow PC programming cronies (left over from IBM's personal computer glory days in the Boca Raton, Florida, area) are always looking for interesting opportunities. Contact Zan at zan@gate.net if you have a cool project for them.
Stig Erik Sando
Stig Erik Sando studies Algorithm Analysis and Software Development at the University of Bergen, Norway. He is currently working on a multi-platform research tool for art history and a full software development system, both fully available on the Web. He spends much of his spare time experimenting with the Web, and the result is a full-fledged virtual fantasy Web site run by a large number of experimental programs to provide a truly exceptional experience. You can contact Stig at
<stig@ii.uib.no>
Dave Taylor
Dave Taylor is president of the interface design firm Intuitive Systems (http://www.intuitive.com) and has been exploring UNIX and the Internet for 16 years. His online electronic mailbox is
taylor@intuitive.com
Rick Tracewell
Rick Tracewell, author of A Web Author's Handbook (Peachpit Press), is a columnist ("Real World Internet") and a contributor to magazines such as MacWEEK. He owns and operates TNT Media, an Internet and Intranet design and marketing firm. He has over 10 years experience as a marketing/advertising consultant and has been designing and marketing World Wide Web pages since early 1994. Rick, his wife Donna, and their two children, Kelsey and Nico, live in beautiful Scotts Valley, California.
Richard Wainess
Richard Wainess is a multimedia consultant and owner of Digital Visionaries, a new media company specializing in Web site design, multimedia, video production, and 3D animation. With almost two decades of experience in the evolving media arena, his clients have included corporations in air transportation, insurance, medicine, entertainment, and aerospace. He has written and produced instructional video media, training pamphlets, and numerous articles on media design. As an Authorized Macromedia Developer, he currently teaches multimedia authoring at InfoDirect (an authorized Macromedia Training Center). Richard holds a Bachelor of Arts degree in Media Management from the Radio-Television-Film department at California State University, Northridge.
Tell Us What You Think!
As a reader, you are the most important critic and commentator of our books. We value your opinion and want to know what we're doing right, what we could do better, what areas you'd like to see us publish in, and any other words of wisdom you're willing to pass our way. You can help us make strong books that meet your needs and give you the computer guidance you require.
Do you have access to CompuServe or the World Wide Web? Then check out our CompuServe forum by typing GO SAMS at any prompt. If you prefer the World Wide Web, check out our site at http://www.mcp.com.
NOTE |
If you have a technical question about this book, call the technical support line at (800) 571-5840, ext. 3668. |
As the team leader of the group that created this book, I welcome your comments. You can fax, e-mail, or write me directly to let me know what you did or didn't like about this book-as well as what we can do to make our books stronger. Here's the information:
FAX: | 317/581-4669 |
E-mail: | programming_mgr@sams.mcp.com |
Mail: | Greg Wiegand Comments Department Sams Publishing 201 W. 103rd Street Indianapolis, IN 46290 |
Comments
Post a Comment