Free Sample
+ Collection

Yii Project Blueprints

Charles R. Portwood II

From conception to production, learn how to develop real-world applications with the Yii framework
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783287734
Paperback320 pages

About This Book

  • Develop real-world web applications through easy-to-follow, step-by-step processes
  • Create eight projects from beginning to end to help you explore the full power of Yii
  • Build a fast, user-based, database-driven content management system with a dashboard and RESTful API

Who This Book Is For

This book is for intermediate-to-advanced level Yii developers who want to master the Yii framework and develop real-world applications. You should have experience of working with Yii, PHP 5, HTML, CSS, and JavaScript.

Table of Contents

Chapter 1: A Task-management Application
Describing the project
The database
Initializing the project
Creating the database with migrations
Creating models with Gii
Creating the presentation layer
Finishing touches
Chapter 2: Discovering What's Nearby
Describing the project
Designing the database
Initializing the project
Creating the database
Creating the locations model
Importing the data feed
Google APIs
Creating the presentation layer
Chapter 3: Scheduled Reminders
Describing the project
Initializing the project
Creating the database
Creating models
Searching for events and displaying them
Creating the controller to manage users
Sending e-mail reminders
Chapter 4: Developing an Issue-tracking Application
Describing the project
Initializing the project
Managing users
Implementing the issue-management component
Handling inbound e-mail parsing
Chapter 5: Creating a Microblogging Platform
Describing the project
Initializing the project
Enabling users to manage their information
Viewing a timeline of shares
Sharing new content
Searching for shares
Sharing on Twitter with HybridAuth
Chapter 6: Building a Content Management System
Describing the project
Initializing the project
Exploring the skeleton project
Displaying and managing content
Viewing and managing categories
Social authentication with HybridAuth
Chapter 7: Creating a Management Module for the CMS
What are modules?
Describing the project
Initializing the project
Creating the module
Adding custom routes to a module
Creating the controllers
Migrating the functionality to the module
Uploading files
Strategies for deploying our application
Chapter 8: Building an API for the CMS
Describing the project
Initializing the project
Extending Yii to return data
Authenticating users
Implementing CRUD actions

What You Will Learn

  • Organize and structure your projects from start to finish
  • Create applications from scratch and use Gii to create models
  • Use Yii database migrations to create database agnostic applications and manage your database changes
  • Create secure multiuser role-based applications that use Bcrypt password hashing
  • Integrate with third-party libraries using Composer
  • Develop console applications that seamlessly integrate with your applications
  • Utilize SendGrid to send and receive e-mails within your application

In Detail

The Yii framework is a high-performance, fast, open source, and a rapid development PHP framework that can be used to develop modern web applications. It provides the toolkit for developing both personal projects and enterprise applications. Yii's component-based architecture lets developers build modules so that they aren't customizing the underlying code base and so that anything they build is easy to use in different projects.

This book is a step-by-step guide to developing reusable real-world applications using the Yii framework. The book will guide you through several projects from the project conception through to planning your project and implementation. You will explore the key features of the framework and learn how to use it efficiently and effectively to build solid core applications that you'll be able to reuse in real-world projects. At the end of each project, you'll have a better understanding of Yii and a working application that you can use in the future.


Read More