Developing Web Applications

Ralph Moseley

In stock
Regular price 17.500 KD inc. VAT
License
Table of contents
  • Front Matterxix
  • Prefacexix
  • INTRODUCTIONxix
  • FEATURESxx
  • ADDITIONAL MATERIALSxx
  • TRADEMARKSxx
  • ACKNOWLEDGMENTSxxi
  • 1 THE WAY THE WEB WORKS1
  • 1.1 HISTORY2
  • 1.1.1 The WWW2
  • 1.2 THE INTERNET AND THE WWW3
  • Figure 1-1 How computers link to the Internet4
  • Table 1-1 OSI model4
  • Table 1-2 Internet layered model5
  • Checkpoint!6
  • 1.3 PROTOCOLS AND PROGRAMS6
  • 1.3.1 Files6
  • Table 1-3 FTP command set8
  • Test Yourself!8
  • 1.3.2 Problems with FTP8
  • Checkpoint!9
  • 1.3.3 Email9
  • 1.3.4 Instant Messaging10
  • 1.3.5 Remote Machine Access10
  • 1.3.6 Web Pages11
  • Test Yourself!13
  • 1.4 SECURE CONNECTIONS14
  • Table 1-4 Transfer of various media and appropriate attributes15
  • Checkpoint!15
  • 1.5 APPLICATIONS AND DEVELOPMENT TOOLS15
  • Resources!16
  • 1.6 THE WEB BROWSER17
  • 1.6.1 Choices18
  • Test Yourself!19
  • Checkpoint!19
  • 1.7 CHAPTER SUMMARY19
  • Chapter Quiz20
  • Key Words and Phrases20
  • Useful Web Addresses21
  • 2 THE CLIENT SIDE: HTML23
  • 2.1 INTRODUCTION24
  • 2.2 THE DEVELOPMENT PROCESS24
  • 2.2.1 Requirements24
  • 2.2.2 Design24
  • 2.2.3 Write Code24
  • 2.2.4 Test24
  • 2.2.5 Upload25
  • 2.2.6 Re-Iterate25
  • Checkpoint!25
  • 2.3 BASIC HTML25
  • 2.3.1 Loading Pages with the Browser25
  • 2.3.2 A Page on the Web26
  • 2.3.3 HTML Document Structure26
  • 2.4 FORMATTING AND FONTS27
  • Test Yourself!28
  • 2.4.1 Using Types of Emphasis28
  • 2.4.2 Pre-Formatted Text28
  • Table 2-1 Adding emphasis29
  • 2.4.3 Font Sizes29
  • Table 2-2 Font comparison29
  • Test Yourself!30
  • 2.5 COMMENTING CODE31
  • 2.6 COLOR31
  • Table 2-3 Number base conversion32
  • Table 2-4 Some example colors with codes32
  • Test Yourself!33
  • 2.7 HYPERLINKS33
  • Checkpoint!34
  • 2.8 LISTS34
  • 2.8.1 Unordered Lists34
  • 2.8.2 Ordered Lists35
  • 2.8.3 Nested Lists35
  • 2.8.4 Definition Lists36
  • 2.9 TABLES36
  • 2.9.1 Table Structure37
  • 2.9.2 Table Headers38
  • Figure 2-1 A simple HTML table38
  • 2.9.3 Irregular Tables38
  • Figure 2-2 An irregularly shaped HTML table39
  • 2.9.4 Tables and Page Layout40
  • Test Yourself!41
  • 2.10 IMAGES41
  • 2.10.1 Positioning and Placing Images41
  • 2.10.2 Resizing an Image42
  • 2.10.3 Background Images42
  • Checkpoint!43
  • 2.11 SIMPLE HTML FORMS43
  • 2.11.1 Making a Form43
  • 2.11.2 Types of Input43
  • 2.11.3 Text Areas44
  • 2.11.4 Drop Down Menus45
  • Listing 2-1 Summarizing simple HTML forms46
  • Test Yourself!46
  • Figure 2-3 A simple HTML form47
  • 2.12 WEB SITE STRUCTURE47
  • Figure 2-4 Mapping a Web site48
  • Checkpoint!48
  • 2.13 CHAPTER SUMMARY48
  • Chapter Quiz49
  • Key Words and Phrases49
  • Useful Web Addresses50
  • 3 FROM HTML TO XHTML51
  • 3.1 MORE HISTORY, MORE STANDARDS52
  • 3.1.1 Changes52
  • 3.1.2 XML53
  • Checkpoint!54
  • 3.2 THE MOVE TO XHTML55
  • Table 3-1 Available character sets55
  • Table 3-2 Human language codes57
  • 3.2.1 Document Structure57
  • 3.2.2 Some Other Differences57
  • Checkpoint!58
  • Test Yourself!58
  • 3.3 META TAGS58
  • 3.3.1 Memory Cache60
  • 3.3.2 Formatting with scheme60
  • Test Yourself!61
  • 3.4 CHARACTER ENTITIES61
  • Test Yourself!63
  • Table 3-3 Useful character entities63
  • 3.5 FRAMES AND FRAMESETS64
  • 3.5.1 Rows64
  • Figure 3-1 Basic frames in rows66
  • 3.5.2 Alternative Content66
  • 3.5.3 Columns66
  • 3.5.4 Frames Using Columns and Rows67
  • 3.5.5 Nesting Frames67
  • Figure 3-2 Basic frames using columns and rows68
  • Figure 3-3 Nesting frames69
  • 3.5.6 Inline Frames69
  • Figure 3-4 Using an iframe70
  • Checkpoint!71
  • Test Yourself!71
  • 3.6 WHAT IS INSIDE A BROWSER?71
  • Figure 3-5 Architecture of a browser72
  • Checkpoint!72
  • Test Yourself!72
  • 3.7 CHAPTER SUMMARY73
  • Chapter Quiz73
  • Key Words and Phrases73
  • Useful Web Addresses74
  • 4 GETTING SOME STYLE: CSS75
  • 4.1 THE NEED FOR CSS76
  • 4.2 INTRODUCTION TO CSS77
  • 4.3 BASIC SYNTAX AND STRUCTURE77
  • 4.3.1 Rules77
  • 4.3.2 Classes78
  • 4.3.3 ID79
  • 4.3.4 Pseudo-Class Selectors80
  • Checkpoint!80
  • 4.4 USING CSS81
  • 4.4.1 External Style Sheets81
  • Listing 4-1 External CSS file81
  • 4.4.2 Embedded Style Sheets82
  • 4.5 BACKGROUND IMAGES, COLORS AND PROPERTIES83
  • 4.5.1 Background Color83
  • 4.5.2 Background Images84
  • Figure 4-1 Using a background image85
  • Table 4-1 The background property86
  • Checkpoint!87
  • 4.6 MANIPULATING TEXT87
  • 4.6.1 Text Decoration88
  • 4.6.2 Text Indentation89
  • 4.6.3 Text Case90
  • 4.7 USING FONTS90
  • Test Yourself!91
  • 4.8 BORDERS AND BOXES91
  • Table 4-2 The border property92
  • 4.9 MARGINS93
  • 4.10 PADDING94
  • Table 4-3 The padding property95
  • 4.11 LISTS95
  • Table 4-4 The list property96
  • 4.12 POSITIONING USING CSS96
  • 4.12.1 Absolutely!97
  • Listing 4-2 Absolute Positioning97
  • 4.12.2 It's All Relative98
  • 4.12.3 The Z-index98
  • 4.12.4 Shaping an Element99
  • 4.12.5 Floating Elements100
  • 4.12.6 Layout and Structure100
  • Listing 4-3 Using div sections101
  • Figure 4-2 The finished page102
  • Test Yourself!102
  • 4.13 CSS2102
  • Checkpoint!103
  • 4.14 CHAPTER SUMMARY103
  • Chapter Quiz104
  • Key Words and Phrases104
  • Useful Web Addresses105
  • 5 JAVASCRIPT: INTRODUCTION TO CLIENT SIDE SCRIPTING107
  • 5.1 WHAT IS JAVASCRIPT?108
  • 5.2 HOW TO DEVELOP JAVASCRIPT109
  • 5.3 SIMPLE JAVASCRIPT109
  • 5.3.1 Embedded109
  • Listing 5-1 A simple JavaScript program110
  • 5.3.2 External Scripts110
  • Checkpoint!111
  • 5.4 VARIABLES111
  • 5.4.1 Scope112
  • Listing 5-2 Script showing use of scope for variables113
  • Test Yourself!113
  • 5.4.2 Assignments113
  • Table 5-1 Special assignment operators114
  • 5.4.3 Strings114
  • Table 5-2 Escape sequences115
  • 5.4.4 Arrays115
  • Table 5-3 Some methods attached to the string object116
  • Test Yourself!116
  • Checkpoint!116
  • 5.5 FUNCTIONS117
  • Listing 5-3 Script showing use of function with parameters118
  • 5.6 CONDITIONS118
  • Table 5-4 Conditional operators119
  • 5.6.1 Switch119
  • Listing 5-4 Script showing use of case statement120
  • 5.6.2 Conditional Operator120
  • 5.7 LOOPS AND REPETITION121
  • Test Yourself!121
  • Table 5-5 JacaScript loop structures122
  • Checkpoint!122
  • 5.8 CHAPTER SUMMARY122
  • Chapter Quiz123
  • Key Words and Phrases123
  • Useful Web Addresses124
  • 6 JAVASCRIPT: DEVELOPING MORE ADVANCED SCRIPTS125
  • 6.1 JAVASCRIPT AND OBJECTS126
  • 6.1.1 What is an Object?126
  • 6.2 JAVASCRIPT'S OWN OBJECTS126
  • Table 6-1 The JavaScript Math object127
  • Test Yourself!127
  • 6.2.1 User-defined Objects128
  • Listing 6-1 Using object literals128
  • Listing 6-2 Making a first object129
  • 6.2.2 Adding a Constructor129
  • Listing 6-3 Using a constructor130
  • 6.2.3 Methods130
  • Listing 6-4 Attaching methods to an object131
  • Test Yourself!132
  • Checkpoint!132
  • 6.3 THE DOM AND THE WEB BROWSER ENVIRONMENT133
  • Figure 6-1 The hierarchy of objects under window133
  • Listing 6-5 Using the window object134
  • Table 6-2 Some important window object properties135
  • Test Yourself!136
  • 6.3.1 The document Object136
  • Listing 6-6 One way to access form fields137
  • Listing 6-7 Extracting form information138
  • Test Yourself!139
  • Checkpoint!139
  • 6.4 FORMS AND VALIDATION139
  • Listing 6-8 Validating a user139
  • Test Yourself!141
  • 6.4.1 Using Regular Expressions for Validation142
  • Listing 6-9 Using a regular expression to validate an email142
  • Test Yourself!143
  • Checkpoint!144
  • 6.5 CHAPTER SUMMARY144
  • Chapter Quiz144
  • Key Words and Phrases144
  • Useful Web Addresses145
  • 7 DHTML147
  • 7.1 COMBINING HTML, CSS AND JAVASCRIPT148
  • 7.1.1 Animation148
  • Listing 7-1 Dynamic effects148
  • Listing 7-2 Basic image flipping149
  • Figure 7-1 Select the Picture150
  • Checkpoint!150
  • 7.1.2 The Image Object150
  • Table 7-1 The Image object151
  • Listing 7-3 Simple animation153
  • Listing 7-4 Moving objects around the browser window154
  • Checkpoint!155
  • Test Yourself!155
  • 7.2 EVENTS AND BUTTONS156
  • Table 7-2 JavaScripts events156
  • 7.2.1 The Window157
  • 7.2.2 The Mouse157
  • 7.2.3 The Keyboard157
  • 7.2.4 Using Events157
  • Listing 7-5 A basic window event being captured157
  • Listing 7-6 Using a mouse click158
  • Listing 7-7 Buttons for events158
  • Listing 7-8 Using mouseover159
  • Listing 7-9 More mouse events159
  • Listing 7-10 Using onmousemove and compatibility checks160
  • Listing 7-11 Keyboard input162
  • Test Yourself!163
  • 7.3 CONTROLLING YOUR BROWSER163
  • Checkpoint!165
  • Test Yourself!165
  • 7.4 CHAPTER SUMMARY165
  • Chapter Quiz165
  • Key Words and Phrases165
  • Useful Web Addresses166
  • 8 XML: EXTENSIBLE MARKUP LANGUAGE167
  • 8.1 INTRODUCTION TO XML168
  • 8.2 THE MANY USES OF XML168
  • 8.3 SIMPLE XML168
  • Listing 8-1 A simple XML document169
  • 8.4 XML KEY COMPONENTS169
  • 8.4.1 Elements169
  • 8.4.2 Attributes170
  • 8.4.3 Other Essentials170
  • 8.4.4 Namespaces171
  • Checkpoint!171
  • Test Yourself!172
  • 8.5 DOCUMENT TYPE DEFINITIONS AND SCHEMAS172
  • 8.5.1 DTDs172
  • Listing 8-2 A simple DTD172
  • Listing 8-3 DTD as an external file173
  • Listing 8-4 The referring XML document173
  • Table 8-1 DTD174
  • Table 8-2 DTD attribute types175
  • Table 8-3 Attribute required or default175
  • 8.5.2 Schemas175
  • Listing 8-5 Equivalent XML schema176
  • Listing 8-6 Referring to a schema in an XML document176
  • 8.5.3 Elements177
  • 8.5.4 Attributes178
  • 8.6 WELL FORMED?178
  • Checkpoint!179
  • Test Yourself!179
  • 8.7 USING XML WITH APPLICATIONS179
  • Listing 8-7 Using data islands180
  • 8.8 CHAPTER SUMMARY180
  • Chapter Quiz180
  • Key Words and Phrases181
  • Useful Web Addresses181
  • 9 XML, XSL AND XSLT: TRANSFORMING XML183
  • 9.1 INTRODUCING XSL184
  • 9.2 XML TRANSFORMED184
  • Checkpoint!184
  • 9.3 A SIMPLE EXAMPLE185
  • Figure 9-1 Output from Listing 9-1186
  • Listing 9-1 A simple XML document187
  • Checkpoint!187
  • 9.3.1 The XML188
  • 9.3.2 The Style Sheet188
  • 9.3.3 Linking188
  • Test Yourself!188
  • 9.4 XSL ELEMENTS189
  • 9.4.1 Value-of189
  • 9.4.2 For-each189
  • 9.4.3 sort189
  • Listing 9-2 Using <xsl:sort>190
  • 9.4.4 If190
  • Listing 9-3 Using a condition191
  • 9.4.5 Choices191
  • Listing 9-4 Multiple choices192
  • 9.4.6 Applying Templates192
  • Listing 9-5 Applying multiple templates193
  • Checkpoint!193
  • Test Yourself!194
  • 9.5 TRANSFORMING WITH XSLT194
  • 9.5.1 Using JavaScript194
  • Listing 9-6 Processing XML with JavaScript195
  • Checkpoint!195
  • 9.6 CHAPTER SUMMARY195
  • Chapter Quiz196
  • Key Words and Phrases196
  • Useful Web Addresses196
  • 10 WEB SERVICES, FEEDS AND BLOGS197
  • 10.1 THE NEED FOR WEB SERVICES198
  • 10.2 SOAP198
  • 10.3 SOAP, XML AND HTTP198
  • Figure 10-1 SOAP communication199
  • Listing 10-1 A SOAP request200
  • Checkpoint!200
  • Listing 10-2 A SOAP response201
  • 10.4 WEB FEEDS201
  • 10.4.1 Reading a Web Feed202
  • Listing 10-3 An RSS Feed203
  • Listing 10-4 A weather RSS feed205
  • 10.4.2 Making Your Own RSS Feeds205
  • Listing 10-5 RSS feed: individual parts205
  • Table 10-1 RSS <channel> elements207
  • Table 10-2 RSS <item> elements208
  • Checkpoint!208
  • Test Yourself!208
  • 10.5 BLOGS209
  • Checkpoint!210
  • Test Yourself!210
  • 10.6 CHAPTER SUMMARY210
  • Chapter Quiz211
  • Key Words and Phrases211
  • Useful Web Addresses212
  • 11 THE SERVER SIDE213
  • 11.1 WHAT IS A SERVER?214
  • Figure 11-1 Client and (Web) server model215
  • 11.2 CHOICES215
  • 11.2.1 Apache HTTPd Server216
  • 11.2.2 Internet Information Services216
  • 11.2.3 PHP, Perl, Python ...217
  • 11.2.4 MySQL217
  • Checkpoint!217
  • 11.3 SETTING UP217
  • 11.3.1 XAMPP218
  • 11.3.2 Where Is the Server?219
  • 11.3.3 Testing219
  • Figure 11-2 Network details using ifconfig220
  • Table 11-1 Directory for XAMPP221
  • 11.3.4 External Access to the Web Server221
  • Checkpoint!222
  • 11.4 UNIX AND LINUX WEB SERVERS222
  • Figure 11-3 An Apache server test page223
  • Test Yourself!224
  • 11.5 WHICH OS?224
  • Resources!225
  • 11.6 LOGGING USERS225
  • Figure 11-4 Server logs226
  • 11.7 DYNAMIC IPS226
  • Checkpoint!227
  • 11.8 CHAPTER SUMMARY227
  • Chapter Quiz228
  • Key Words and Phrases228
  • Useful Web Addresses228
  • 12 PHP 1: STARTING TO SCRIPT ON THE SERVER SIDE231
  • Test Yourself!232
  • 12.1 STARTING TO SCRIPT WITH PHP232
  • Listing 12-1 Script using the date function232
  • Listing 12-2 Tidying the script using the date function233
  • 12.1.1 Good Programing Practices Apply Here!233
  • Listing 12-3 Using concatenation234
  • Test Yourself!234
  • 12.2 VARIABLES235
  • Listing 12-4 Utilizing variables and output235
  • 12.2.1 Errors in PHP236
  • Figure 12-1 Error in variable name236
  • Figure 12-2 Error in variable at print out236
  • Checkpoint!237
  • Test Yourself!237
  • 12.3 GETTING SOME INPUT237
  • Listing 12-5 Setting up a form238
  • Listing 12-6 Accessing the form variables238
  • Checkpoint!239
  • Test Yourself!239
  • 12.4 DECISIONS240
  • Listing 12-7 Controlling execution flow240
  • Table 12-1 Comparison operators241
  • Listing 12-8 Using the switch-case structure242
  • Listing 12-9 Script using the date function243
  • 12.5 LOOPING243
  • 12.5.1 The for Loop244
  • Listing 12-10 Introducing the for loop244
  • 12.5.2 The While Loop245
  • Listing 12-11 Script using while245
  • Listing 12-12 Yet another loop structure246
  • 12.5.3 Using Break and Continue246
  • Listing 12-13 Skipping an iteration247
  • Checkpoint!247
  • 12.6 CHAPTER SUMMARY248
  • Chapter Quiz248
  • Key Words and Phrases248
  • Useful Web Addresses249
  • 13 PHP 2: ARRAYS, FUNCTIONS AND FORMS251
  • 13.1 ARRAYS252
  • Listing 13-1 Using an array252
  • 13.1.1 Arrays and Loops253
  • Listing 13-2 The foreach loop253
  • Listing 13-3 An equivalent for loop254
  • 13.1.2 Keys and Values255
  • Listing 13-4 Using an associative array256
  • 13.1.3 Forms and Associative Arrays256
  • Listing 13-5 HTML input form for PHP processing256
  • Listing 13-6 PHP to process the HTML form257
  • Checkpoint!258
  • Test Yourself!259
  • 13.2 FUNCTIONS259
  • 13.3 BROWSER CONTROL260
  • 13.4 BROWSER DETECTION260
  • 13.5 STRING MANIPULATION WITH PHP261
  • Tabel 13-1 Some string functions in PHP263
  • Checkpoint!264
  • 13.6 FILES264
  • 13.7 PASSWORDS265
  • 13.8 EMAIL266
  • 13.9 UPLOADING267
  • Checkpoint!269
  • Test Yourself!269
  • 13.10 CHAPTER SUMMARY270
  • Chapter Quiz270
  • Key Words and Phrases270
  • Useful Web Addresses271
  • 14 MORE ADVANCED PHP273
  • 14.1 FURTHER FILE HANDLING274
  • 14.1.1 Building a Visitor Log276
  • Test Yourself!276
  • Checkpoint!276
  • 14.2 COOKIES277
  • Table 14-1 Cookies with PHP278
  • Listing 14-1 Using cookies for passwords279
  • Listing 14-2 Checking the cookie password280
  • 14.3 SESSIONS280
  • Listing 14-3 Starting a session282
  • Listing 14-4 Session continuation [1]282
  • Listing 14-5 Sessions with visit count [2]283
  • Test Yourself!284
  • Checkpoint!284
  • 14.4 MOBILE TECHNOLOGIES284
  • 14.4.1 Browser Check285
  • 14.4.2 WAP and WML286
  • Listing 14-6 A simple WML script286
  • 14.4.3 PHP, WAP and WML287
  • Listing 14-7 Using PHP and WML together287
  • 14.5 OTHER ADVANCED PHP FEATURES287
  • 14.6 OBJECT-ORIENTED PROGRAMING288
  • 14.6.1 What Is an Object?288
  • Encapsulation288
  • Polymorphism288
  • Inheritance288
  • Listing 14-8 OO PHP 4 with constructor289
  • Listing 14-9 OO PHP 5 with constructor290
  • Listing 14-10 Access Methods290
  • 14.6.2 Inheritance291
  • Listing 14-11 Inheritance using OO PHP292
  • Test Yourself!293
  • Checkpoint!293
  • 14.7 CHAPTER SUMMARY294
  • Chapter Quiz295
  • Key Words and Phrases295
  • Useful Web Addresses295
  • 15 NETWORK AND WEB SECURITY297
  • 15.1 INTRODUCTION298
  • 15.2 HOW HACKING BEGAN298
  • 15.3 WHO IS HACKING NOW?299
  • 15.3.1 Motivations299
  • Checkpoint!300
  • 15.4 TYPES OF ATTACK AND INTRUSION300
  • 15.4.1 Denial of Service (DoS)300
  • 15.4.2 Cross Site Scripting (XSS)301
  • 15.4.3 Spam301
  • 15.4.4 Email Bomb302
  • 15.4.5 Spoofing302
  • 15.4.6 Phishing302
  • 15.4.7 CGI Insecurities302
  • 15.4.8 Session Hijacking303
  • 15.4.9 Key Logging303
  • 15.4.10 Identity Theft and Stalking303
  • 15.4.11 Trojan horse304
  • 15.4.12 Social Engineering305
  • 15.4.13 Spyware/Malware/Adware and Popups305
  • 15.4.14 Viruses and Worms305
  • Checkpoint!307
  • Table 15-1 A history of computer viruses308
  • 15.5 FIREWALLS309
  • 15.6 PASSWORDS310
  • 15.6.1 Password Policy311
  • 15.7 DEFENSE!311
  • Checkpoint!312
  • 15.8 CHAPTER SUMMARY312
  • Chapter Quiz312
  • Key Words and Phrases313
  • Useful Web Addresses313
  • 16 DATABASES315
  • 16.1 INTRODUCTION316
  • Figure 16-1 Communications with a DBMS316
  • 16.2 RELATIONAL DATABASES317
  • Table 16-1 A database table317
  • Table 16-2 Parts of a database table318
  • Table 16-3 The book table318
  • Table 16-4 The borrows table319
  • 16.2.1 Design and Modeling319
  • Figure 16-2 An entity-relationship diagram319
  • 16.2.2 What is Normalization?320
  • Checkpoint!321
  • Test Yourself!322
  • 16.3 SQL322
  • 16.3.1 MySQL322
  • 16.3.2 Starting, Stopping and Checking MySQL Server323
  • 16.3.3 The MySQL Monitor323
  • Figure 16-3 The MySQL monitor324
  • 16.4 BASIC COMMANDS WITH PHP EXAMPLES325
  • 16.4.1 Connection to the Server325
  • 16.4.2 Creating a Database325
  • 16.4.3 Selecting a Database326
  • 16.4.4 Listing Databases326
  • 16.4.5 Listing Table Names326
  • 16.4.6 Creating a Database Table327
  • 16.4.7 Inserting Data327
  • Table 16-5 Data types in MySQL328
  • 16.4.8 Altering Tables329
  • 16.4.9 Queries329
  • 16.4.10 Deleting Databases330
  • 16.4.11 Deleting Data and Tables330
  • Checkpoint!330
  • 16.5 PHPMYADMIN331
  • Figure 16-4 phpMyAdmin initial screen331
  • Figure 16-5 phpMyAdmin runtime information332
  • Figure 16-6 phpMyAdmin creating a table332
  • Figure 16-7 phpMyAdmin after table creation333
  • Figure 16-8 phpMyAdmin insert data333
  • 16.6 DATABASE BUGS334
  • 16.7 EXAMPLES334
  • Listing 16-1 HTML form for login335
  • Listing 16-2 Script to process login details336
  • Checkpoint!336
  • Test Yourself!337
  • 16.8 CHAPTER SUMMARY337
  • Chapter Quiz338
  • Key Words and Phrases338
  • Useful Web Addresses338
  • 17 ALTERNTIVE SCRIPTING LANGUAGES339
  • 17.1 LEGACY CODE AND APPLICATION DEVELOPMENT CHOICES340
  • 17.1.1 CGI340
  • 17.1.2 Perl340
  • 17.1.3 ASP341
  • Listing 17-1 Simple Hello World! script for ASP341
  • Listing 17-2 Using VBScript built-in functions for ASP341
  • Listing 17-3 Using the built-in Request and Response objects343
  • Listing 17-4 Collecting and using information from a form using GET344
  • Listing 17-5 Collecting and using information from a form using POST344
  • Listing 17-6 Using HTML radio buttons with ASP345
  • Listing 17-7 Using redirection in ASP346
  • Listing 17-8 Random redirection347
  • Listing 17-9 Finding the amount of data passed through a form347
  • Listing 17-10 Using cookies with ASP348
  • Checkpoint!349
  • Test Yourself!349
  • 17.1.4 Java349
  • Listing 17-11 A first Java program350
  • Listing 17-12 A simple Java applet351
  • Listing 17-13 An HTML page for embedding the applet351
  • 17.1.5 JSP352
  • 17.1.6 The .NET Framework352
  • 17.1.7 C#353
  • Listing 17-14 C# Hello World! program353
  • Listing 17-15 Simple Web Service Implementation354
  • 17.1.8 Mono354
  • 17.1.9 IKVM355
  • Checkpoint!355
  • Test Yourself!355
  • 17.2 CHAPTER SUMMARY356
  • Chapter Quiz356
  • Key Words and Phrases356
  • Useful Web Addresses356
  • 18 FUTURE: GAINING A PERSPECTIVE357
  • 18.1 INTRODUCTION358
  • Figure 18-1 Graph showing WWW growth358
  • 18.2 LOOKING BACK: TIMELINE359
  • Checkpoint!361
  • Test Yourself!362
  • 18.3 LOOKING FORWARD: THEMES FOR THE FUTURE362
  • 18.3.1 Speed362
  • 18.3.2 Universal Access362
  • 18.3.3 Autonomic and Adaptable Systems363
  • 18.3.4 Unwired363
  • 18.3.5 Computers in Disguise?363
  • 18.3.6 Biological and Medical364
  • 18.3.7 Convergence364
  • 18.3.8 Multimedia365
  • 18.3.9 Military365
  • Checkpoint!366
  • Test Yourself!366
  • 18.4 CHAPTER SUMMARY366
  • Chapter Quiz367
  • Key Words and Phrases367
  • Useful Web Addresses368
  • Back Matter369
  • Glossary369
  • Sources379
Book details
  • Vendor Wiley Global Education UK
  • SKU 9780470017197R180
  • ISBN-13 9780470726112
  • Author Ralph Moseley
  • Edition 1st
  • Category Computers
  • Subject Site Design

Do you have questions about this book?

Ask an expert!

Building applications for the Internet is a complex and fast-moving field which utilizes a variety of continually evolving technologies. Whether your perspective is from the client or server side, there are many languages to master – X(HTML), JavaScript, PHP, XML and CSS to name but a few. These languages have to work together cleanly, logically and in harmony with the systems they run on, and be compatible with any browsers with which they interact.

Developing Web Applications presents script writing and good programming practice but also allows students to see how the individual technologies fit together. It includes recent technical developments to provide a practical and modern introduction to building web applications.

Assuming no prior programming experience, this concise, accessible book ensures that essential concepts on the client side are quickly grasped, and goes on to examine the server environment and available languages, including discussion of dynamic, modern scripting languages such as PHP. Network and security issues are also discussed. The aim of this book is to deliver exactly what is needed to start producing working applications as soon as possible – and have fun along the way.

Ideal for course use or self-study, this book includes practical suggestions for mini-projects which encourage the reader to explore his or her own imaginative solutions, as well as more theoretical end-of-chapter questions. It can also easily be used as a reference work as each section is self-contained, amplifying the key aspects of its particular topic. Most software covered is freely available in the public domain and no particular development environments are required. It is a direct, contemporary and extremely useful resource for anyone interested in learning how to program applications for the World Wide Web.