Skip to Main Content
Learning Oracle PL/SQL
book

Learning Oracle PL/SQL

by Bill Pribyl, Steven Feuerstein
November 2001
Beginner content levelBeginner
424 pages
11h 11m
English
O'Reilly Media, Inc.
Content preview from Learning Oracle PL/SQL

4.2. Using PL/SQL to Create Web Pages

The biggest reason that we need to write programs that generate HTML pages "on-the-fly" is to extract (or store) information from the database. You cannot produce these pages in advance because their content depends on information that is potentially changing all the time. In this book, I refer to these as dynamic pages. Be careful, though; this term can easily confuse. As I use the term, "dynamic" does not mean that the page is full of animated images, dancing monkeys, and unsightly blinking text. Nor does "dynamic" refer to dynamic HTML (DHTML), which is a relatively new extension to HTML you can read about in a dozen different books (not this one, I'm afraid). Even HTML stored in static files can have animation and DHTML. Instead, in this book I'm using the term dynamic to refer to the generation method, not the visual result; it means that the HTML that arrives at the user's browser was output from a computer program and not merely copied from a file.

A common use of dynamic pages is to respond to requests the user makes by filling out a form on a web page. For example, if a library patron wants to find a particular book, he or she would enter some search criteria into a form on the screen. The system would search the database for anything matching the criteria, and then deliver a dynamically-built results page to the user. As you might guess, when compared with writing a static page, it's more complex to write a program that generates ...

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

Learning Oracle PL/SQL

Learning Oracle PL/SQL

Darryl Hurley
Oracle PL/SQL Programming, Third Edition

Oracle PL/SQL Programming, Third Edition

Steven Feuerstein, Bill Pribyl

Publisher Resources

ISBN: 0596001800Supplemental ContentCatalog PageErrata