• 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

  • How to Ignore File Permission Changes in Git (And Avoid Long File Staging Lists)

    How to Ignore File Permission Changes in Git (And Avoid Long File Staging Lists)

    Have you ever worked on a project and seemingly out of nowhere your entire file list in your git staging history? It’s ugly, it ruins any usefulness your current commit had, and can clog up your overall history pretty fast. For a while, I wasn’t even sure what caused this. Turns out, changing file permissions...

    Read More

  • Git | Remove a Commit in the Middle of a Branch Using Rebase

    Git | Remove a Commit in the Middle of a Branch Using Rebase

    Do you need a simple way to git remove a commit from anywhere in the branch? Do you like to keep your git history clean? Luckily with Git, there is always a way. Even if you’re not an advanced Git user, this trick should be fairly straightforward to implement. Don’t be intimidated! It utilizes git...

    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

  • Let’s Learn SASS & SCSS: Setting Up The Build (Part 2)

    Let’s Learn SASS & SCSS: Setting Up The Build (Part 2)

    If you’re here, you’ve probably already gone through part 1 of the series. In that post, we covered why SASS is so great and the basics of what it does. This post will be all about getting set up with a basic build process so we can actually start using it on projects. Unfortunately, SCSS...

    Read More

  • How To Interact With Iframes Using Cypress.io

    How To Interact With Iframes Using Cypress.io

    Cypress.io is great for testing the front end of your app’s UI, but at the time of this post, it lacks a few fundamental features. One important feature is handling file uploads natively, but there is a workaround for that. Another popular use case I came across is testing and interacting with iframes. Testing iframes...

    Read More

  • Testing File Uploads With Cypress.io

    Testing File Uploads With Cypress.io

    Cypress is an end-to-end testing framework designed to provide coverage for front-end UIs. Learning how to automate tests has its learning curve, but the benefits grow with your application’s complexity. I was tasked to test a process that involves uploading multiple types of files. In particular, application/pdf and image/* mime-type files. Doing this with Cypress...

    Read More