O'Reilly logo

CouchDB and PHP Web Development Beginner's Guide by Tim Juravich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Modeling Users

Believe it or not, we've already done quite a bit to make our interactions with CouchDB a simple process. In this chapter, we'll get right into the meat of CouchDB and start to model our user documents.

To be more specific we will:

  • Install Bootstrap, a toolkit from Twitter that will handle the heavy lifting of CSS, forms, buttons, and more
  • Take a close look at how CouchDB stores user documents by default and how we can add fields to them
  • Add basic functionality for users so they can sign up, log in, and log out of our application
  • Learn how to handle exceptions and errors

This is going to be our most rewarding chapter yet; you'll love offloading some of the standard authentication and security to CouchDB. Buckle up. It's going ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required