Beginning Yii [Video]

Beginning Yii [Video]

Starting
Chris Backhouse

Fast track your web application development by harnessing the power of the Yii PHP framework
$17.00
RRP $84.99
$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.

Video Details

ISBN 139781782164487
Course Length2 hours 44 minutes

About This Book

  • Develop sophisticated Web 2.0 apps using PHP and Yii
  • Ideal for PHP developers new to Yii and framework-based development
  • Build powerful, reliable, and scalable apps fast
  • Clear and concise video tutorials from an experienced Yii developer

 

Who This Book Is For

If you are a PHP developer, either with or without previous framework experience, and you have an interest to learn Yii and to rapidly develop modern, sophisticated web applications, then this course is for you. No prior knowledge of Yii is expected.

Table of Contents

Exploring Yii
Introduction to the Course
What Is a Framework?
What Is an MVC?
MVC Request Routing
Introducing Yii
Getting Started with Yii
Getting Started with Yii
Generating a Web Application with Yii
Configuring Yii
Developing a Photo Gallery Application
Using Gii to Generate the CRUD Application
Starting Development (Using Our IDE)
Introducing the CActiveRecord Object
Forms and the CHtml Component
Using Third-party Extensions to Enhance Functionality
Simplifying Database Queries Using Yii's ActiveRecord Class
Creating and Updating Our Album Model
Embedding a Subform
Testing
Testing Our Application
Setting Up Our Test Environment
Creating a Unit Test to Automate the Testing of Common Tasks
Using Fixtures
Functional Testing with Selenium Server
The Photo Application
Installing Yii Extensions
Preparing the Forms and Inserting the Uploader Widget
Building a Controller Action to Upload and Crunch Our Images
Understanding the GridView and Customizing It's Layout
Adding Finishing Touches to the Photo Album Management Forms
Themes, Layout and User Access
Theming an Application
Modifying the Default System Layout to Modify the Menus
User Authentication – The Default Yii Model
Extending the Yii User Model to Suit Our Application
Understanding the Yii Security Model
Debugging, Logging and Error Handling in Yii
Using Xdebug to Debug Your Applications in Real Time
Configuring Yii to Use Different Log Routes
Profiling SQL queries
Installing and Using the Yii Debug Toolbar Extension
Exception Handling in Yii Using the CException and CHttpException classes
Customizing Our Album Interface
Including Tags -Part 1
Including Tags – Part 2 and Using Model Behaviors
Using Lookups and Dropdown-List Boxes
Adding the Comment Add and Display Forms
Deploying Our Photo Application

What You Will Learn

  • Understand the basics of OOP, MVCs, and how to install and set up Yii
  • Generate the Yii application from your database model
  • Query databases using the Yii ActiveRecord class
  • Setup, install, and use automated testing tools such as PHPUnit and the Selenium web server
  • Search and install third-party extensions
  • Upload and manipulate images within Yii
  • Enhance user experience by using themes and layouts in Yii
  • Implement user authentication and customize default classes to suit your application
  • Carry out debugging, logging, and error handling in Yii

In Detail

Yii is a fast, secure, and professional web development framework that makes PHP ideal for Web 2.0 applications. The Beginning Yii video course shows you how to rapidly develop sophisticated and reliable web apps using PHP and Yii.

Using screencast demonstrations and clear explanations, this friendly video course will show you how to:

  • Install and configure Yii on your existing web stack
  • Create working prototypes in a single command using Yii application generators
  • Develop applications that follow the popular Model-View-Controller methodology
  • Manipulate data from various sources with the ActiveRecord class
  • Find and use powerful third party extensions, quickly adding functionality to your apps
  • Improve your site’s look and feel with themes and layouts
  • Test and debug your application with PHPUnit and Selenium
  • Build solid error handlers
  • Serve custom images from your Yii code
  • Deploy your application to a live server environment

Throughout the videos Chris Backhouse shares his practical experiences as a Yii developer in a clear, friendly manner. If you’ve never used Yii before you’ll be amazed how quickly it enables you to build powerful and reliable applications.

You’ve heard about the benefits of web frameworks for web application developers. Now watch Beginning Yii and experience these benefits for yourself.

Style and Approach

Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

Beginning Yii is a step-by-step tutorial for developing web applications using Yii. This video course follows the iterative approach to software development while developing a photo gallery website.

Authors

Screenshots

Table of Contents

Exploring Yii
Introduction to the Course
What Is a Framework?
What Is an MVC?
MVC Request Routing
Introducing Yii
Getting Started with Yii
Getting Started with Yii
Generating a Web Application with Yii
Configuring Yii
Developing a Photo Gallery Application
Using Gii to Generate the CRUD Application
Starting Development (Using Our IDE)
Introducing the CActiveRecord Object
Forms and the CHtml Component
Using Third-party Extensions to Enhance Functionality
Simplifying Database Queries Using Yii's ActiveRecord Class
Creating and Updating Our Album Model
Embedding a Subform
Testing
Testing Our Application
Setting Up Our Test Environment
Creating a Unit Test to Automate the Testing of Common Tasks
Using Fixtures
Functional Testing with Selenium Server
The Photo Application
Installing Yii Extensions
Preparing the Forms and Inserting the Uploader Widget
Building a Controller Action to Upload and Crunch Our Images
Understanding the GridView and Customizing It's Layout
Adding Finishing Touches to the Photo Album Management Forms
Themes, Layout and User Access
Theming an Application
Modifying the Default System Layout to Modify the Menus
User Authentication – The Default Yii Model
Extending the Yii User Model to Suit Our Application
Understanding the Yii Security Model
Debugging, Logging and Error Handling in Yii
Using Xdebug to Debug Your Applications in Real Time
Configuring Yii to Use Different Log Routes
Profiling SQL queries
Installing and Using the Yii Debug Toolbar Extension
Exception Handling in Yii Using the CException and CHttpException classes
Customizing Our Album Interface
Including Tags -Part 1
Including Tags – Part 2 and Using Model Behaviors
Using Lookups and Dropdown-List Boxes
Adding the Comment Add and Display Forms
Deploying Our Photo Application

Video Details

ISBN 139781782164487
Course Length2 hours 44 minutes
Read More