O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Yii2 Application Development Solutions–Volume 2

Video Description

Explore the advanced concepts of the Yii2 framework to create modern web applications quickly…

About This Video

  • Explore Yii2's advanced features efficiently and learn to use official extensions, extend any component, or write a new one

  • Utilize the best testing technologies such as Codeception, PhpUnit, Atoum, and Behat.

  • Master Yii's great utilities to handle logging and handling errors.

  • In Detail

    Yii is an optimal, high-performance PHP framework for developing Web 2.0 applications. It provides fast, secure, and professional features to create robust projects; however, this rapid development requires the ability to organize common tasks collectively to build a complete application. Being extremely performance-optimized, Yii is the perfect choice for projects of any size. It comes packaged with tools to help test and debug your application and has clear and comprehensive documentation.

    This video course is a collection of Yii2 videos. Each video is represented as a full and independent item, showcasing solutions from real web applications. So you can easily reproduce them in your environment and learn Yii2 rapidly and painlessly…

    In this video, you will get started by configuring your Yii2 application. After that, we will focus on how to make our extension as efficient as possible. Then we will cover some best practices for developing an application that will run smoothly until you have very high loads. Moving ahead, we will provide various tips, which are especially useful in application deployment and when developing an application in a team. Later, we will introduce the best technologies for testing and we will see how to write simple tests and avoid regression errors in our application.

    Finally, we conclude this course by discussing review logging, analyzing the exception stack trace, and implementing our own error handler.

    Table of Contents

    1. Chapter 1 : Configuring Your Yii2 Application
      1. The Course Overview 00:07:34
      2. ElasticSearch Engine Adapter 00:03:54
      3. Gii Code Generator 00:05:47
      4. PJax jQuery Plugin 00:04:13
      5. Redis Database Driver 00:03:11
    2. Chapter 2 : Extending Yii
      1. Creating Helpers 00:02:40
      2. Creating Model Behaviors 00:05:57
      3. Creating Components 00:05:44
      4. Creating Reusable Controller Actions 00:04:19
      5. Creating Reusable Controllers 00:02:25
      6. Creating a Widget 00:01:58
      7. Creating CLI Commands 00:03:12
      8. Creating Filters 00:02:53
      9. Creating Modules 00:02:50
      10. Creating a Custom View Renderer 00:03:15
      11. Creating a Multilanguage Application 00:05:56
      12. Making Extensions Distribution-Ready 00:06:49
    3. Chapter 3 : Performance Tuning
      1. Following Best Practices 00:05:50
      2. Speeding Up Session Handling 00:05:09
      3. Using Cache Dependencies and Chains 00:05:43
      4. Profiling an Application with Yii 00:04:30
      5. Leveraging HTTP Caching 00:05:18
      6. Combining and Minimizing Assets 00:04:44
      7. Running Yii2 on HHVM 00:05:13
    4. Chapter 4 : Deployment
      1. Changing the Yii Directory Layout 00:03:49
      2. Moving an Application Webroot 00:02:09
      3. Changing an Advanced Application Template 00:02:14
      4. Moving Configuration Parts into Separate 00:02:10
      5. Using Multiple Configurations to Simplify the Deployment 00:05:06
      6. Implementing and Executing Cron Jobs 00:03:37
      7. Maintenance Mode 00:02:36
      8. Deployment Tools 00:05:30
    5. Chapter 5 : Testing
      1. Testing Application with Codeception 00:15:36
      2. Unit Testing with PHPUnit 00:08:03
      3. Unit Testing with Atoum 00:05:00
      4. Unit Testing with Behat 00:04:12
    6. Chapter 6 : Debugging, Logging, and Error Handling
      1. Using Different Log Routes 00:06:53
      2. Analyzing the Yii Error Stack Trace 00:02:59
      3. Logging and Using the Context Information 00:02:55
      4. Displaying Custom Errors 00:03:44
      5. Custom Panel for Debug Extension 00:03:39