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

Learning Path: Modern Yii

Video Description

Build high-performance web applications in PHP

In Detail

Use your existing PHP skills with the latest version of Yii to build robust and scalable web applications for the modern web. This Learning Path starts with an introduction to PHP 7 before getting into the details of this popular framework.

Prerequisites: A working knowledge of PHP

Resources: Code downloads and errata:

  • Learning PHP 7

  • Learning Yii 2

  • Mastering Yii 2

  • This path navigates across the following products (in sequential order):

  • Learning PHP 7 (2h 45m)

  • Learning Yii 2 (2h 51m)

  • Mastering Yii 2 (2h 17m)

  • Photo Credit: ©iStockphoto.com/timkaekler

    Table of Contents

    1. Chapter 1 : Learning PHP 7
      1. The Course Overview 00:03:51
      2. PHP 7 Versus PHP 5.x 00:03:38
      3. Setting Up the Environment 00:03:39
      4. Basic PHP Syntax 00:02:27
      5. Variables, Constants, and Operators 00:03:10
      6. Arrays 00:02:27
      7. Conditionals 00:03:26
      8. Loops 00:02:44
      9. Functions 00:04:09
      10. Classes and Objects 00:05:07
      11. Namespace and Composer 00:03:17
      12. Web Application Basic Concepts 00:03:45
      13. Project Structure Overview 00:03:00
      14. The Home Page 00:03:03
      15. Controllers and Log System 00:03:24
      16. Templating with Twig 00:03:28
      17. MySQL and Basic SQL Syntax 00:04:37
      18. CRUD Operation with PDO 00:04:03
      19. Doctrine ORM 00:04:16
      20. Basic Security Concepts 00:04:27
      21. Registration Page, Controller, and Validations 00:03:45
      22. Registration Page, Database, and Password 00:04:01
      23. Authentication and Authorization – Login 00:04:05
      24. Authentication and Authorization – Firewall 00:03:46
      25. Posting a Message 00:03:33
      26. The Personal Dashboard 00:02:19
      27. Ajax Calls with jQuery 00:07:07
      28. Error Handling 00:03:06
      29. Uploading a Photo 00:04:46
      30. Commenting on a Post 00:04:15
      31. Be More Social with Likes 00:05:59
      32. Backend Overview 00:03:37
      33. Managing Users 00:05:51
      34. Managing Posts 00:03:42
      35. Managing Comments 00:03:31
      36. A Simple Analytics Page 00:04:32
      37. TDD and BDD 00:03:11
      38. Writing Tests in PHPUnit 00:05:08
      39. Debugging with phpdbg 00:04:11
      40. Creating an API for the RSS Feed 00:04:03
      41. Deploying with Docker and Amazon AWS 00:04:18
      42. Versioning with Git 00:05:01
    2. Chapter 2 : Learning Yii 2
      1. The Course Overview 00:03:19
      2. Creating a Development Environment Using Vagrant and PuPHPet 00:05:42
      3. Installing the Basic Application Template 00:03:13
      4. An Overview of the Yii 2 Directory Structure 00:05:09
      5. Configuring and Extending Yii 2 Components 00:07:05
      6. Configuring and Using Gii 00:03:02
      7. Generating and Working with Models 00:05:01
      8. Generating the Controllers 00:05:23
      9. Generating the Views 00:04:45
      10. Configuring and Using the Debug Module 00:04:42
      11. Introducing the Codeception Testing Framework 00:05:19
      12. Unit Testing 00:05:30
      13. Functional Testing 00:04:49
      14. Installing Selenium and Acceptance Testing 00:05:32
      15. It’s Alive – Creating Our First Monster 00:05:17
      16. Warding Off Evil 00:06:17
      17. Registering Our Ghouls, Goblins, and Vampires 00:06:11
      18. Access Control Filter – The Silver Bullet 00:05:05
      19. Implementing Role Based Access Control 00:06:52
      20. All about Yii 2 Layouts 00:06:58
      21. Managing JavaScript and CSS 00:03:39
      22. Introducing the Yii 2 HTMLHelper 00:06:49
      23. Monster Profiling – The Scary Details 00:06:45
      24. Finding the Right Ghoul-mate Using ActiveQuery 00:06:44
      25. Enhancing the Search UI 00:05:13
      26. Displaying and Sorting Results 00:05:35
      27. Adding New Themes 00:06:26
      28. Sending E-mails Using Swiftmailer 00:06:03
      29. Working with Images 00:06:14
      30. Tracking Database Changes Using Migrations 00:06:27
      31. Love, the International Language (i18N) 00:06:29
    3. Chapter 3 : Mastering Yii 2
      1. The Course Overview 00:03:32
      2. Introduction to Git 00:05:17
      3. Learning the Most Used Commands in Git 00:05:57
      4. Auto-deploying with Bitbucket Hooks to Your VPS 00:06:16
      5. Combining Highload with Twitter Bootstrap Framework 00:07:51
      6. Adding Bootstrap Components to Highload 00:05:52
      7. Using Bootstrap JavaScript Features in Highload 00:04:31
      8. Implementing RBAC in Highload 00:08:04
      9. Adding Security on Form Submission in Highload 00:06:31
      10. Working with Passwords Correctly in Highload 00:05:49
      11. Improving Performance in Highload 00:07:43
      12. Fragmenting, Page Caching, and HTTP Caching 00:07:02
      13. Combining and Compressing JavaScript and CSS Files 00:06:28
      14. Changing Highload Session Storage to the Database 00:06:20
      15. Using Memcached for Session Storage 00:03:51
      16. Learning to Use Redis for Session Storage in Highload 00:04:38
      17. Using Sphinx with Yii 2 00:06:46
      18. Understanding Elasticsearch for Yii 2 00:06:23
      19. Learning to Use MongoDB with Yii 2 00:06:16
      20. Installing and Configuring the Test Components 00:09:08
      21. Discussing Unit Testing 00:06:22
      22. Learning Functional Testing 00:06:19