Posts by Author : tgugnani

I have been used to calling the AJAX request in my application via jQuery and haven't got a chance yet to experiment with the latest fetch API of Laravel. There can be a requirement in your applica...
Read Article

VueJS

Mar 20, 2020

tgugnani

In this tutorial, we will go over how you can define new methods in VueJS and also invoke them on user events. Problem: You want to encapsulate the logic inside VueJS methods and also bind the meth...
Read Article

VueJS

Mar 20, 2020

tgugnani

Event Handling is an important aspect of any javascript application. Let's learn how we can handle user events in VueJS. Problem: You want to capture user events (such as mouse clicks, or keyboard...
Read Article

VueJS

Mar 19, 2020

tgugnani

Let's learn about an important aspect of VueJS Programming i.e. Two Way Data Binding Problem: You want to bind an input field to the VueJS Instance's data property and also output the same property...
Read Article

VueJS

Mar 19, 2020

tgugnani

Let's now learn how to dynamically bind and change classes in HTML elements using VueJS. Problem: You want to dynamically change the class name of an HTML element depending on VueJS data property....
Read Article

VueJS

Mar 16, 2020

tgugnani

Let's move further and see how we use VueJS Conditional directives to show/hide elements in our DOM. Problem: You want to show/hide an element depending on VueJS data property. Solution: For thi...
Read Article

VueJS

Mar 16, 2020

tgugnani

Let's move further and see how we can loop through a list in VueJS. Problem: You want to loop through and print list in VueJS, List can be of numbers, arrays, and Objects. Solution: #1 Loop t...
Read Article

VueJS

Mar 11, 2020

tgugnani

In the last tutorial, we went over the simple Hello World application in VueJS. In this, we will understand the Vue Instance and data reactivity. We wrote the following code to initialize a new Vu...
Read Article
Here is how you can have multiple where clause in your Eloquent query builder $query->where([ ['column_1', '=', 'value_1'], ['column_2', '<>', 'value_2'], [COLUMN, OPERATOR,...
Read Article
Laravel Zero is a micro-framework built out of Laravel and is used to build console-based applications. In this post, we will go over how you can install a fresh Laravel Zero project and build comm...
Read Article