Sometimes you will want to have the same event automatically populated in the calendar on a recurrent basis. For example, you go to lunch every day at 1 pm, or there might be a weekly office meeting every Monday morning.
In this case, we need to come up with a way of having events recur.
This can be simple or very complex. The simplest method is what we'll demonstrate in this chapter.
The simple method involves entering a frequency (daily, monthly, and so on) and a final date, where the events stop recurring.
On the server side, when it is asked to create that recurring event, the server actually iterates over the entire requested period and adds each individual event.
This is not extremely efficient, but it's simple to write, and ...