Blogging applications are common on the Web, so that’s what we’ll tackle for the broadest reach. We’ll be converting a mini blogging app called ChittrChattr into Glassware. (In classic web-application form, we drop some vowels from the real words to make our app’s name.)
Blogs are relatively easy to model, and we all understand how they work: you log in and make a post to a blog, and users can read those posts. For an extra bit of fun, ChittrChattr includes a follow feature. A user can choose to follow another’s blog and view a listing of all posts made on all blogs she’s chosen to follow.
The model of our blog software is basic, as you can see in Figure 30, The blog model in UML. A user has a blog, and a blog has many posts. A ...
Get Programming Google Glass now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.