Skip to content
laravel

Query Scopes in laravel

Applying conditions to queries gives you to power to retrieve and present filtered data in every imaginable manner. Some of these conditions will be used more than others, and Laravel provides a solution for cleanly packaging these conditions into easily readable and reusable statements, known as a scope. In this tutorial I’ll show you how to easily integrate scopes into your Laravel models.

Consider a filter that only retrieves completed list tasks. You could use the following where condition to retrieve those tasks:

Read More »Query Scopes in laravel

oops

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.Read More »OOPS Concepts in real life

java-tutorial

Serialization in java

Serialization in java provides a thing known as  object serialization.It means that an object can be represented as a sequence of bytes which includes object data as well as information about the object type and information of data stored in object.Classes ObjectInputStream and ObjectOutputStream are high level streams  which is defined for serializing and deserializing an object.Read More »Serialization in java

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;

Read More »Redirect to History – Yii

laravel

Relationship in Laravel

Laravel Relationship

Laravel is a modern MVC platform that creates our project with all essential modern tools such as Bootstrap, Unit Test, Blade Template Engine, PSR Standards, ORM Queries  and so on. Working with Laravel is always gives me a breezy experience because of its Eloquent ORM.

Create and use a Laravel Relationship is an easy task,Whether you are on small todo application or a big scale bank project.

Read More »Relationship in Laravel