Mohasin HossainLeveraging Custom HTML Components in Laravel Blade ViewsLaravel Blade views provide a powerful templating engine, allowing developers to create dynamic web applications easily. One of the…2d ago2d ago
Mohasin HossainLaravel View Models vs. View Composers: Which Should You Use?In Laravel, both View Models and View Composers are useful tools to manage the data passed to your views. However, they serve different…6d ago6d ago
Mohasin HossainLaravel View Models: Simplifying Data for Your ViewsIn Laravel, the View Models pattern is a powerful tool to simplify data handling between your controllers and views. Instead of passing…Nov 101Nov 101
Mohasin HossainOrganizing Laravel Projects by DomainAs Laravel projects grow, maintaining a clean and scalable structure becomes essential. One approach to organizing larger projects is by…Nov 6Nov 6
Mohasin HossainHow to Write a Git Commit MessageHere is an excellent blog about how you should write git commit message.Nov 4Nov 4
Mohasin HossainSimplifying Laravel Controllers with Service ClassesAs projects grow, controllers often become bloated with too many responsibilities. To keep things maintainable, consider using service…Nov 2Nov 2
Mohasin HossainRefactoring to Action Classes in LaravelAs your Laravel project grows, organizing complex business logic becomes essential to maintain clean, manageable code. Refactoring to…Oct 29Oct 29
Mohasin HossainComprehensive Cheat Sheet for Character Limits of Various MySQL Data TypesHere’s a cheat sheet for character limits of various MySQL data types:Oct 28Oct 28
Mohasin Hossain🕹️ Why you should have a side project as a software developer/engineerAs an indie hacker myself, I have talked over the years with many people who run side projects.Oct 24Oct 24
Mohasin HossainComprehensive Cheat Sheet for Date and Time Format Options in PHPHere’s a comprehensive cheat sheet for date and time format options in PHP, which are commonly used in many programming contexts for…Oct 21Oct 21