Programming the World Wide Web is intended for undergraduate students who have completed a course in object-oriented programming. It also serves as an up-to-date reference for Web programming professionals.
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 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. All of the markup documents in the book are validated using the W3C validation program.
Programming the world wide web 7th edition pdf
Download File: https://fulcdaevka.blogspot.com/?file=2vCAYj
Editor in Chief: Michael HirschAcquisitions Editor: MattGoldsteinEditorial Assistant: Chelsea BellManaging Editor: JeffreyHolcombSenior Production Project Manager: Marilyn LloydMediaProducer: Katelyn BollerDirector of Marketing: MargaretWaplesMarketing Coordinator: Kathryn FerrantiSenior ManufacturingBuyer: Carol MelvilleText Designer: Gillian Hall/The AardvarkGroupCover Designer: Elena SidorovaCover Image: AndrewParkinson/Getty ImagesProject Management: Dennis Free/Aptara,Inc.Full Service Vendor: Aptara, Inc.Text and Cover Printer:Courier Stoughton The interior of this book was composed inFrameMaker 7.0, JansonText, Courier10PitchBT Copyright 2011, 2010,2008, 2006, 2003, 2002 Pearson Education, Inc., publishing asAddison-Wesley. All rights reserved. Manufactured in the UnitedStates ofAmerica. This publication is protected by Copyright, andpermission should be obtained from the publisher prior to anyprohibited reproduction, storage in a retrievalsystem, ortransmission in any form or by any means, electronic, mechanical,photocopying, recording, or likewise. To obtain permission(s) touse material from thiswork, please submit a written request toPearson Education, Inc., Permissions Department, 501 BoylstonStreet, Suite 900, Boston, Massachusetts 02116. Many of thedesignations by manufacturers and seller to distinguish theirproducts are claimed as trademarks. Where those designations appearin this book, and thepublisher was aware of a trademark claim, thedesignations have been printed in initial caps or all caps. Libraryof Congress Cataloging-in-Publication Data Sebesta, Robert W.Programming the World Wide Web, 2010 / Robert W. Sebesta. -- 6thed. p. cm. Previous eds. under title: Programming the World WideWeb. ISBN 978-0-13-213081-3 1. Internet programming. 2. World WideWeb. I. Sebesta, Robert W. Programming the World Wide Web. II.Title. QA76.625.S42 2010b 006.76--dc22 2009053855 10 9 8 7 6 5 4 32 1CRS14 13 12 11 10
A visit to a bookstore, either a bricks-and-mortar store or aWeb site, will turn up a large supply of books on Web technologiesaimed at the practicingprofessional. One difficulty encountered bythose teaching courses in Web programming technologies in collegesis the lack of textbooks that are targeted to theirneeds. Most ofthe books that discuss Web programming were written forprofessionals, rather than college students. Such books are writtento fulfill the needs ofprofessionals, which are quite differentfrom those of college students. One major difference between anacademic book and a professional book lies in theassumptions madeby the author about the prior knowledge and experience of theaudience. On the one hand, the backgrounds of professionals varywidely, making itdifficult to assume much of anything. On the otherhand, a book written for junior computer science majors can makesome definite assumptions about the backgroundof the reader. Thisbook is aimed at college students, not necessarily only computerscience majors, but anyone who has taken at least two courses inprogramming. Althoughstudents are the primary target, the book isalso useful for professional programmers who wish to learn Webprogramming.
The goal of the book is to provide the reader with acomprehensive introduction to the programming tools and skillsrequired to build and maintain server sites onthe Web. A widevariety of technologies are used in the construction of a Web site.There are now many books available for professionals that focus onthesetechnologies. For example, there are dozens of books thatspecifically address only XHTML. The same is true for a half-dozenother Web technologies. This bookprovides an overview of how theWeb works, as well as descriptions of many of the most widely usedWeb technologies.
The first five editions of the book were used to teach ajunior-level Web programming course at the University of Coloradoat Colorado Springs. The challengefor students in the course is tolearn to use several different programming languages andtechnologies in one semester. A heavy load of programming exercisesisessential to the success of the course. Students in the coursebuild a basic, static Web site, using only XHTML as the firstassignment. Throughout the remainder of thesemester, they addfeatures to their site as the new technologies are discussed in thecourse. Our students prior course work in Java and data structures,as well as Cand assembly language, is helpful, as is the fact thatmany of them have learned some XHTML on their own before taking thecourse.
The most important prerequisite to the material of this book isa solid background in programming in some language that supportsobject-oriented programming. Itis helpful to have some knowledge ofa second programming language and a bit of UNIX, particularly if aUNIX-based Web server is used for the course. Familiaritywith asecond language makes learning the new languages easier.
Chapter 4 introduces the core of JavaScript, a powerful languagethat could be used for a variety of different applications. Ourinterest, of course, is its use in Webprogramming. AlthoughJavaScript has become a large and complex language, we use thestudents knowledge of programming in other languages to leveragethediscussion, thereby providing a useful introduction to thelanguage in a manageably small number of pages. Topics covered arethe object model of JavaScript, itscontrol statements, objects,arrays, functions, constructors, and pattern matching.
Chapter 8 introduces the Flash authoring environment, which isused to create a wide variety of visual and audio presentationsinparticular, those that includeanimation. A series of examples isused to illustrate the development processes, including drawingfigures, creating text, using color, creating motion andshapeanimations, adding sound tracks to presentations, anddesigning components that allow the user to control the Flashmovie.
Chapter 9 introduces PHP, a server-side scripting language thatenjoys wide popularity, especially as a database access languagefor Web applications. The basicsof the language are discussed, aswell as the use of cookies and session tracking. The use of PHP asa Web database access language is covered in Chapter 13.
Chapter 14 introduces the Ruby programming language. Includedare the scalar types and their operations, control statements,arrays, hashes, methods, classes,code blocks and iterators, andpattern matching. There is, of course, much more to Ruby, but thechapter includes sufficient material to allow the student to useRubyfor building simple programs and Rails applications.
Appendix A introduces Java to those who have experience with C++and object-oriented programming, but who do not know Java. Suchstudents can learnenough of the language from this appendix toallow them to understand the Java applets, servlets, JSP, and JDBCthat appear in this book.
The lives of most inhabitants of industrialized countries, aswell as some in unindustrialized countries, have been changedforever by the advent of theWorld Wide Web. Although thistransformation has had some downsidesfor example, easier access topornography and gambling and the ease with which peoplewithdestructive ideas can propagate those ideas to otherson balance,the changes have been enormously positive. Many use the Internetand the World Wide Webdaily, communicating with friends, relatives,and business associates through e-mail and social networking sites,shopping for virtually anything that can be purchasedanywhere, anddigging up a limitless variety and amount of information, frommovie theater schedules, to hotel room prices in cities halfwayaround the world, to thehistory and characteristics of the cultureof some small and obscure society. Constructing the software anddata that provide all of this information requires knowledgeofseveral different technologies, such as markup languages andmeta-markup languages, as well as programming skills in a myriad ofdifferent programminglanguages, some specific to the World Wide Weband some designed for general-purpose computing. This book is meantto provide the required background and abasis for acquiring theknowledge and skills necessary to build the World Wide Web sitesthat provide both the information users want and the advertisingthat pays forits presentation.
Because it was funded by ARPA, the network was named ARPAnet.Despite the initial intentions, the primary early use of ARPAnetwas simple text-basedcommunications through e-mail. Because ARPAnetwas available only to laboratories and universities that conductedARPA-funded research, the great majority ofeducational institutionswere not connected. As a result, a number of other networks weredeveloped during the late 1970s and early 1980s, with BITNETandCSNET among them. BITNET, which is an acronym for Because ItsTime Network, began at the City University of New York. It wasbuilt initially to provideelectronic mail and file transfers.CSNET, which is an acronym for Computer Science Network, connectedthe University of Delaware, Purdue University, theUniversity ofWisconsin, the RAND Corporation, and Bolt, Beranek, and Newman (aresearch company in Cambridge, Massachusetts). Its initial purposewas toprovide electronic mail. For a variety of reasons, neitherBITNET nor CSNET became a widely used national network. 2ff7e9595c
Comments