In Laravel controller is most important part to create the connection between our business logic to our view. we will learn create controller in laravel 8.Laravel is a MVC pattern and C stands for controller. It’s responsible for to receive the input from user, process them and validate the input…
Category: Softwares
How to create resource controller in Laravel 8 ?
Resource controller is helpful when you want Create, Read, Update and Delete (CRUD) operations. If you have a model with same set of actions like crud then resource controller are useful. we can create resource controller easily using the artisan command. Above command will generate controller ImageController in \app\Http\Controllers. As…
What is Laravel 8 middleware ?
Laravel middleware is a mechanism to filter the http request and response. As the name implies that middleware so it’s middle between the request and response. we can change or validate request and response using the Laravel middleware. There is so many use cases of middleware like authentication, validating token,…
Convert any form into Ajax request in jQuery
In this tutorial i am going to change a simple html form into Ajax form or submitting a form without reload. For this purpose i will use jQuery Ajax method and serialize method. i also created simple jQuery plugin which you can integrate in your web application and take benefit…
Copy command in Ubuntu
Copy is very command in Ubuntu terminal. whenever we want to copy the directories or files copy command come in to the action. In this article we will lean to copy the directory, copy files, copy with hidden files, copy recursively, copy multiple files, copy with backup, copy interactively. So,…
How to get radio input value in jQuery ?
While submitting a form or validating a form using the jQuery, we can get all the values of form easily but radio button works differently and we need some extra efforts to fetch the value of radio input. So in this article i will demonstrate to fetch the value of…
How to update page data without reload in jQuery?
If you are beginner then this post is for you. For showing the new content on page without refresh we will use JQuery Reload Page without Refresh and server side PHP. In this article, I will demonstrate to show the latest content from server without refreshing the page. This is…
What is ng-container in angular 12 ?
In this article we will learn about the ng-container of angular. ng-container is a logical container where we can add condition and it will never show in dom tree. so, basically we can say that ng-container is useful where we want to apply some condition or change in logical layout…
How to use ngFor and ngIf on same element in angular 12 ?
In this tutorial we are going to resolve the issue of using *ngFor and *ngIf on same element. so, in angular ngIf and ngFor is a structural directives, and we can not use two structural directive on same element.ngIf is used for to make conditional logic and ngFor is used…
Laravel 8 Ajax form validation with example
In this article, I will demonstrate to show Laravel server side validation using Ajax. We will use jQuery to show the validation and submit the form. Using the jQuery and AJAX we will prevent the page reloading and show the validation. In this article, we will use the same simple…