Deploying Symfony 2 on OpenShift is real easy and it’s free. You can even build a scalable application, that will add servers automatically when the load increases and remove servers when the load drops. OpenShift offers a Symfony 2.3 cartridge, no setup required, but in this tutorial we will setup Symfony 2.7 for deployment.
Category: Tutorials
Yii2 Routing – UrlManager
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.
SEO Friendly URLs in Yii2
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 and Yii2 Part 2: Authentication
AngularJS and Yii2 Part 1: Routing
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
Yii2 Pjax Tutorial
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.