Search all manuals Search this manual Membase and ASP.NET MVC 3
Tutorial Additional Resources Community Wiki Community Forums
Couchbase SDKs Parent Section Membase and ASP.NET MVC 3 Tutorial
Chapter Sections  8. Stage 7: Making the application a little
more social  Web applications tend to be more fun if there's
some sort of social aspect to them. Usually a diary application
would be a private affair. Let's add a social aspect to this to
make it a little more interesting.  The application should break
down each diary entry into a list of words. Every user will have
a list of every word they have ever written in a diary entry.
Each word will also have a user list associated with it,
effectively keeping track of every user who has ever said that
word in one of their diary entries.  Add the content of Listing
19 to the end of the MakeEntry action, just before the return
statement.  Listing 19: Creating the word lists.  // Finally we
want to store each word in the diary entry // into the database
such that a map