Okay. Taking a break for today. Here's a summary of what I've done:
- I've modified the structure of the Punch module database table.
- Modified the related Stored Procedures in the db.
- Updated the data controller functions in the module souce. These are found in App_Code/[Module Name]/SqlDataProvider.cs
- Updated DataProvider.cs to reflect the modified function headers. In the book, it refers to their signatures. Is this their "prototype" as it used to be called? Or is prototyping the mere act of informing another section of code about the function headers, as in an #include statement in old-time C?
This is done because SqlDataProvider.cs implements the actual functions defined in DataProvider.cs (sql d.p. is an implementation of the abstract d.p.) - Updated the TimePunchInfo class, which contains the information for a single record retreived from the db. This is cool. This is basically the data item that you insert and retrieve. In the case of the TimePunch module, it's the individual punch (in or out) of a user.
in the store, this might be a store item, it might be a buyer, a transaction. What else? Oooh. Exciting.
The next thing to do, according to the book, is start work on the presentation layer, which is the part that connects to the DNN UI. This involves the settings control, the edit control and the view control, each with its own .ascx files, source code and reasource files. I'll see you on page 246, same bat-time, same bat-channel!