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 dashboard module can be broken down into several components:

  • Initializing and configuring the dashboard module

  • Enabling custom routing for our module

  • Moving the management functionality out of our application and into the module

  • Adding file upload capabilities

  • Module deployment

Initializing the module

The first component of this project will consist of creating and configuring our module so that it integrates with our primary application. We'll accomplish this by making several changes to our main configuration file as well as creating the basic structure for the module that we'll be using. We'll also go over managing our module assets independently of our main application.

Routing with a module

In the Yii framework, the default routes are defined by the name of the module combined with the default routes that are specified within CUrlManager. Unfortunately, Yii does not natively provide the functionality to define our own custom routes for a module without modifying the...