Students learn how to implement the dominant e-business and e-commerce models by using the markup languages, scripting languages, database, security and online-payment technologies explained in the text. Ex.___
Enables students to make good decisions about starting an e-business. Ex.___
Ensures students receive the most up-to-date content. Ex.___
Students learn the advantages of e-commerce businesses compared to traditional brick and mortar stores. Ex.___
Teaches about topics such as intellectual property issues, privacy issues, Internet taxation, and how e-business is changing many aspects of the world in which we live. Ex.___
Students have plenty of opportunities to hone their skills by completing these activities, many requiring extensive Web research and some involving teamwork. Ex.___
Provides students with many diverse examples. Ex.___
Contains source code, web links to valuable demos and resources, and the following software: Microsoft® Internet Explorer 5; Microsoft® Agent 2.0, CUESoft EXml Editor, ActiveState ActivePerl 5.6, and Megalux Ultimate Paint v1.9 Freeware. Ex.___
Program listings now include syntax coloring of key code, helping students interpret the code they examine. Ex.___
Enables readers to confirm that programs run as expected. Readers 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). Ex.___
Provides hundreds of valuable programming tips and facilitates learning. Ex.___
Includes many hours of detailed, expert audio descriptions of “live code;” hundreds of self-review questions (half with answers); hundreds of programming exercises (half with answers); 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.___
The authoritative introduction to e-Business and e-Commerce programming.
This new book by the world's leading programming language textbook authors carefully explains how to program multi-tiered, client/server, database-intensive, Web-based, e-Business and e-Commerce applications.
Dr. Harvey M. Deitel and Paul J. Deitel are the principals of Deitel & Associates, Inc.. the internationally-recognized corporate training and content-creation organization specializing in C++, Java, C, Visual Basic®, XML, Python, Perl, Internet, World Wide Web and object technologies. The Deitels are also the authors of the world's #1 Java and C++ textbooks, Java How to Program, 3/e and C++ How to Program, 3/e.
In e-Business & e-Commerce How to Program, the Deitels and their colleague, Tem R. Nieto, discuss topics you need to build complete, working e-Businesses including:
e Business & e-Commerce How to Program includes extensive pedagogic features:
e-Business & e-Commerce How to Program is the centerpiece of a complete family of resources for teaching and learning how to build real, working e-businesses, including Web sites (www.deitel.com and www.prenhall.com/deitel) with the book's source-code examples and other information for faculty, students and professionals; optional interactive CD-ROM (e-Business & e-Commerce Programming Multimedia Cyber Classroom) containing thousands of hyperlinks and audio walkthroughs of the hundreds of code examples in the book and e-mail access to the authors at firstname.lastname@example.org
For information on worldwide corporate on-site seminars and Web-based training offered by Deitel & Associates, Inc., visit: www.deitel.com
For information on all current and forthcoming Deitel/Prentice Hall publications including How to Program Series books, Multimedia Cyber Classrooms, Complete Training Courses (that include Deitel books and Cyber Classrooms) and Web-Based Training Courses please see the last few pages of this book.
1. Introduction to Computers, the Internet and the Web.
2. Introduction to Internet Explorer 5 and the World Wide Web.
3. e-Business Models.
4. Internet Marketing.
5. Online Monetary Transactions.
6. Legal, Ethical and Social Issues; Internet Taxation.
7. Computer and Network Security.
8. Hardware, Software and Communications.
9. Introduction to HyperText Markup Language 4 (HTML 4).
10. Intermediate HTML 4.
11. Ultimate Paint.
12. Microsoft FrontPage Express.
19. Dynamic HTML: Cascading Style Sheets™ (CSS).
20. Dynamic HTML: Object Model and Collections.
21. Dynamic HTML: Event Model.
22. Dynamic HTML: Filters and Transitions.
23. Dynamic HTML: Data Binding with Tabular Data Control.
24. Dynamic HTML: Client-Side Scripting with VBScript.
25. Active Server Pages (ASP).
26. ASP Case Studies.
27. XML (Extensible Markup Language).
28. Case Study: An Online Bookstore.
29. Perl 5 and CGI (Common Gateway Interface).
30. Dynamic HTML: Structured Graphics ActiveX Control.
31. Dynamic HTML: Path, Sequencer and Sprite ActiveX Controls.
32. Multimedia: Audio, Video, Speech Synthesis and Recognition.
33. Macromedia® Flash™ 4: Building Interactive Animations.
Appendix A: HTML Special Characters.
Appendix B: HTML Colors.
Appendix C: ASCII Character Set.
Appendix D: Operator Precedence Charts.
Live in fragments no longer. Only connect.
Edward Morgan Forster
Welcome to the exciting world of e-business and e-commerce. This book is by an old guy and two young guys. The old guy (HMD; Massachusetts Institute of Technology 1967) has been programming and/or teaching programming for 40 years. The two young guys (PJD; MIT 1991 and TRN; MIT 1992) have each been programming and/or teaching programming for 19 years. The old guy programs and teaches from experience; the young guys do so from an inexhaustible reserve of energy. The old guy wants clarity; the young guys want performance. The old guy seeks elegance and beauty; the young guys want results. We got together to produce a book we hope you will find informative, challenging and entertaining.
E-business and e-commerce are evolving rapidly, if not explosively. This creates tremendous challenges for us as authors, for our publisherPrentice Hall, for instructors, and for students and professional people.
e-Business and e-Commerce How to Program is the seventh book in the Deitel/Prentice Hall How to Program series. It is distinguished by its focus on Web-based application development (emphasized in our server-side treatment) and using it to create effective online businesses.
We have emphasized color throughout the book. The World Wide Web is a colorful, multimedia-intensive medium. It appeals to our visual and audio senses. Someday it may even appeal to our senses of touch, taste and smell as well! We suggested to our publisher, Prentice Hall, that they should publish this book in color. The use of color in this book is crucial to understanding and appreciating scores of the book's programs. From the start, the Web has been a color-intensive medium. We hope it helps you develop more appealing Web-based applications.
Many books about the Web concentrate on developing attractive Web pages. We certainly discuss that subject intensely. But more important, the key focus of this book is really Web-based applications development focused on building e-businesses. Our audiences want to build real-world, industrial-strength, Web-based e-businesses. These audiences care about good looking Web pages. But they also care about client/server systems, databases, distributed computing, etc. In the world of business, success depends on both marketing and reliability.
Many books about the Web are reference manuals with exhaustive listings of features. That is not our style. We concentrate on creating real applications. We provide the live-code examples on the CD accompanying this book so that you can run the applications and see and hear for yourself the multimedia outputs. One of the most exciting features of this text is an introduction to Macromedia's Flasha cutting-edge multimedia technology for developing Web-based applications. It allows the user to develop interactive animated movies at a fraction of the size of traditional media file types. A Flash movie can be embedded into a Web site or run as a stand-alone program. You will learn how to make Flash movies with sound and interactive features that can be incorporated into your e-business Web sites.
The Web is an artist's paradise. Your creativity is your only limitation, but the Web contains so many tools and mechanisms to leverage your abilities that even if you are not artistically inclined, you can still create stunning outputs. Our goal is to help you master these tools and mechanisms so that you can maximize your creativity and development capabilities.
We are excited about the enormous range of possibilities the Internet and the Web offer. We performed extensive research for this book and located hundreds of Internet and Web resources (which we provide as live links on the CD-ROM that accompanies this book) to help you learn about building e-businesses. These links include general information, tutorials and demonstrations. Many of the demos are fun to try such as the E*TRADE investing game in which you can win cash prizes for participating in the demo. The resources also point you to lots of free stuff on the Internet.
This book is appropriate for students and professional people who wish to start their own ebusinesses. Many of the Internet and Web resources we include point you to turnkey solutions (some for a fee and some free) for creating e-businesses. You will also be able to use the programming technologies presented here to create e-businesses yourself (you will also need to connect with a bank and use an industrial-strength database system). Please read the tour of the book in Chapter 1 to familiarize yourself with the technologies we present for building real e-business and e; commerce applications.
We have worked hard to create hundreds of useful live-code examples to help you master Internet and Web programming quickly and effectively. All of the code examples are on the accompanying disk and are available for free download from our Web sites:
We cover in depth Microsoft's Dynamic HTML as a means of adding "dynamic content" to World-Wide-Web pages. Instead of creating Web pages with only text and static graphics, we use Dynamic HTML to make Web pages "come alive" with audios, videos, animations, interactivity and three-dimensional imaging. Dynamic HTML's features are precisely what businesses and organizations need to meet today's information processing requirements.
E-Business and e-Commerce How to Program contains a rich collection of examples, exercises, and projects drawn from many fields to provide the student with a chance to solve interesting real-world problems. The book concentrates on the principles of good software engineering and stresses program clarity. We avoid arcane terminology and syntax specifications in favor of teaching by example. The book is written by educators who spend most of their time writing about, and teaching, edge-of-the-practice programming topics in industry classrooms worldwide for Deitel & Associates, Inc. The text emphasizes good pedagogy.
Live-Code Teaching Approach
The book is loaded with hundreds of live-code examples. This is the focus of the way we teach and write about programming, and the focus of each of our multimedia Cyber Classrooms as well. Each new concept is presented in the context of a complete, working program immediately followed by one or more windows showing the program's input/output dialog. We call this style of teaching and writing our live-code approach. We use programming languages to teach programming languages. Reading these programs is much like entering and running them on a computer.
World Wide Web Access
All of the code for e-Business and e-Commerce How to Program (and our other publications) is on the Internet free for download at the Deitel & Associates, Inc. Web site (www.deitel.com).
Please download all the code then run each program as you read the text. Make changes to the code examples and immediately see the effects of those changes. It's a great way to learn programming. Note: You must respect the fact that this is copyrighted material. Feel free to use it as you study, but you may not republish any portion of it in any form without explicit permission from Prentice Hall and the authors.
Each chapter begins with a statement of Objectives. This tells students what to expect and gives them an opportunity, after reading the chapter, to determine if they have met these objectives. It is a confidence builder and a source of positive reinforcement.
The learning objectives are followed by quotations. Some are humorous, some are philosophical, and some offer interesting insights. Our students enjoy relating the quotations to the chapter material. Many of the quotations are worth a "second look" after you read each chapter.
The chapter Outline helps students approach the material in top-down fashion. This, too, helps students anticipate what is to come and set a comfortable and effective learning pace.
14120 Lines of Code in 258 Example Web Pages (with Program Outputs)
We present features in the context of complete, working Web pages. This is the focus of our teaching and our writing. We call it our "live-code" approach. Each Web document is followed by the outputs produced when the document is rendered in a Web browser (We use Microsoft's Internet Explorer 5) and its scripts are executed. This enables students to confirm that the Web pages are rendered as expected. Reading the book carefully is much like entering and running these programs on a computer. The programs range from just a few lines of code to substantial examples with several hundred lines of code. Students should download all the code for the book from our Web site, and run each program while studying that program in the text. The Web documents are available on the CD accompanying this book and at www.deitel.com.
355 Programming Tips
We have included programming tips to help students focus on important aspects of program development. We highlight hundreds of these tips in the form of Good Programming Practices, Common Programming Errors, Testing and Debugging Tips, Performance Tips, Portability Tips, Software Engineering Observations and Look-and-Feel Observations. These tips and practices represent the best we have gleaned from a total of almost eight decades of programming and teaching experience. One of our studentsa mathematics majortold us that she feels this approach is like the highlighting of axioms, theorems and corollaries in mathematics books; it provides a foundation on which to build good software.
Summary (1420 Summary bullets)
Each chapter ends with additional pedagogical devices. We present a thorough, bullet-list-style Summary of the chapter. On average, there are 42 summary bullets per chapter. This helps the students review and reinforce key concepts.
Terminology (2751 Terms)
We include in a Terminology section an alphabetized list of the important terms defined in the chapteragain, further reinforcement. On average, there are 81 terms per chapter.
607 Self-Review Exercises and Answers (Count Includes Separate Parts)
Extensive self-review exercises and answers are included for self-study. This gives the student a chance to build confidence with the material and prepare for the regular exercises. Students should attempt all the self-review exercises and check their answers.
658 Exercises (Solutions in Instructor's Manual; Count Includes Separate Parts)
Each chapter concludes with a substantial set of exercises including simple recall of important terminology and concepts; writing individual statements; writing small portions of Web pages and scripts; writing complete Web pages and Web-based e-businesses; and writing major term projects. The large number of exercises across a wide variety of areas enables instructors to tailor their courses to the unique needs of their audiences and to vary course assignments each semester. Instructors can use these exercises to form homework assignments, short quizzes and major examinations. The solutions for most of the exercises are included in the Instructor's Manual and on the disks available only to instructors through their Prentice-Hall representatives. NOTE: Please do not write to us requesting the instructor's manual. Distribution of this publication is strictly limited to college professors teaching from the book. Instructors may obtain the solutions manual only from their regular Prentice Hall representatives. We regret that we cannot provide the solutions to professionals. Solutions to approximately half of the exercises are included on the e-Business and e-Commerce Programming Multimedia Cyber Classroom CD (available in bookstores and computer stores; please see the last few pages of this book or visit our Web site at www.deitel.com for ordering instructions).
Approximately 6000 Index Entries (with approximately 8100 Page References)
We have included an extensive Index at the back of the book. This helps the student find any term or concept by keyword. The Index is useful to people reading the book for the first time and is especially useful to practicing programmers who use the book as a reference. The terms in the Terminology sections generally appear in the Index (along with many more index items from each chapter). Students can use the Index in conjunction with the Terminology sections to be sure they have covered the key material of each chapter.
"Double Indexing" of All Live-Code Examples and Exercises
e-Business and e-Commerce How to Program has 258 live-code examples and 658 exercises (including parts). Many of the exercises are challenging problems or projects requiring substantial effort. We have "double indexed" each of the live-code examples and most of the more challenging projects. For every source-code program in the book, we took the figure caption and indexed it both alphabetically and as a subindex item under "Examples." This makes it easier to find examples using particular features. The more substantial exercises are indexed both alphabetically and as subindex items under "Exercises."
An extensive bibliography of books, articles and online documentation is included to encourage further reading.
The CD-ROM at the end of this book contains a variety of software, including Microsoft Internet Explorer 5, Ultimate Paint, the W3C Amaya 3.1 Web browser, AspTear 1.0, Microsoft Agent, CUESoft EXml Editor and Jumbo Browser v0. L The CD also contains the book's code examples and an HTML Web page with links to the Deitel & Associates, Inc. y Web site, the Prentice Hall Web site and the many Web sites listed in the Web resources 'sections of the chapters. If you have access to the Internet, the Web page on the CD can be loaded into your World Wide Web browser to give you quick access to all the resources.
If you have any questions about using this software, please read the introductory documentation on the CD-ROM. Additional information is available at our Web site: www.deitel.com. We do not provide technical support for the software application programs. However, if you have any technical questions about the installation of the CD, please email email@example.com. They will respond promptly.
We have prepared an optional interactive, CD-ROM-based, software version of e-Business arid eCommerce How to Program called the e-Business and e-Commerce Programming Multimedia Cyber Classroom. It is loaded with features for learning and reference. The Cyber Classroom is wrapped with the textbook at a discount in The Complete e-Business and e-Commerce Programming Training Course. If you already have the book and would like to purchase the eBusiness and e-Commerce Programming Multimedia Cyber Classroom separately, please call 1-800-811-0912 and ask for ISBN# 0130895407.
The CD has an introduction with the authors overviewing the Cyber Classroom's features. The 258 live-code example Web documents in the textbook truly "come alive" in the Cyber Classroom. If you are viewing a document and want to execute it, simply click on the lightning bolt icon and the document will be loaded into a Web browser and rendered. You will immediately seeand hear for the audio-based multimedia Web pagesthe program's outputs. If you want to modify a document and see and hear the effects of your changes, simply click the floppy-disk icon that causes the source code to be "lifted off' the CD and "dropped into" one of your own directories so that you can edit the document and try out your new version. Click the speaker icon for an audio that talks about the document and "walks you through" the code.
The Cyber Classroom also provides navigational aids including extensive hyperlinking. The Cyber Classroom remembers in a "history list" recent sections you have visited and allows you to move forward or backward in that history list. The thousands of index entries are hyperlinked to their text occurrences. You can key in a term using the "find" feature and the Cyber Classroom will locate occurrences of that term throughout the text. The Table of Contents entries are "hot," so clicking a chapter name takes you to that chapter.
Students like the hundreds of solved problems from the textbook that are included with the Cyber Classroom. Studying and running these extra programs is a nice way for students to enhance their learning experience.
Students and professional users of our Cyber Classrooms tell us they like the interactivity and that the Cyber Classroom is an effective reference because of the extensive hyperlinking and other navigational features. We recently had an e-mail from a person who said that he lives "in the boonies" and cannot take a live course at a university, so the Cyber Classroom was a good solution to his educational needs.
Professors tell us that their students enjoy using the Cyber Classroom, spend more time on the course and master more of the material than in textbook-only courses. Also, the Cyber Classroom helps shrink lines outside professors' offices during office hours. We have also published the C++ Multimedia Cyber Classroom (3/e), the Visual Basic 6 Multimedia Cyber Classroom, the Java 2 Multimedia Cyber Classroom 3/e and the Internet and World Wide Web Programming Multimedia Cyber Classroom.