Welcome to Neat Tutotirals

Beta

Neat Tutorials is a tutorial catalog. Stay tuned.

Yii2 Routing – UrlManager

blog.neattutorials.com

Chances are you’ve probably used UrlManager before, at least to enable “Pretty URLs” and hide index.php from the URL. It can do much more than that. Learn how to get the most of it in this tutorial.

Posted 1 year ago. Tag: php

AngularJS and Yii2 Part 1: Routing

blog.neattutorials.com

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.

Posted 1 year ago. Tag: php

Yii2 Pjax Tutorial

blog.neattutorials.com

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.

Posted 1 year ago. Tag: php