Skip to main content

Processing a Ticket Order

Now that we have created our order processing classes, it's time to make use of them. To understand the next few development steps, let's look more closely at what happens when a user clicks on a generated description: ticketssample.gif button to order tickets for a show.

  1. The browser sends a request to the Caché server to run a method named AddShow.

  2. AddShow creates or updates the necessary TicketOrder and TicketItem objects on the server.

  3. An updated copy of the Order page is displayed, so that the user can see confirmation of his or her order and, if necessary, modify it.

Let's begin by creating the AddShow method.

FeedbackOpens in a new tab