Skip to Content
Oracle Web Applications: PL/SQL Developer's Intro
book

Oracle Web Applications: PL/SQL Developer's Intro

by Andrew Odewahn
September 1999
Intermediate to advanced
256 pages
7h 5m
English
O'Reilly Media, Inc.
Content preview from Oracle Web Applications: PL/SQL Developer's Intro

Example 1: An Anonymous Survey

Our first application will let users fill out anonymous surveys using a web browser. Surveys and opinion polls are some of the most common web applications, and usually consist of a list of questions. Users respond by selecting an answer from a small list of options. Most systems also have an option that lets users see the tabulated results for each survey.

This section walks through a simple process you can use to create a generic survey system. Our first step is to design a storyboard to define each screen in the system. This sketch helps us in the next step: designing a generic data model that we can use to construct each page. Our last step is to actually code the system.

Storyboard

In a typical survey application, the first screen presents a list of all available surveys. There are usually two options for each survey: to answer it or to view its tabulated results. If the user decides to answer a survey, she’s presented with a bunch of questions and a corresponding list of possible answers. She then answers the questions and presses “Submit” to save the responses in a database table. If the user chooses to view the results of a survey, she’s presented with a table summarizing all the previous responses. Figure 8.2 is a simple storyboard that captures these functions.

The storyboard for the anonymous survey

Figure 8-2. The storyboard for the anonymous survey

Data Model

We can use the storyboard ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF

Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF

Peter Koletzke, Duncan Mills
Oracle 11g

Oracle 11g

Lewis Cunningham
Oracle PL/SQL Programming: A Developer's Workbook

Oracle PL/SQL Programming: A Developer's Workbook

Steven Feuerstein, Andrew Odewahn

Publisher Resources

ISBN: 1565926870Supplemental ContentCatalog PageErrata