Yii2 Application Development Solutions - Volume 2

Course

Online

£ 30 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

Explore the advanced concepts of the Yii2 framework to create modern web applications quickly.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.About the AuthorAndrew Bogdanov is a seasoned web developer from Yekaterinburg, Russia with more than six years' experience in industrial development.
Since 2010 he has been interested in the Yii and MVC frameworks. He has taken part in projects written in Yii such as a work aggregator for a UK company, high-load projects, real-estate projects, and the development of private projects for the government.

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

Implement your own Yii extension and make your extension reusable and useful for the Community
Configure Yii to gain extra performance
Learn best practices for developing an application that will run smoothly until you have very high loads
Learn how to show everyone except the developer a maintenance message
Add an advanced configuration system to the yii2-app-basic application template
Use the best technologies for testing, such as Codeception, PhpUnit, Atoum, and Behat
Write simple tests and avoid regression errors in your application
Review logging, analyze exception stack traces, and implement your own error handler

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 4 years

Subjects

  • Access
  • Ajax
  • Database
  • Database training
  • Web
  • Project
  • Application Development
  • Install
  • Information Systems
  • Information Systems management

Course programme

Configuring Your Yii2 Application 5 lectures 23:50 The Course Overview This video gives an overview of entire course. ElasticSearch Engine Adapter The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
Gii Code Generator The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
PJax jQuery Plugin Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
Redis Database Driver The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
Configuring Your Yii2 Application 5 lectures 23:50 The Course Overview This video gives an overview of entire course. ElasticSearch Engine Adapter The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
Gii Code Generator The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
PJax jQuery Plugin Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
Redis Database Driver The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
The Course Overview This video gives an overview of entire course. The Course Overview This video gives an overview of entire course. The Course Overview This video gives an overview of entire course. The Course Overview This video gives an overview of entire course. This video gives an overview of entire course. This video gives an overview of entire course. ElasticSearch Engine Adapter The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
ElasticSearch Engine Adapter The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
ElasticSearch Engine Adapter The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
ElasticSearch Engine Adapter The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
The aim of this video is to explore ElasticSearch engine adapter, which is an ActiveRecord-like wrapper for ElasticSearch full text search engine integration into the Yii2 framework.
  • Install the ElasticSearch service
  • Install the ElasticSearch engine adapter extension
  • Use the ActiveRecord pattern to retrieve and store records in ElasticSearch collections
Gii Code Generator The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
Gii Code Generator The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
Gii Code Generator The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
Gii Code Generator The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
The aim of this video is to learn about Gii code generator that provides a web-based code generator called Gii for Yii 2 applications.
  • Use Gii to quickly generate models, forms, modules, CRUD, and many more
  • Work with GUI for code generation using Gii
  • Gii also provides a console controller for code generation while working with CLI
PJax jQuery Plugin Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
PJax jQuery Plugin Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
PJax jQuery Plugin Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
PJax jQuery Plugin Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
Pax is a widget that integrates the PJax jQuery plugin. All content that is wrapped by this widget will be reloaded by AJAX without refreshing the current page.
  • Get page content from AJAX requests and then extracts its own DOM element with the same ID
  • Use P Jax with the ActiveForm widget by using the data-P Jax option of the form
  • Work with the client-side script
Redis Database Driver The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
Redis Database Driver The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
Redis Database Driver The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
Redis Database Driver The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
The aim of this video is to learn about Redis database driver, which allows you to use Redis key-value storage in any project on the Yii2 framework.
  • For low-level working with Redis commands, use the executeCommand method of the connection component
  • Use cache and session storage handlers that implement the ActiveRecord pattern for access to the Redis database records
Extending Yii. 12 lectures 47:58 Creating Helpers There are a lot of built-in framework helpers such as StringHelper in the yii\helpers namespace. These contain sets of helpful static methods for manipulating strings, files, arrays, and other subjects.
  • Create an own helper and put any static function into one. Here we implement the number helper
  • Create the helpers directory in your project
  • Add the actionNumbers method to SiteController and add the view file
Creating Model Behaviors There are many similar leading products such as Google's Gmail that define nice UI patterns. One of these is soft delete. Instead of a permanent deletion with tons of confirmations, Gmail allows us to immediately mark messages as deleted and then easily undo it. The same behavior can be applied to any object such as blog posts, comments, and so on.
  • Create a behavior that will allow marking models as deleted, restoring models, selecting not yet deleted models, deleted models, and all models
  • Follow a test-driven development approach to plan the behavior and test if the implementation is correct
Creating Components You may have some code that looks like it can be reused but you don't know if it's a behavior, widget, or something else, most probably it's a component.
  • Inherit the component from the yii\base\Component class
  • Attach it to the application and configured using the components section of the configuration file
  • Implement a simple Exchange application component that will be able to get currency rates from the Creating Reusable Controller Actions Common actions such as deleting the AR model by the primary key or getting data for AJAX autocomplete could be moved into reusable controller actions and later attached to controllers as needed nd so on.
    • Create a behavior that will allow marking models as deleted, restoring models, selecting not yet deleted models, deleted models, and all...

Additional information

Good knowledge of the PHP 5 and MVC frameworks

Yii2 Application Development Solutions - Volume 2

£ 30 + VAT