A method for deploying a web-based application from a development site to
a client site is described in which procedural logic of the web-based
application is captured as declarative statements and stored in database
objects managed by the database server. During operation of the
application, a request indicating a page number of one of the pages is
received from a user to perform an operation within the application. An
instruction is retrieved from the database based on the page number, and
the request is completed based on performing the retrieved instruction.
The instructions may include a branch, a computation, a validation, or
other kind of processing data.