Chances are you’ve probably used UrlManager before, at least to enable “Pretty URLs” and hide index.php from the URL.
'urlManager' => [
'class' => 'yii\web\UrlManager',
'enablePrettyUrl' => true,
'showScriptName' => false,
It can do much more than that. Learn how to get the most of it in this tutorial.
Continue reading Yii2 Routing – UrlManager
This tutorial provides some insights into Apache configuration and Yii2 configuration in order to achieve user friendly and search engine friendly URLs for your web app.
Continue reading SEO Friendly URLs in Yii2
AngularJS is becoming more and more popular which makes it a valuable skill for both – frontend and backend web developers.
In this tutorial we will build an AngularJS web app with Yii framework 2.0 handling the backend. We will take the Yii2 advanced template as the base and Angularize it. Continue reading AngularJS and Yii2 Part 1: Routing
pjax is a jQuery plugin that allows quick website navigation by combining ajax and pushState. It works by sending a special request to the server every time a link is clicked or a form is submitted. The server sends back the content that needs to be updated, pjax replaces old content with new content and pushes the new URL to browser history, without the need to update the whole page.
Continue reading Yii2 Pjax Tutorial
Yii2 is a powerful full-stack PHP framework for Web Application and Console Application development. It encourages clean code, DRY solutions, event based programming, convention over configuration and modular design. It has a growing library of widgets and extensions, that benefit Rapid Application Development. Continue reading What Yii2 framework really is?