Read more
Informationen zum Autor Chris Bates has been teaching a web programming course for several years to a large and diverse group of students during which he has created and refined the examples and exercises used in the book. Klappentext This book is about implementing websites on servers and on browsers. Rather than concentrate in fine detail upon specific technologies, Chris Bates has provided a comprehensive and accessible introduction to the essentials of web development, covering an ever-expanding field in a single volume. Focusing on immediately useful code rather than theory, this is a how-to book for programmers who need quick answers.Starting with client-side development using HTML and CSS, and moving on to more complex server-side applications written in open source languages such as Perl and PHP, the new edition of this successful textbook has been substantially revised and updated to include increased coverage of PHP and new sections on database design and configuration, Apache and MySQL. Based on years of successful teaching and taking an insightful, example-led approach, Web Programming is the complete all-in-one introduction to website programming and development, ideal for classroom use or self-study. Zusammenfassung This book is about implementing websites on servers and on browsers. Rather than concentrate in fine detail upon specific technologies, Chris Bates has provided a comprehensive and accessible introduction to the essentials of web development, covering an ever-expanding field in a single volume. Focusing on immediately useful code rather than theory, this is a how-to book for programmers who need quick answers.Starting with client-side development using HTML and CSS, and moving on to more complex server-side applications written in open source languages such as Perl and PHP, the new edition of this successful textbook has been substantially revised and updated to include increased coverage of PHP and new sections on database design and configuration, Apache and MySQL. Based on years of successful teaching and taking an insightful, example-led approach, Web Programming is the complete all-in-one introduction to website programming and development, ideal for classroom use or self-study. Inhaltsverzeichnis Preface xvii Acknowledgments xxiii 1 Introduction 1 1.1 HTML, XML, and the World Wide Web 3 Exercises 13 Part I HTML 15 2 Hypertext Markup Language 17 2.1 Basic HTML 17 2.2 The Document Body 22 2.3 Text 26 2.4 Hyperlinks 31 2.5 Adding More Formatting 37 2.6 Lists 37 2.7 Using Color and Images 42 2.8 Images 43 Exercises 47 3 More HTML 50 3.1 Tables 51 3.2 Multimedia Objects 57 3.3 Frames 64 3.4 Forms - Toward Interactivity 69 3.5 The HTML Document Head in Detail 73 3.6 XHTML - An Evolutionary Markup 77 Exercises 82 Part II Stylesheets 85 4 Cascading Stylesheets 87 4.1 Introduction 87 4.2 Using Styles: Simple Examples 88 4.3 Defining Your Own Styles 93 4.4 Properties and Values in Styles 97 4.5 Stylesheets - AWorked Example 102 4.6 Formatting Blocks of Information 106 4.7 Layers 109 Exercises 119 5 Cascading Style Sheets Two 121 5.1 The Design Of CSS2 122 5.2 Styling For Paged Media 124 5.3 Using Aural Presentation 127 5.4 Counters And Numbering 131 Exercises 135 Part III JavaScript 137 6 An Introduction to JavaScript 139 6.1 What is Dynamic HTML? 140 6.2 JavaScript 141 6.3 JavaScript - The Basics 144 6.4 Variables 151 6.5 String Manipulation 158 6.6 Mathematical Functions 163 6.7 Statements 167 6.8 Operators 174 6.9 Arrays 175 6.10 Functio...