Book Image

Mastering Yii 2 [Video]

By : Vitalii Tron
Book Image

Mastering Yii 2 [Video]

By: Vitalii Tron

Overview of this book

Leverage the incredible potential of Yii to build heavyweight web applications swiftly About This Video • Build a large-scale web application that can endure a large influx of users • Develop a robust application that can withstand any security breach • Enforce diverse techniques to avoid bottleneck traffic on the server In Detail Yii is a generic component-based PHP Web programming framework. In addition to being object-oriented, it also features the MVC design pattern. It is a high-performance framework and is used to develop heavy duty web applications quickly. With the rise in the dependability of the Internet, the influx of the users to our websites keeps swelling on a daily basis. Yii is just the right framework to help us cope with this heavy load. Mastering Yii2 will guide you through rapidly building a sophisticated, secure, and flexible web application. This comprehensive guide will help you to develop and enhance this web application by focusing on a new aspect in every video. We start by showing you how to set up our version control system using Git so that we can work effortlessly in a distributed team. We will then make our website more responsive using the Twitter Bootstrap framework and then enhance then its security. Then we will store our session data in different storage systems such as the database, Memcached and Redis, and analyze which storage best suits our needs. We will then walk you through step by step adding a full text search using Sphinx, ElasticSearch, and MongoDB NoSQL storage to find the desired data swiftly. Finally, we will take you through making our application robust by testing it with Codeception. By the end of this course, you’ll be an ace at developing heavily loaded web applications using Yii 2.
Table of Contents (7 chapters)
Chapter 5
Additional Storages for Cache and Sessions
Content Locked
Section 3
Learning to Use Redis for Session Storage in Highload
Memcached storage is very fast and can be shared between several servers, but it has a significant lacking: all your data may be lost on server failure. This is not a problem for cache, but sessions may contain important users’ information. Redis helps us to solve this problem. - Move cache storage to Redis - Now we use Redis for session storage - Update the web page