Book Image

Yii Project Blueprints

By : Charles R. Portwood ll
Book Image

Yii Project Blueprints

By: Charles R. Portwood ll

Overview of this book

Table of Contents (15 chapters)
Yii Project Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Describing the project


Our CMS can be broken down into several different components:

  • Users who will be responsible for viewing and managing the content

  • Content to be managed

  • Categories for our content to be placed into

  • Metadata to help us further define our content and users

  • Search engine optimizations

Users

The first component of our application is the users who will perform all the tasks in our application. For this application, we're going to largely reuse the user database and authentication system we expanded upon in Chapter 5, Creating a Microblogging Platform. In this chapter, we'll enhance this functionality by allowing social authentication. Our CMS will allow users to register new accounts from the data provided by Twitter; after they have registered, the CMS will allow them to sign-in to our application by signing in to Twitter.

To enable us to know if a user is a socially authenticated user, we have to make several changes to both our database and our authentication scheme. First, we...