objects () |> functions


Uno/Dos - Step 2

As the overview page mentioned, this model is pretty straightforward. There are three static classes (AuthorizationLevel, CommentStatus, and PostStatus) to keep us from using magic strings in the code. The objects that will actually be stored in the database are Category, Comment, Page, Post, User, and WebLog. Revision and Authorization give structure to the collections stored within other objects (Page/Post and User, respectively).

If you're reading through this for learning, you'll want to familiarize yourself with the files as they are in C# at this step before continuing to Tres and Quatro.

Back to Step 2

Fork me on GitHub