In the last blog post you learned how to structure your jQuery applications like Angular applications. You created a single page on which to host all your other pages. In this post you are going to put those techniques to work by building a complete list, add, edit and delete page as shown in Figure 1 and Figure 2. You are going to use a Person table full of data such as First Name, Last Name, Email and Salary data for a set of people.
What's the problem that I'm trying to solve?
In my current project, I have a set of Enums on my server that represent certain lookup data. For example, I have a PhoneType and AddressType Enums that I use instead of using the specific integer that is used in the database. This makes the code more readable and there aren't a bunch of "magic ints" (tm/patent pending) thrown around throughout the code. This is a fairly standard practice.