PHPNews

Reusability: Part 2

Let's continue with our accordion component refactor. In this lesson, we'll create two components: Accordion and AccordionItem. This will allow us to use a …

Written by Laracasts - - Aggregated on Friday May 25, 2018


Reusability

In the Modern CSS for Backend Developers, one of the lessons focused on constructing both the CSS and JavaScript for an accordion-like component. In this …

Written by Laracasts - - Aggregated on Thursday May 24, 2018


Pricing Selection Design

Most sites like Laracasts include a pricing page that lists all available plans. Using a prototype design, let's, from scratch, convert it to HTML and CSS.

Written by Laracasts - - Aggregated on Tuesday May 22, 2018


Final Tweaks

Now that anyone can pull in our preset, let's make a few final tweaks and call it a series! View the source code for this episode on GitHub.

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Distribute a Composer Package

Now that our preset is mostly complete, the next step is to distribute it as a reusable Composer package. Don't worry, it's easy. View the source code for …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Stubs

In this episode, we'll create a handful of stubs. In this context, a stub is simply a placeholder file that is constructed exactly as we wish for it to appear …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Tweak Your NPM Scripts

You'll likely want to replace or remove a number of the default npm packages that are included out of the box. Luckily, Laravel offers a method to assist with …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Macro it Up

Laravel presets allow us to configure the initial front-end scaffolding for any new Laravel project. While the framework ships with a few options out of the …

Written by Laracasts - - Aggregated on Thursday May 17, 2018


Workshop - FAQs

In this next hands-on workshop, we'll redo the layout for a common FAQ page. Using a mockup as our base, piece by piece, we'll construct the new design, while …

Written by Laracasts - - Aggregated on Monday May 14, 2018


Vue Portal Use Case #2

Let's review one more example for when you might reach for a portal. If you need a way to move a link within a Vue component file to a different part of the …

Written by Laracasts - - Aggregated on Thursday May 10, 2018


Easy Flexbox Wins

Before moving on, let's review five examples of every-day CSS requirements that can instantly be solved with flexbox.

Written by Laracasts - - Aggregated on Tuesday May 8, 2018


Await Please

Despite the fact that JavaScript's async/await functionality can freely be used for any project these days, you'll find that most developers forget to reach …

Written by Laracasts - - Aggregated on Tuesday May 8, 2018


Workshop - Card Design

Workshop time. We've been given a card design that needs to be converted to HTML and CSS. Piece by piece, let's construct it from scratch. As you'll find, yet …

Written by Laracasts - - Aggregated on Wednesday May 2, 2018


Flex Your Grids

Creating a reliable CSS grid used to require hours of work with meticulous percentage calculations to protect your layout from breaking entirely. Luckily, life …

Written by Laracasts - - Aggregated on Tuesday May 1, 2018


API Controller Generator

The useful make:controller Artisan command has been upgraded to support API action generation, via the new --api flag. This is effectively identical to …

Written by Laracasts - - Aggregated on Tuesday April 24, 2018