I started using form request when I noticed my controllers were starting to get large and some validation rules used in model crud operations were almost the same and I did not want to repeat them.
Browsersync has a feature called life sync i didn't know about for a long time. It…
A year ago i worked on a project where i had to do payment integration, it was first time, and looking back to how i handled it, i realize i made a few mistakes on the project. This post can serve as a guide to any beginner looking to integrate…
Recently I changed my development operation system from Windows to Ubuntu. And bit by bit, as project demands i have been setting things up. From laragon to valet, sublime text to Vscode, guis to terminal(terminator). The next part of the move was to set up…
In the previous post about we talked about parent-child component communication. This post is going to be on sibling component communication. So how do we achieve this in vuejs? Simple. Every vue instance can listen to events and can emit events. We would go…
When we have a function that is passed one or two arguments, it’ s quite easy to get the arguments and do what we want with them. But a problem arises when for example, a function needs to be passed up to or more than 4…
A vue directive is a function that can be attached to DOM elements to make them do certain things. They are most useful at those times when you need low-level access to an element, maybe to customize the behavior or look. If you want to give directions to an element, Vue…
After reading this post you should be able to get started with enabling your vuejs components to communicate with each other.
This is simple to implement once you get a hang of it. Component commmunication is needed when you…
Exception handling is an important subject in software development because it gives us the ability to handle in advance runtime errors that could occur when our program is executed. It’s bad and unprofessional…