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


As shown throughout this book, the Yii framework is an extremely powerful, flexible, and easy PHP framework to work with. In this chapter, we completely overhauled how the Yii framework handles user authentication through JSON requests and adapts it to return both JSON and XML document types for an API that can be consumed by both web and native applications. In this chapter, we also covered what changes we needed to make in order to migrate functionality that was previously designed to be rendered directly to the client to our API to be rendered as JSON or XML. Finally, we adapted our API to respond to different types of HTTP requests on the same endpoint, allowing us to make a RESTful JSON API that is well documented.

Thank you for reading this book. Throughout this book, we've shown countless examples of how powerful and flexible Yii is. From working with third-party APIs to performing database-agnostic migrations and all the way to developing feature-complete applications complete...