Free Sample
+ Collection

Yii Rapid Application Development HOTSHOT

Progressing
Lauren J. O'Meara, James R. Hamilton III

Written for intermediate to advanced PHP programmers, this project-based book is the perfect way to get to grips with Yii and rapidly accelerate your web application development times.
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook

Want this title & more?

$16.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 139781849517508
Paperback340 pages

About This Book

  • A series of projects to help you learn Yii and Rapid Application Development
  • Learn how to build and incorporate key web technologies
  • Use as a cookbook to look up key concepts, or work on the projects from start to finish for a complete web application

Who This Book Is For

This book is for intermediate to advanced level PHP programmers who want to master Yii.

Table of Contents

Chapter 1: Develop a Comic Book Database
Mission Briefing
Setting up the LAMP Stack in One Step with XAMPP
Installing NetBeans IDE
Adding Xdebug to the Tool Set
Unpacking the Yii Framework
Initializing the Application Database
Generating an Application Scaffold
Beginning to Customize the App
Getting Familiar with NetBeans and PHPUnit Testing Tools
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 2: Turn That DB into a Personal Mobile App
Mission Briefing
Setting Up Your Mobile Device
Detecting Mobile Browser
Creating a Mobile View
Finishing Touches for the Mobile View
Detecting Mobile Browser – The Real Deal
Adding Issue Number to the Book Object
Relationship Therapy
Creating a Mobile View Widget
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 3: Access All Areas – Users and Logins
Mission Briefing
Adding a User Object with CRUD
Making a User Management Interface
Storing Passwords
Activating Database User Login
Enforcing Secure Passwords
Adding User Functions – Wishlist
Configuring User Access
User Specific Menus
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 4: Level Up! Permission Levels
Mission Briefing
Adding Admin Function – Library Management
Adding User Functions – Library
Defining Roles and Access
Adding the RBAC Extension
Adding Roles to User Management
Fine-tuning Permissions
Making History
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 5: Service Please – Integrating Service Data
Mission Briefing
Google Me – Getting Started
Google Me – Putting the Rubber to the Road
Google Me – The Yii Way
Integrating with Comic Vine – The Search, Part 1
Integrating with Comic Vine – The Search, Part 2
Integrating with Comic Vine – The Details
Putting It All Together
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 6: It's All a Game
Mission Briefing
Updating the Database and Running Gii for Hangman
Creating a JSON Endpoint for Hangman
Developing the Controller – Creating the DB Entry
Developing the Controller – Making the Rules
Developing the View
Improving the View
Authorized Entry Only
Reusing Code – Making a New Game
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 7: Let It Work While You Sleep – Reports and Job Queues
Mission Briefing
Reorganizing Menu Items
Scaffolding the Job Objects
Adding Job Registration
Adding Job Scheduling
Adding Job Processing
Creating and Registering a Job
Creating a Graphical Report
Displaying Graphical Report Output
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge
Chapter 8: Extend Yourself – Make a Module for Reuse
Mission Briefing
Selecting Code for Reuse
Preparing Your Module Framework
Moving Your Module Files
Writing a Migration Script
Re-incorporating Your Module
Testing Your Module
Submitting Your Module
Mission Accomplished
You Ready to go Gung HO? A Hotshot Challenge

What You Will Learn

  • Catapult your application into existence with Yii's scaffolding capabilities
  • Mobilize your web application with Yii and jQuery Mobile
  • Lock down areas of your application with access control
  • Manage users and permission levels
  • Incorporate Software as a Service into your application
  • Gamify your data
  • Mine your information with data query jobs and reporting
  • Reuse your work as Yii modules

In Detail

Yii is a high performance PHP framework for rapid web application development. It is well designed, well supported, easy to learn, and easy to maintain. If you are beginning to learn web development or are a seasoned programmer with demanding clients, learning Yii will benefit your projects and career.

Yii Rapid Application Development Hotshot will guide you through a series of projects covering a variety of web development hot topics to build a complete application. You will explore key features of a web application as implemented in Yii and experience the power of rapid application development.

Supercharge your projects and your programming ability by becoming a Yii Rapid Application Development Hotshot. Start with the topics that grab your attention or work through each project in sequence. At the end of each project, you will have a working application, a better understanding of Yii, and a new web development skill under your belt.

Integrate with Google API. Gamify your data. Share your functionality as a service. Mobilize your app. Mine and report on your information. Have fun and produce results!

Authors

Read More