Druc Constantin·Oct 27, 2022InertiaJS frontend validation using IntusThis post is about pairing the InertiaJS form helper with Intus — a framework-agnostic, client-side validation library I recently…
Druc Constantin·Apr 16, 2022Customizing validation error messages in LaravelSometimes, because of the way we name our form inputs or request parameters, we end up showing improper validation error messages that just…
Druc Constantin·Apr 14, 2022TailwindCSS — Avatar with status indicatorIf you just need a rounded avatar, you can achieve that by setting its width and height and then giving it a 100% radius. To get a bit…
InThe StartupbyDruc Constantin·Oct 12, 2020Managing SVG Icons in VueJs ApplicationsPS: I also made a youtube video on this here.A response icon2A response icon2
Druc Constantin·Aug 17, 2020Unfinished features is the reason why you are not shipping your side projectsDuh! What else could it be?
Druc Constantin·Apr 23, 20205 rules for picking long-lasting method names in OOPWhen you write a piece of code for the first time, names don’t matter that much. You obviously know what everything is and what it does…
InLevel Up CodingbyDruc Constantin·Feb 10, 2020Why rewriting applications from scratch is almost always a bad ideaThere are many good reasons to rewrite a legacy application, but most of the time, the cost outweighs the benefits. In this article, I…A response icon8A response icon8
Druc Constantin·Jan 28, 2020A few things that might help you keep going to the gym for the next five yearsI believe 2020 is my fifth(?) year of consistently going to the gym. Since the beginning, I found myself almost quitting every few months…A response icon3A response icon3
InThe StartupbyDruc Constantin·Dec 29, 20194 ways to deal with complexity in your eloquent modelsI think everyone loves to work on completely greenfield applications. You get to plan your own course, chose your current favourite…
Druc Constantin·Dec 19, 2019Displaying validation errors with InertiaJS and LaravelThe easiest way to get yourself accustomed with how inertia works is to stop thinking about inertia visits as being XHR requests where you…