0%

Book Description

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.

  • 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

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!

Table of Contents

  1. Yii Rapid Application Development Hotshot
    1. Table of Contents
    2. Yii Rapid Application Development Hotsht
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
        1. Mission Briefing
        2. Why Is It Awesome?
        3. Your Hotshot Objectives
        4. Mission Checklist
        5. Task 1
        6. Prepare for Lift Off
        7. Engage Thrusters
        8. Objective Complete - Mini Debriefing
        9. Classified Intel
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Develop a Comic Book Database
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Setting up the LAMP Stack in One Step with XAMPP
        1. Engage Thrusters
        2. Objective Complete-Mini Debriefing
        3. Classified Intel
          1. Apache User Sharing
      3. Installing NetBeans IDE
        1. Engage Thrusters
        2. Objective Complete-Mini Debriefing
        3. Classified Intel
      4. Adding Xdebug to the Tool Set
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      5. Unpacking the Yii Framework
        1. Engage Thrusters
          1. Installing Yii
          2. Creating a Yii project
          3. Adding project in NetBeans
          4. Configuring the project in NetBeans
        2. Objective Complete - Mini Debriefing
      6. Initializing the Application Database
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      7. Generating an Application Scaffold
        1. Prepare for Lift Off
        2. Engage Thrusters
          1. Updating Database Configuration
          2. Enabling Gii
        3. Objective Complete - Mini Debriefing
        4. Classified Intel
      8. Beginning to Customize the App
        1. Engage Thrusters
          1. Menus
          2. Forms
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      9. Getting Familiar with NetBeans and PHPUnit Testing Tools
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      10. Mission Accomplished
      11. You Ready to go Gung HO? A Hotshot Challenge
    9. 2. Turn That DB into a Personal Mobile App
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Setting Up Your Mobile Device
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
        4. Classified Intel
      3. Detecting Mobile Browser
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      4. Creating a Mobile View
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      5. Finishing Touches for the Mobile View
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      6. Detecting Mobile Browser – The Real Deal
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      7. Adding Issue Number to the Book Object
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      8. Relationship Therapy
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      9. Creating a Mobile View Widget
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      10. Mission Accomplished
      11. You Ready to go Gung HO? A Hotshot Challenge
    10. 3. Access All Areas – Users and Logins
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Adding a User Object with CRUD
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      3. Making a User Management Interface
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      4. Storing Passwords
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      5. Activating Database User Login
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      6. Enforcing Secure Passwords
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      7. Adding User Functions – Wishlist
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      8. Configuring User Access
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      9. User Specific Menus
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      10. Mission Accomplished
      11. You Ready to go Gung HO? A Hotshot Challenge
    11. 4. Level Up! Permission Levels
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Adding Admin Function – Library Management
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      3. Adding User Functions – Library
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      4. Defining Roles and Access
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      5. Adding the RBAC Extension
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
        4. Classified Intel
      6. Adding Roles to User Management
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      7. Fine-tuning Permissions
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      8. Making History
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
        4. Classified Intel
      9. Mission Accomplished
      10. You Ready to go Gung HO? A Hotshot Challenge
    12. 5. Service Please – Integrating Service Data
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Google Me – Getting Started
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      3. Google Me – Putting the Rubber to the Road
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      4. Google Me – The Yii Way
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      5. Integrating with Comic Vine – The Search, Part 1
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      6. Integrating with Comic Vine – The Search, Part 2
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      7. Integrating with Comic Vine – The Details
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      8. Putting It All Together
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      9. Mission Accomplished
      10. You Ready to go Gung HO? A Hotshot Challenge
    13. 6. It's All a Game
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Updating the Database and Running Gii for Hangman
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      3. Creating a JSON Endpoint for Hangman
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      4. Developing the Controller – Creating the DB Entry
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      5. Developing the Controller – Making the Rules
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      6. Developing the View
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      7. Improving the View
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      8. Authorized Entry Only
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
        4. Classified Intel
      9. Reusing Code – Making a New Game
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      10. Mission Accomplished
      11. You Ready to go Gung HO? A Hotshot Challenge
    14. 7. Let It Work While You Sleep – Reports and Job Queues
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Reorganizing Menu Items
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      3. Scaffolding the Job Objects
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      4. Adding Job Registration
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      5. Adding Job Scheduling
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      6. Adding Job Processing
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      7. Creating and Registering a Job
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
        4. Classified Intel
      8. Creating a Graphical Report
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      9. Displaying Graphical Report Output
        1. Prepare for Lift Off
        2. Engage Thrusters
        3. Objective Complete - Mini Debriefing
      10. Mission Accomplished
      11. You Ready to go Gung HO? A Hotshot Challenge
    15. 8. Extend Yourself – Make a Module for Reuse
      1. Mission Briefing
        1. Why Is It Awesome?
        2. Your Hotshot Objectives
        3. Mission Checklist
      2. Selecting Code for Reuse
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      3. Preparing Your Module Framework
        1. Engage Thrusters
        2. Classified Intel
        3. Objective Complete-Mini Debriefing
      4. Moving Your Module Files
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      5. Writing a Migration Script
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
        3. Classified Intel
      6. Re-incorporating Your Module
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      7. Testing Your Module
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      8. Submitting Your Module
        1. Engage Thrusters
        2. Objective Complete - Mini Debriefing
      9. Mission Accomplished
      10. You Ready to go Gung HO? A Hotshot Challenge
    16. Index
54.210.85.205