Browsed by
Tag: code

OOPS Concepts in real life

OOPS Concepts in real life

Oops concepts in real life Objects: It is considered to be an instance of class.It contains real values instead of variables.In real life we can consider an mobile company which manufacture mulitple models as instance to mobile.so here mobile models where each one has its unique characteristics acts as a object.

Redirect to History – Yii

Redirect to History – Yii

Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as “Yee” and in Chinese it means “simple and evolutionary” Yii is the one of major MVC framework of PHP. We need to redirect the previous / history page for some circumstances in every development. Here we show how to achieve that;

PHP PSR Auto Formatting Tool

PHP PSR Auto Formatting Tool

PSR format is one of the code formatting standard of PHP. Its very tough to format each and every line in big projects. To Resolve this PSR auto formatting tool is available as opensource kit called – PHP-CS-Fixer. You can simply use it from command line and change your code formatting within seconds.

A Better PHP Code

A Better PHP Code

The whole world has migrated to the internet; people across the world are spending more time on Internet in comparison with television and any other medium of internet. The world has grown compact because of internet but the World Wide Web has grown out of proportion and people from different corners of the world are using it for their personal benefits.