XPages 3: Domino Strikes Back
Alright, alright, so it was Star Wars 5 where the striking back occurred. But still a great reference! Now it’s Domino’s turn for some action. We’ve talked about the parts of this that require thinking like a web developer, so when do we get to be Domino developers again? Right now! Assuming we have a framework, and assuming we have a good idea of what we want things to look like, we’re ready to start thinking about the data. However, we’re going to do all of this without creating a single form.
Attached below is a small, very simple, sample database. With a little knowledge of the constructs, and without any thought to the design, something like this can be created in as few as 10 minutes in XPages, and that’s only the beginning. It’s a simple page that allows you to enter two entries to a ‘form’ and save those, displaying the data in the table below. These are all things that are based on Domino structures. The Data Entry fields emulate a Form, while the Table emulates and even draws from a view on the Notes back end. To understand how the data is being stored, we need to do a little digging into the nature of how our XPage is defined.