September 17, 2021 — The Fetch API, as you might know, is a modern replacement of the good old XHRHttpRequest (popularly known as Ajax) that gives nicer developer experience (DX) by giving a promise based implementation.
September 13, 2021 — Have you ever stumbled upon a situation in which you need an instance of a class to create its object but with one condition and that is there is no constructor declared for that class?
September 11, 2021 — With the introduction of PHP 8, the language now allows us to declare the class properties right into the constructor parameters. This is called constructor property promotion.
September 9, 2021 — There are a lot of different ways in PHP using which you can validate if the given value is “blank” or not. The method to validate depends upon the type of value that we’re targetting.
September 5, 2021 — Checking the existence of relationships and fetching model records is quite easy in Laravel.
September 2, 2021 — The newest version of Safari, i.e Safari 15, on iOS is great. It comes with an all-new layout and a new way of navigating websites on it.
August 29, 2021 — Sometimes, it might be the case where you want to place/position the children elements that reside insides their parent absolutely.
August 24, 2021 — Regular expressions (RegEx) are great little strings that help in solving some of the complex problems that are rather hard if we don’t use the RegExes.
August 21, 2021 — Laravel offers mainly two ways to validate the request data inside of the controller methods. Either you can directly call the
validate method on the
Illuminate\Http\Request object and set the validation rules or you can create a form request and type-hint the controller method with this form request class.
Follow me everywhere