Tips
Tips
Counting Related Models In Laravel
Counting Related Models In Laravel

This Laravel quick tip will allow you to count model relations whilst ensuring you don't encounter an N+1 problem.

Read this article
Tips
Better Http Status Codes In Laravel
Better Http Status Codes In Laravel

This Laravel quick tip will show you how to make your code more readable and expressive by replacing http status code magic numbers with calls to static constants.

Read this article
Apple
Ten Tips For Mac Beginners
Ten Tips For Mac Beginners

Apple makes some of the most intuitive software around, but if you're coming from another platform, your first Mac experience can be quite confusing. In this article I'll go through some tips and tricks I wish I'd known when I first started using a Mac way back in 2004.

Read this article
Laravel
Different Ways To Pass Data To A Laravel View
Different Ways To Pass Data To A Laravel View

Laravel views allow you to pass data to a view in a number of different ways. In this article, I'll go over four methods and describe the pros and cons for each one.

Read this article
Privacy Policy
Copyright © 2022 Carl Cassar. All Rights Reserved.