March 30, 2021 — Sometimes, all you would need is to forcefully prevent some of the fields in the request. Essentially, to “prohibit” or ban the fields to be mandatorily empty or not present in the request at all.
March 28, 2021 — While working on an application which is built using React.js, I stumbled upon a use-case where I needed to set a default value for a specific component prop. Let’s check the following example to understand how I approached this problem.
March 24, 2021 — If you’re running any sort of blog, it would be really important to interact with your audience. One way to doing this by having a comment system that can enable a visitor on your blog to drop their view and opinions.
March 24, 2021 — Any new beginning is always a challenge. When it comes to learning how to code, many individuals back off simply because it looks not-so-easy to understand the programming principles at the first sight.
March 22, 2021 — If you want to make your web application robust, you get to handle those quirky and unpredictable exceptions. And the way you do that in PHP is by using try-catch blocks in your code. The same applies in the case of Laravel as well.
March 17, 2021 — Oftentimes you would want to retrieve the user’s timezone to perform a certain task. And how would you retrieve it? One way to do it in PHP is by retrieving the timezone set on the user’s system.
March 15, 2021 — Oftentimes, it would be handy if you could seed the number of model rows based on the user input. i.e you don’t hardcode the number of rows a seeder would generate. The user will pass that number while running the seeder.
Follow me elsewhere