Creating the Pattern

Now that we understand the power of this pattern, we will learn how to put it to use in our application. Up to this point, we have created all the components that are needed to create an email application, but we are missing the object that ties them together in some way. In this section, we will create an object named Email, which will perform all the duties that are necessary to gather data for each of the components. But rather than focus on the details of each method and the population of different components, we will focus on how to add the Data Reflection pattern to the object. Therefore, we will create all the methods, but we will not add code to them until Chapter 21, “Interacting with a Database: The Server-Side,” ...

Get Ajax for Web Application Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.