Skip to main content
CF

Learning Yii 2

2h 51m 24s
English
Paid

First Steps to Developing Web Applications with Yii 2. We'll start by installing a basic Yii application template using Vagrant. Before we get started, you will have a fully functional web application ready to be configured. You will learn how to generate models, views and controllers, debug and test them with the Debug Toolbar and Codeception. Then you will learn how to modify this generated code to create a registration page, profile page and listing pages, and a search interface using ActiveQuery and TypeAhead. We will also use ACF and RBAC to improve the security of our site.

About the Author: Lynda.com

Lynda.com thumbnail

Lynda.com was a US online video tutorial platform founded by Lynda Weinman in 1995 — one of the original online learning sites, predating the modern course-platform market by more than a decade. After LinkedIn acquired Lynda.com in 2015, the catalog was migrated into LinkedIn Learning, but the original Lynda.com brand still anchors a large body of video tutorial material that circulates separately.

The CourseFlix listing carries five Lynda.com courses covering Adobe Lightroom CC, Sketch design fundamentals, Visual Studio Code for web developers, Yii 2 (PHP), and Houdini essential training. The breadth reflects Lynda.com's original catalog scope — design and creative software alongside developer-focused material.

Watch Online 31 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 31 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: The Course Overview
All Course Lessons (31)
#Lesson TitleDurationAccess
1
The Course Overview Demo
03:19
2
Creating a Development Environment Using Vagrant and PuPHPet
05:42
3
Installing the Basic Application Template
03:13
4
An Overview of the Yii 2 Directory Structure
05:08
5
Configuring and Extending Yii 2 Components
07:04
6
Configuring and Using Gii
03:02
7
Generating and Working with Models
05:01
8
Generating the Controllers
05:23
9
Generating the Views
04:45
10
Configuring and Using the Debug Module
04:42
11
Introducing the Codeception Testing Framework
05:19
12
Unit Testing
05:29
13
Functional Testing
04:49
14
Installing Selenium and Acceptance Testing
05:32
15
It’s Alive – Creating Our First Monster
05:16
16
Warding Off Evil
06:16
17
Registering Our Ghouls, Goblins, and Vampires
06:11
18
Access Control Filter – The Silver Bullet
05:05
19
Implementing Role Based Access Control
06:52
20
All about Yii 2 Layouts
06:57
21
Managing JavaScript and CSS
03:39
22
Introducing the Yii 2 HTMLHelper
06:49
23
Monster Profiling – The Scary Details
06:45
24
Finding the Right Ghoul-mate Using ActiveQuery
06:44
25
Enhancing the Search UI
05:13
26
Displaying and Sorting Results
05:34
27
Adding New Themes
06:25
28
Sending E-mails Using Swiftmailer
06:02
29
Working with Images
06:13
30
Tracking Database Changes Using Migrations
06:26
31
Love, the International Language (i18N)
06:29
Unlock unlimited learning

Get instant access to all 30 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What prerequisites are required before taking this course?
Before enrolling in this course, you should have a basic understanding of PHP programming and web development concepts. Familiarity with using command line tools and version control systems like Git will also be beneficial, although not strictly required. The course starts with setting up a development environment using Vagrant, so basic knowledge of virtual machines can be helpful.
What types of web applications will I learn to build?
In this course, you will build a fully functional web application using the Yii 2 framework. The application includes essential features such as registration and profile pages, listing pages, and a search interface. You will learn to enhance these features with security measures like Access Control Filter (ACF) and Role-Based Access Control (RBAC).
Who is the target audience for this course?
This course is designed for beginner to intermediate web developers who are interested in learning how to develop web applications using the Yii 2 framework. It is particularly useful for those who have a foundational understanding of PHP and want to leverage the MVC architecture to build scalable applications.
How does this course compare to other web development courses?
Unlike some web development courses that cover a broad range of topics, this course provides a focused exploration of the Yii 2 framework, including setting up a development environment with Vagrant, generating models, views, and controllers, and implementing testing with Codeception. It offers detailed guidance on using Yii's components like ActiveQuery, ACF, and RBAC for application development.
What tools and platforms are utilized in this course?
The course utilizes several tools and platforms, including Vagrant for creating a development environment, Gii for code generation, the Debug Toolbar for debugging, and Codeception for testing. Additionally, it covers using ActiveQuery for database interactions and Swiftmailer for sending emails.
What topics are not covered in this course?
This course does not cover advanced topics such as integrating third-party APIs, using frontend frameworks like React or Angular, or deploying applications to production servers. It primarily focuses on the foundational aspects of web application development using Yii 2 within a local development environment.
What is the expected time commitment for completing this course?
The course consists of 31 lessons, and while the total runtime is not specified, each lesson varies in length and complexity. Prospective students should allocate time for both watching the instructional videos and practicing the exercises, which may require additional hours beyond the video runtime for hands-on development and testing.