Content of the «Special Topics» section:
- Advanced Project Template
- Building Application from Scratch
- Console Commands
- Core Validators
- Performance Tuning
- Shared Hosting Environment
- Template Engines
- Working with Third-Party Code
- Using Yii as a micro framework
Articles section «Special Topics»:
Use some third-party code in your Yii applications. Or you may want to use Yii as a library in some third-party systems. In this section, we will show how to achieve these goals.
Still in most cases you can run Yii 2.0 on a shared hosting environment with a few adjustments. Shared hosting environments are often quite limited about configuration and directory structure.
Some are environmental, some are related with your code, while some others are related with Yii itself. There are many factors affecting the performance of your Web application.
Yii supports composition and sending of the email messages. However, the framework core provides only the content composition functionality and basic interface. For the most common cases you can use yii2-swiftmailer official extension.
Yii offers a full spectrum of I18N features that support message translation, view translation, date and number formatting. Internationalization (I18N) refers to the process of designing a software application so that it can be adapted to various languages and regions without engineering changes.
For development and deployments Yii applications can be run as Docker containers. Docker containers can solve many issues such as having identical software versions at developer's computer and the server, fast deployments or simulating multi-server architecture while developing.