Preface |
|
xiii | (1) |
acknowledgments |
|
xiv | (2) |
introduction |
|
xvi | (6) |
Who should read this book |
|
xviii | (1) |
How this book is organized |
|
xix | (1) |
Author online |
|
xv | (2) |
PowerBuilder Developer's Library |
|
xxii | |
|
1 Internet and intranet programming considerations |
|
|
1 | (8) |
|
1.1 What is the Internet? What is an Intranet? |
|
|
2 | (2) |
|
1.2 Server-side versus client-side programming |
|
|
4 | (1) |
|
1.3 Overview of the Internet Toolkit |
|
|
4 | (1) |
|
1.4 Requirements for the development workstation |
|
|
5 | (2) |
|
|
7 | (2) |
|
2 Web.PB architecture, Web servers, examples, and tutorial |
|
|
9 | (24) |
|
|
10 | (7) |
|
2.2 Web.PB program component architecture |
|
|
17 | (2) |
|
|
19 | (2) |
|
|
21 | (2) |
|
WebSite and WebSite Professional servers |
|
|
22 | (1) |
|
Netscape Enterprise and Fast Track servers |
|
|
23 | (1) |
|
Netscape Commerce and Communications servers |
|
|
23 | (1) |
|
Microsoft Internet Information and Personal Web servers |
|
|
23 | (1) |
|
|
23 | (1) |
|
2.5 The Web.PB examples and tutorial |
|
|
23 | (7) |
|
Steps to set up the PC for the examples |
|
|
24 | (4) |
|
Browsing the Web.PB examples |
|
|
28 | (1) |
|
Running the compiled Web.PB example application |
|
|
29 | (1) |
|
2.6 What's in the Web.PB tutorial? |
|
|
30 | (1) |
|
|
30 | (1) |
|
|
31 | (1) |
|
|
31 | (2) |
|
3 Creating a simple Web.PB program I |
|
|
33 | (22) |
|
3.1 Create the application server |
|
|
34 | (2) |
|
Create a new PBL and application object |
|
|
34 | (1) |
|
Create and populate a transport object |
|
|
35 | (1) |
|
|
35 | (1) |
|
|
36 | (1) |
|
3.3 Create the distributed function |
|
|
37 | (2) |
|
Create a nonvisual object |
|
|
37 | (1) |
|
Build the distributed function |
|
|
38 | (1) |
|
3.4 Using the Web.PB wizard to create a test page |
|
|
39 | (5) |
|
|
39 | (5) |
|
3.5 Edit the services file |
|
|
44 | (2) |
|
3.6 Start the application server |
|
|
46 | (1) |
|
3.7 Load the HTML file in the Web browser |
|
|
46 | (1) |
|
|
47 | (1) |
|
3.9 Basic steps to create a Web.PB program |
|
|
48 | (1) |
|
|
49 | (3) |
|
|
52 | (3) |
|
4 Creating a simple Web.PB program II |
|
|
55 | (18) |
|
|
56 | (1) |
|
|
56 | (4) |
|
|
57 | (1) |
|
Absolute and relative URLs |
|
|
58 | (1) |
|
Examples of resolving a URL |
|
|
59 | (1) |
|
When to use relative URLs |
|
|
60 | (1) |
|
4.3 Adding drill-down features |
|
|
60 | (5) |
|
Creating a new datawindow |
|
|
61 | (1) |
|
Code the function to return the list of orders |
|
|
61 | (1) |
|
Embed links into the customer list |
|
|
62 | (1) |
|
|
63 | (2) |
|
4.4 Tying up the loose ends |
|
|
65 | (3) |
|
Changing the table alignment |
|
|
66 | (1) |
|
Add column sorts to the order list |
|
|
66 | (1) |
|
Place navigation links in the HTML |
|
|
67 | (1) |
|
Clean up the HTML and add titles |
|
|
67 | (1) |
|
|
68 | (2) |
|
4.6 Creating a run-time application server |
|
|
70 | (2) |
|
|
72 | (1) |
|
5 Distributed PowerBuilder techniques I |
|
|
73 | (32) |
|
5.1 How DPB works with Web.PB |
|
|
74 | (8) |
|
|
82 | (21) |
|
|
83 | (2) |
|
Creating an access log using a shared object |
|
|
85 | (18) |
|
|
103 | (2) |
|
6 Distributed PowerBuilder techniques II |
|
|
105 | (18) |
|
6.1 Threadsafe database drivers |
|
|
106 | (1) |
|
6.2 Remote control of the application server |
|
|
106 | (13) |
|
|
119 | (3) |
|
|
122 | (1) |
|
7 Datawindows, HTML tables and style sheets |
|
|
123 | (32) |
|
7.1 The relationship between datawindows and HTML tables |
|
|
124 | (1) |
|
|
125 | (1) |
|
7.3 Datawindow to HTML example |
|
|
126 | (2) |
|
7.4 HTML Table object attributes and style sheets |
|
|
128 | (6) |
|
Attributes of the [table] tag |
|
|
128 | (3) |
|
|
131 | (3) |
|
7.5 Putting style sheets and HTML table attributes to work |
|
|
134 | (6) |
|
7.6 The Web.PB class library HTML format services |
|
|
140 | (9) |
|
Using the HTML format services |
|
|
141 | (1) |
|
Examples of using HTML services |
|
|
142 | (7) |
|
7.7 Extending the HTML format services |
|
|
149 | (5) |
|
|
154 | (1) |
|
|
155 | (24) |
|
8.1 Data entry with Web.PB |
|
|
156 | (7) |
|
|
156 | (4) |
|
GenerateHTMLForm() for creating HTML forms from datawindows |
|
|
160 | (3) |
|
8.2 Using GenerateHTMLForm for table maintenance |
|
|
163 | (14) |
|
|
177 | (2) |
|
9 Advanced data entry and consistent look and feel |
|
|
179 | (26) |
|
9.1 Creating your own forms with the Web.PB class library |
|
|
180 | (14) |
|
Constructing the multiform page |
|
|
181 | (12) |
|
Processing the multiform page |
|
|
193 | (1) |
|
|
194 | (8) |
|
|
202 | (1) |
|
|
203 | (2) |
|
|
205 | (28) |
|
10.1 Class library support for sessions |
|
|
207 | (9) |
|
10.2 Adding a logon to simpleweb |
|
|
216 | (15) |
|
|
231 | (2) |
|
|
233 | (24) |
|
11.1 Using Web.PB transactions |
|
|
234 | (18) |
|
11.2 HTTP cookies and basic authentication |
|
|
252 | (3) |
|
11.3 Porting the Web.PB database |
|
|
255 | (1) |
|
|
255 | (2) |
|
12 Debugging and performance |
|
|
257 | (22) |
|
12.1 Debugging Web.PB programs |
|
|
258 | (8) |
|
12.2 Transport object tracing |
|
|
266 | (3) |
|
12.3 Using the shared log object for debugging and performance |
|
|
269 | (1) |
|
12.4 Factors affecting performance |
|
|
270 | (4) |
|
|
274 | (3) |
|
|
277 | (2) |
|
|
279 | (20) |
|
13.1 Running the DPB server as an NT service |
|
|
280 | (5) |
|
|
285 | (2) |
|
13.3 JavaScript for input validation |
|
|
287 | (6) |
|
13.4 The datawindow plug-in |
|
|
293 | (4) |
|
|
297 | (2) |
|
14 The window plug-in and ActiveX |
|
|
299 | (22) |
|
14.1 Architecture of the plug-in and ActiveX components |
|
|
300 | (5) |
|
14.2 Configuring workstations for the plug-ins and ActiveX |
|
|
305 | (1) |
|
14.3 Configuring the Web server |
|
|
305 | (1) |
|
|
306 | (1) |
|
14.5 Creating the PB program |
|
|
307 | (1) |
|
14.6 Building the program |
|
|
307 | (1) |
|
14.7 Testing and debugging |
|
|
308 | (1) |
|
14.8 A simple window plug-in/ActiveX program |
|
|
308 | (4) |
|
14.9 Interacting with the window ActiveX |
|
|
312 | (5) |
|
14.10 Using the secured versions of the plug-in and ActiveX |
|
|
317 | (3) |
|
|
320 | (1) |
|
15 Sockets programming with PowerBuilder 6 |
|
|
321 | (12) |
|
|
322 | (1) |
|
15.2 The sockets class library |
|
|
323 | (2) |
|
15.3 A simple mail transfer client |
|
|
325 | (1) |
|
|
326 | (1) |
|
15.5 The SMTP protocol definition |
|
|
327 | (2) |
|
|
329 | (2) |
|
|
331 | (2) |
Other Internet-related PowerSoft products |
|
333 | (4) |
A.1 Ready...Aim...Fire...! Missed! |
|
334 | (3) |
Resources |
|
337 | (10) |
B.1 Web sites and newsgroups |
|
338 | (9) |
Troubleshooting |
|
347 | (4) |
Web references |
|
351 | (6) |
index |
|
357 | |