| About the Authors |
|
xix | |
| About the Technical Reviewer |
|
xxi | |
| Acknowledgments |
|
xxiii | |
|
Chapter 1 An Introduction to APEX 4.2 |
|
|
1 | (6) |
|
|
|
1 | (1) |
|
|
|
2 | (2) |
|
|
|
2 | (1) |
|
|
|
2 | (1) |
|
|
|
3 | (1) |
|
What You Need to Get Started |
|
|
4 | (1) |
|
Access to an APEX Instance |
|
|
4 | (1) |
|
|
|
5 | (1) |
|
|
|
5 | (1) |
|
|
|
5 | (2) |
|
Chapter 2 A Developer's Overview |
|
|
7 | (22) |
|
The Anatomy of a Workspace |
|
|
7 | (4) |
|
|
|
8 | (1) |
|
Applications, Pages, Regions, and Items |
|
|
8 | (1) |
|
Workspaces, Applications, and Schemas |
|
|
9 | (2) |
|
A Final Word on Workspaces |
|
|
11 | (1) |
|
A Tour of the APEX Modules |
|
|
11 | (17) |
|
|
|
13 | (2) |
|
|
|
15 | (2) |
|
|
|
17 | (11) |
|
Administration and Team Development |
|
|
28 | (1) |
|
|
|
28 | (1) |
|
Chapter 3 Identifying the Problem and Designing the Solution |
|
|
29 | (8) |
|
Identifying System Requirements |
|
|
29 | (3) |
|
|
|
29 | (1) |
|
|
|
30 | (1) |
|
|
|
30 | (2) |
|
System Design with APEX in Mind |
|
|
32 | (2) |
|
Table Definition and User Interface Defaults |
|
|
32 | (1) |
|
|
|
33 | (1) |
|
Business Logic vs. User Interface Logic |
|
|
33 | (1) |
|
Placement of Database Objects |
|
|
34 | (1) |
|
Translating Theory to Practice |
|
|
34 | (1) |
|
|
|
35 | (2) |
|
|
|
37 | (18) |
|
Creating Objects with the Object Browser |
|
|
37 | (6) |
|
Loading Data with the Data Workshop Utility |
|
|
43 | (4) |
|
|
|
47 | (2) |
|
Loading and Running SQL Scripts |
|
|
49 | (2) |
|
|
|
51 | (3) |
|
Understanding User Interface Defaults |
|
|
52 | (1) |
|
Defining UI Defaults for Tables |
|
|
52 | (2) |
|
|
|
54 | (1) |
|
Chapter 5 Applications and Navigation |
|
|
55 | (42) |
|
The Create Application Wizard |
|
|
55 | (13) |
|
Sample and Packaged Applications |
|
|
56 | (2) |
|
|
|
58 | (1) |
|
Database Applications from Spreadsheets |
|
|
59 | (1) |
|
Database Applications from Scratch |
|
|
59 | (9) |
|
|
|
68 | (3) |
|
|
|
71 | (2) |
|
|
|
73 | (3) |
|
|
|
76 | (2) |
|
|
|
78 | (4) |
|
|
|
82 | (1) |
|
|
|
83 | (4) |
|
|
|
87 | (3) |
|
|
|
90 | (1) |
|
|
|
91 | (4) |
|
|
|
92 | (1) |
|
|
|
93 | (2) |
|
|
|
95 | (2) |
|
Chapter 6 Forms and Reports---The Basics |
|
|
97 | (56) |
|
|
|
97 | (2) |
|
|
|
99 | (11) |
|
Creating a Form on a Table |
|
|
99 | (5) |
|
Modifying a Form on a Table |
|
|
104 | (4) |
|
Looking Behind the Scenes |
|
|
108 | (2) |
|
|
|
110 | (4) |
|
Creating a Form on a Procedure |
|
|
110 | (2) |
|
Modifying a Form on a Procedure |
|
|
112 | (1) |
|
Looking Behind the Scenes |
|
|
113 | (1) |
|
Master-Detail Report and Form |
|
|
114 | (10) |
|
Creating a Master-Detail Report and Form |
|
|
114 | (4) |
|
Modifying a Master-Detail Report |
|
|
118 | (6) |
|
|
|
124 | (4) |
|
Understanding Session State |
|
|
125 | (1) |
|
Sharing Database Connections |
|
|
125 | (1) |
|
Setting and Retrieving Session State |
|
|
126 | (1) |
|
|
|
126 | (2) |
|
|
|
128 | (2) |
|
Page vs. Application Items |
|
|
128 | (1) |
|
The Importance of Bind Variables |
|
|
129 | (1) |
|
|
|
129 | (1) |
|
|
|
130 | (1) |
|
|
|
131 | (6) |
|
Creating a Searchable APEX Report |
|
|
131 | (2) |
|
|
|
133 | (1) |
|
Looking Behind the Scenes---APEX Report |
|
|
134 | (1) |
|
Looking Behind the Scenes---APEX Master-Detail Forms |
|
|
135 | (2) |
|
|
|
137 | (9) |
|
|
|
137 | (2) |
|
Placing Multiple Items in the Same Row |
|
|
139 | (1) |
|
|
|
140 | (3) |
|
|
|
143 | (1) |
|
|
|
144 | (2) |
|
|
|
146 | (2) |
|
Adding a Help Text Region |
|
|
146 | (1) |
|
|
|
147 | (1) |
|
|
|
148 | (3) |
|
|
|
151 | (2) |
|
Chapter 7 Forms and Reports---Advanced |
|
|
153 | (50) |
|
|
|
153 | (6) |
|
|
|
153 | (3) |
|
|
|
156 | (3) |
|
Looking Behind the Scenes |
|
|
159 | (1) |
|
|
|
159 | (29) |
|
Creating an Interactive Report |
|
|
160 | (2) |
|
Running an Interactive Report |
|
|
162 | (2) |
|
Restricting Functionality by Report |
|
|
164 | (1) |
|
Restricting Functionality by Column |
|
|
165 | (1) |
|
Using the Column Heading Menu |
|
|
165 | (1) |
|
|
|
166 | (3) |
|
|
|
169 | (1) |
|
|
|
169 | (2) |
|
|
|
171 | (1) |
|
|
|
172 | (1) |
|
|
|
172 | (1) |
|
|
|
173 | (1) |
|
|
|
174 | (1) |
|
Adding Charts to Interactive Reports |
|
|
174 | (1) |
|
|
|
175 | (1) |
|
|
|
176 | (1) |
|
Saving an Interactive Report |
|
|
176 | (2) |
|
Resetting an Interactive Report |
|
|
178 | (1) |
|
|
|
178 | (1) |
|
|
|
179 | (1) |
|
|
|
179 | (2) |
|
Modifying an Interactive Report |
|
|
181 | (6) |
|
Looking Behind the Scenes |
|
|
187 | (1) |
|
|
|
188 | (7) |
|
Understanding Calendar Types |
|
|
188 | (1) |
|
|
|
188 | (6) |
|
Looking Behind the Scenes |
|
|
194 | (1) |
|
|
|
195 | (7) |
|
Writing Queries for Charts |
|
|
196 | (1) |
|
|
|
196 | (3) |
|
Filtering Data Using a Chart |
|
|
199 | (2) |
|
Looking Behind the Scenes |
|
|
201 | (1) |
|
|
|
202 | (1) |
|
Chapter 8 Programmatic Elements |
|
|
203 | (32) |
|
|
|
203 | (1) |
|
|
|
203 | (2) |
|
|
|
205 | (10) |
|
|
|
205 | (5) |
|
|
|
210 | (2) |
|
|
|
212 | (3) |
|
|
|
215 | (5) |
|
|
|
215 | (1) |
|
|
|
215 | (1) |
|
|
|
216 | (4) |
|
|
|
220 | (5) |
|
|
|
220 | (1) |
|
|
|
221 | (1) |
|
Processes in the Help Desk Application |
|
|
221 | (4) |
|
|
|
225 | (2) |
|
|
|
227 | (6) |
|
|
|
233 | (2) |
|
|
|
235 | (28) |
|
User Maintenance Navigation |
|
|
235 | (4) |
|
User Maintenance Data Entry |
|
|
239 | (6) |
|
|
|
245 | (1) |
|
Custom Authentication Schemes |
|
|
245 | (2) |
|
|
|
247 | (1) |
|
|
|
248 | (3) |
|
|
|
251 | (3) |
|
|
|
254 | (2) |
|
|
|
256 | (4) |
|
|
|
260 | (1) |
|
|
|
261 | (2) |
|
Chapter 10 Application Bundling and Deployment |
|
|
263 | (20) |
|
Identifying Application Components |
|
|
263 | (11) |
|
|
|
264 | (1) |
|
|
|
264 | (4) |
|
|
|
268 | (3) |
|
|
|
271 | (3) |
|
|
|
274 | (6) |
|
|
|
275 | (1) |
|
|
|
276 | (1) |
|
|
|
276 | (1) |
|
|
|
276 | (1) |
|
|
|
276 | (2) |
|
|
|
278 | (1) |
|
|
|
278 | (1) |
|
|
|
279 | (1) |
|
|
|
279 | (1) |
|
|
|
280 | (2) |
|
|
|
282 | (1) |
|
Chapter 11 Understanding Websheets |
|
|
283 | (28) |
|
|
|
283 | (2) |
|
|
|
285 | (2) |
|
|
|
285 | (2) |
|
|
|
287 | (1) |
|
|
|
287 | (2) |
|
|
|
289 | (1) |
|
|
|
290 | (1) |
|
|
|
291 | (5) |
|
|
|
296 | (13) |
|
|
|
296 | (3) |
|
|
|
299 | (1) |
|
|
|
300 | (9) |
|
|
|
309 | (1) |
|
|
|
309 | (1) |
|
|
|
310 | (1) |
|
|
|
310 | (1) |
|
Chapter 12 A Websheet Example |
|
|
311 | (18) |
|
|
|
311 | (1) |
|
Creating and Configuring a Websheet Application |
|
|
312 | (3) |
|
Adding Content to a Websheet |
|
|
315 | (12) |
|
|
|
316 | (2) |
|
|
|
318 | (1) |
|
|
|
319 | (1) |
|
Creating Alternate Default Reports |
|
|
319 | (2) |
|
|
|
321 | (5) |
|
|
|
326 | (1) |
|
|
|
327 | (1) |
|
|
|
327 | (2) |
|
Chapter 13 Extended Developer Tools |
|
|
329 | (22) |
|
|
|
329 | (3) |
|
|
|
329 | (1) |
|
|
|
330 | (1) |
|
|
|
331 | (1) |
|
|
|
331 | (1) |
|
Application and Page Groups |
|
|
332 | (2) |
|
|
|
332 | (2) |
|
|
|
334 | (1) |
|
APEX Views and the APEX Dictionary |
|
|
334 | (4) |
|
|
|
335 | (1) |
|
|
|
335 | (3) |
|
|
|
338 | (1) |
|
|
|
338 | (3) |
|
|
|
338 | (1) |
|
|
|
339 | (2) |
|
Monitoring Your APEX Application |
|
|
341 | (2) |
|
|
|
341 | (1) |
|
|
|
341 | (2) |
|
|
|
343 | (1) |
|
|
|
343 | (1) |
|
|
|
344 | (5) |
|
|
|
344 | (1) |
|
|
|
345 | (1) |
|
Configuring Build Options |
|
|
346 | (1) |
|
Prompting for Build Option Status |
|
|
346 | (1) |
|
|
|
347 | (1) |
|
Reporting on Build Option Utilization |
|
|
348 | (1) |
|
|
|
349 | (1) |
|
APEX and Oracle SQL Developer |
|
|
349 | (1) |
|
|
|
349 | (1) |
|
|
|
350 | (1) |
|
|
|
350 | (1) |
|
Chapter 14 Managing Workspaces |
|
|
351 | (18) |
|
Learning About Your Environment |
|
|
351 | (2) |
|
Viewing Instance Information |
|
|
352 | (1) |
|
Checking the APEX Version |
|
|
353 | (1) |
|
|
|
353 | (3) |
|
|
|
354 | (1) |
|
|
|
354 | (2) |
|
|
|
356 | (7) |
|
Developer Activity and Click Count Logs |
|
|
356 | (1) |
|
|
|
357 | (1) |
|
|
|
358 | (1) |
|
Websheet Database Objects |
|
|
358 | (1) |
|
|
|
358 | (1) |
|
|
|
359 | (1) |
|
|
|
360 | (2) |
|
Interactive Report Settings |
|
|
362 | (1) |
|
Managing Users and Groups |
|
|
363 | (4) |
|
|
|
363 | (1) |
|
|
|
364 | (2) |
|
Organizing Users into Groups |
|
|
366 | (1) |
|
Viewing Usage Reports and Dashboards |
|
|
367 | (1) |
|
|
|
367 | (2) |
|
Chapter 15 Team Development |
|
|
369 | (28) |
|
Team Development Overview |
|
|
369 | (2) |
|
Team Development Interface |
|
|
371 | (5) |
|
|
|
371 | (1) |
|
Team Development Home Page |
|
|
372 | (1) |
|
|
|
373 | (1) |
|
|
|
374 | (2) |
|
|
|
376 | (1) |
|
|
|
376 | (4) |
|
|
|
376 | (3) |
|
|
|
379 | (1) |
|
|
|
379 | (1) |
|
|
|
380 | (2) |
|
|
|
380 | (1) |
|
|
|
381 | (1) |
|
Features by Milestone Tab |
|
|
382 | (1) |
|
|
|
382 | (1) |
|
|
|
383 | (1) |
|
|
|
384 | (7) |
|
|
|
384 | (3) |
|
Polishing the Feedback Page |
|
|
387 | (3) |
|
|
|
390 | (1) |
|
|
|
391 | (1) |
|
Communication Between Workspaces |
|
|
391 | (1) |
|
|
|
391 | (5) |
|
|
|
392 | (1) |
|
|
|
393 | (1) |
|
Team Development Settings |
|
|
393 | (1) |
|
|
|
394 | (1) |
|
|
|
395 | (1) |
|
User Roles for Team Development |
|
|
396 | (1) |
|
|
|
396 | (1) |
|
Chapter 16 Dynamic Actions |
|
|
397 | (16) |
|
|
|
397 | (1) |
|
Breaking Down Dynamic Actions |
|
|
397 | (1) |
|
Dynamic Actions in the Help Desk Application |
|
|
398 | (13) |
|
|
|
398 | (4) |
|
|
|
402 | (2) |
|
Dynamic Actions with Multiple Triggering Elements |
|
|
404 | (1) |
|
Dynamic Actions Using PL/SQL |
|
|
405 | (2) |
|
Dynamic Actions Using JavaScript |
|
|
407 | (4) |
|
|
|
411 | (2) |
| Index |
|
413 | |