January 24, 2020 — Working on an application which received user signups and let’s suppose it’s built on top of PHP, you want to validate that the email the user enters is valid. Sure, you’ll check that the email entered is a “syntactically” valid one by using one of these methods.
January 23, 2020 — When designing UI elements such as zebra strips in the tables, you’d need to identify if the loop iteration is even or odd and based on that you’d set the backgroud color of the row.
January 22, 2020 — There are basically two ways of using the
auth middleware to authenticate the routes in Laravel.
January 21, 2020 — I started this website to establish my web presence on the holy internet. I wanted to keep a portfolio of my projects and to blog about random stuff (very rarely). Back then, I was only used to post articles whenever I feel like. But then, something’s changed.
January 20, 2020 — Laravel’s
Blade::if() method already comes with the following directives in order to check various conditions in blade template files.
January 15, 2020 — Sometimes, it’s convenient when you could get to access class objects as arrays. For instance, the time when one of the class properties is of type array and you want to manipulate it just like you’d do with an array without exposing it during object creation. I’ve included a real world example of where this could be useful, at the end of the article. So, read on!
January 13, 2020 — My thoughts on why it would be a good idea to be more like a terminator and less like a human.
January 9, 2020 — There comes a scenario in your app where there are some fields in your form that are dependent on an another field’s state.
for...of. All these constructs loops over synchronous iterables such as arrays, objects, strings etc.
December 30, 2019 — The other day, there was a situation where I needed to implement a multiselect configuration setting in my Magento2 application. So, I thought of documenting the process. So, the scenario was to implement a setting which enlist all the product attribute set and all those can be multiselect-able. Here’s how I did it.
Download my eBook
Follow me everywhere