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

Summary


Wow, we covered quite a bit in this chapter! We expanded upon our user authentication and management to include secure activation and password resets if a user forgets their password, and enabled our users to securely and safely change both their own e-mail address and password with proper verification and notifications. Moreover, we implemented all of these actions using CFormModel, which enabled us to cleanly isolate the logic for handling these actions in forms rather than in our controllers. Finally, we implemented an asynchronous CListViews and utilized HybridAuth to share on Twitter using our OAuth credentials.

The user components that we developed in this chapter can easily be used and adapted for almost any application that will require user authentication and management. In the next chapter, we'll be utilizing these components to build a full-scale content management system that will allow us to upload content and photos and also allow us to share this content with others...