Deploy Symfony2 on OpenShift

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.

Continue reading Deploy Symfony2 on OpenShift

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.

Continue reading Yii2 Routing – UrlManager

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.

growing-popularity-of-angularjs-google-trends

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.

Continue reading Yii2 Pjax Tutorial

Why people hate PHP, a book from hell

PHP is maturing as a language as well as a technology for building a wide range of applications. PHP 7 is coming out this year and it’s more powerful and faster than it ever was. There’s a lot to look forward to, but there’s still plenty of room for improvement for PHP and for us as programmers. Continue reading Why people hate PHP, a book from hell

What Yii2 framework really is?

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?