NEW COURSE!
RPG Web Skills Accelerator
Table of Contents
 

RPG Web Skills Accelerator: features 8 hands-on labs and comes complete with an exercise source code CD.

  Chapter 1. Web Programming Basics ......................................................1
1.1 What You Need to Know .................................................................1
1.2 Hypertext Markup Language – HTML ..............................................1
1.2.1 Hyperlinks (Anchors) .....................................................................2
1.2.2 Images ...........................................................................................4
1.2.3 Tables ............................................................................................5
1.2.4 Forms ............................................................................................8
1.2.5 HTML References .......................................................................10
1.3 HTTP Headers ................................................................................10
1.3.1 Content-Type ...............................................................................11
1.3.2 Expires .........................................................................................12
1.3.3 Pragma .........................................................................................13
1.3.4 Cache-Control ..............................................................................13
1.3.5 Location ....................................................................................... 13
1.4 Cookies ............................................................................................14
1.5 JavaScript .........................................................................................15
1.5.1 JavaScript References ....................................................................17
1.6 Stylesheets (CSS) .............................................................................17
1.6.1 Stylesheets References ...................................................................19
1.7 Server Side Includes (SSI) ................................................................19
1.8 Don’t Overlook these Important Tools ..............................................20
1.9 Web Programming Basics Lab 1 – HTML ........................................23
1.9.1 Create a Basic HTML File .............................................................23
1.9.2 Using Hyperlinks ............................................................................24
1.9.3 Using Images .................................................................................24
1.9.4 HTML Tables ...............................................................................25
1.9.5 HTML Forms ...............................................................................25
1.9.6 Answers for Lab 1 ........................................................................27
1.10 Web Programming Basics Lab 2 – JavaScript .................................55
1.10.1 JavaScript Basics .........................................................................55
1.10.2 JavaScript, Hyperlinks, Buttons, and Actions.. ..............................57
1.10.3 JavaScript Form Validation and Manipulation. ..............................59
1.10.4 Answers for Lab 2 .......................................................................63
1.11 Web Programming Basics Lab 3 – Stylesheets ................................77
1.11.1 Stylesheet Basics .........................................................................77
1.11.2 Stylesheet Classes .......................................................................81
1.11.3 Answers for Lab 3 ......................................................................83
Chapter 2. HTTP Configuration ..............................................................95
2.1 Classic or Powered by Apache (pbA)? .............................................95
2.2 A Look at Classic and Powered by Apache (pbA).............................96
2.2.1 The Classic HTTP Server ..............................................................96
2.2.2 Classic HTTP Configuration Tips .................................................102
2.3 The Powered by Apache (pbA) HTTP Server .................................104
2.3.1 Powered By Apache (pbA) Configuration ....................................105
2.3.2 Comparing the Classic and Powered by Apache (pbA) Configurations ..............107
2.4 Working with your HTTP Server ...................................................109
2.4.1 Starting your HTTP Administration Server ..................................109
2.4.2 Accessing the HTTP Administration Server .................................110
2.4.3 Creating a New HTTP Server Instance .......................................111
2.4.4 Starting and Stopping your HTTP Server ....................................125
2.5 The Final Steps .............................................................................126
2.5.1 Editing the HTTP Configuration File.............................................127
2.5.2 Creating the index.html Web Page ..............................................128
2.5.3 Apply Your New Skills ...............................................................130
2.6 HTTP Configuration Lab 1 – The Classic HTTP Server...................131
2.6.1 Create a Basic HTTP Configuration File ......................................131
2.6.2 Answers for Lab 1 .....................................................................133
2.7 HTTP Configuration Lab 2 – The Powered by Apache (pbA) Server.... 137
2.7.1 Create a Basic HTTP Configuration File ......................................137
2.7.2 Answers for Lab 2 ........................................................................139
Chapter 3. CGI Programming APIs .......................................................143
3.1 Web Application Basics ..................................................................143
3.1.1 Output .........................................................................................144
3.1.2 Input ............................................................................................144
3.2 Available APIs ................................................................................145
3.2.1 Write Standard Output (QtmhWrStout) ........................................146
3.2.2 Get Environment Variable (QtmhGetEnv) .....................................146
3.2.3 Read Standard Input (QtmhRdStin) ..............................................148
3.2.4 Convert to DB (QtmhCvtDB) .......................................................149
3.2.5 Put Environment Variable (QtmhPutEnv) .......................................151
3.2.6 CGI Parse (QzhbCGIParse) .........................................................151
3.3 The Next Step .................................................................................154
3.4 CGI Programming APIs Lab 1 – Creating Dynamic Content .............155
3.4.1 Program 1 – Hello World ..............................................................155
3.4.2 Program 2 – A Simple Table .........................................................155
3.4.3 Answers for Lab 1 ........................................................................157
3.5 CGI Programming APIs Lab 2 – Reading Form Data .......................165
3.5.1 Program 1 – The GET Method .....................................................165
3.5.2 Program 2 – The POST Method ..................................................165
3.5.3 Program 3 – Converting Input Data ..............................................166
3.5.4 Program 4 – The QzhbCGIParse API ..........................................166
3.5.5 Program 5 – The QzhbCGIParse API and Multiple Selections ......167
3.5.6 Program 6 – The QzhbCGIParse API and the POST method ........167
3.5.7 Answers for Lab 2 ........................................................................168
3.6 CGI Programming APIs Lab 3 – Using ILE with the HTTP APIs ......189
3.6.1 Part 1 – The F.RPGWSA Service Program ...................................189
3.6.2 Part 2 – Update your prior applications .........................................189
3.6.3 Part 3 – Update the rest of your applications .................................189
3.6.4 Answers for Lab 3 ........................................................................191
Conclusion..............................................................................................201

Click here for printable order form

COURSE CODE : RWSA

back