• Let’s Learn Laravel Blade Layouts

    Let’s Learn Laravel Blade Layouts

    Just about any page on a website will consist of a generic layout. This blog you’re reading right now has a generic layout using Laravel Blade. Other common uses include 404 pages, blog views, and views that have special elements such as a sidebar. What Does a Laravel Blade Layout Usually Consist Of? A generic...

    Read More

  • Let’s Learn Laravel Blade: Components (Part 4)

    Let’s Learn Laravel Blade: Components (Part 4)

    In the last posts, we learned about layouts and partials, but Laravel provides even more functionality. You may ask: why use a component when you can just use partials? In Laravel, components are packed with additional functionality. Components give you separation of concerns, letting you outsource PHP logic to a method outside of your blade...

    Read More

  • Let’s Learn Laravel Blade Partials

    Let’s Learn Laravel Blade Partials

    In the last post, we saw how easy and powerful conditional markup can be when using Laravel Blade. In this post, we’ll explore how Laravel Partials can help reduce repetitive code and make life easier. What’s one thing you notice about all websites? They consist of easily repeatable code that is used across each page....

    Read More

  • Let’s Learn Laravel Blade: Conditional Statements (Part 2)

    Let’s Learn Laravel Blade: Conditional Statements (Part 2)

    In our last post, we learned about Laravel Blade and its capablities. That post only scratched the surface, blade can do so much more! In this post, we’ll dive into conditional statements and rendering. Every good templating engine has simple ways to conditionally show blocks of markup. Blade makes this very easy. If you’re used...

    Read More

  • Let’s Learn Laravel Blade: Getting Started

    Let’s Learn Laravel Blade: Getting Started

    If you’re into PHP development, chances are, you’ve messed with or heard of Laravel. To keep it simple, Laravel is a fantastic PHP framework for making all kinds of web apps. As of this writing, Laravel has been around for 9 years and is still massively popular. It’s not going away anytime soon! Laravel uses...

    Read More

  • Easy Inline SVGs With Sage 9/Blade Templates

    Easy Inline SVGs With Sage 9/Blade Templates

    Inline SVGs are a lesser known trick for performant assets. Using them in traditional static sites is problematic due to how verbose they are. Inline SVGs can be anywhere from a few lines of code to a hundred! Not the prettiest solution. That is why it’s much better to use a component based approach. Using...

    Read More