Yii Project Blueprints

From conception to production, learn how to develop real-world applications with the Yii framework

Yii Project Blueprints

Blueprints
Charles R. Portwood II

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

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 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.

+ Collection
Free Sample

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
Summary
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
Summary
Chapter 3: Scheduled Reminders
Prerequisites
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
Summary
Chapter 4: Developing an Issue-tracking Application
Prerequisites
Describing the project
Initializing the project
Managing users
Implementing the issue-management component
Handling inbound e-mail parsing
Summary
Chapter 5: Creating a Microblogging Platform
Prerequisites
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
Summary
Chapter 6: Building a Content Management System
Prerequisites
Describing the project
Initializing the project
Exploring the skeleton project
Displaying and managing content
Viewing and managing categories
Social authentication with HybridAuth
Summary
Chapter 7: Creating a Management Module for the CMS
Prerequisites
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
Summary
Chapter 8: Building an API for the CMS
Prerequisites
Describing the project
Initializing the project
Extending Yii to return data
Authenticating users
Implementing CRUD actions
Summary

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.

Authors

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
Summary
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
Summary
Chapter 3: Scheduled Reminders
Prerequisites
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
Summary
Chapter 4: Developing an Issue-tracking Application
Prerequisites
Describing the project
Initializing the project
Managing users
Implementing the issue-management component
Handling inbound e-mail parsing
Summary
Chapter 5: Creating a Microblogging Platform
Prerequisites
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
Summary
Chapter 6: Building a Content Management System
Prerequisites
Describing the project
Initializing the project
Exploring the skeleton project
Displaying and managing content
Viewing and managing categories
Social authentication with HybridAuth
Summary
Chapter 7: Creating a Management Module for the CMS
Prerequisites
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
Summary
Chapter 8: Building an API for the CMS
Prerequisites
Describing the project
Initializing the project
Extending Yii to return data
Authenticating users
Implementing CRUD actions
Summary

Book Details

ISBN 139781783287734
Paperback320 pages
Read More