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 scheduled reminders project can be broken down into four main components:

  • Users who will create events and reminders

  • Events that the user wants to be reminded of

  • Reminders for the actual event (of which there could be many)

  • A command-line task to process and send out the reminders to the user via e-mail

Users

The first component of our application is the users who will be using it. Users will be responsible to create both events and reminders for themselves. The users will also be the recipients of the reminder e-mails that they created. Using this information, we can simplify our database schema to the following structure:

ID INTEGER PRIMARY KEY
email STRING
password STRING
created INTEGER
updated INTEGER

In Chapter 1, A Task-management Application, we created a very primitive user authentication system that we'll be reusing and expanding upon and reusing in later chapters. In this chapter, we'll develop a system to create, delete, and manage the passwords of users with...