Laracon 2018 was in Chicago this year and was held at Museum of Science and Industry. The weather that week was fantastic, highs in the 70s, which made walking around the city totally doable. Laracon 2018 was shrouded in secrecy. We all knew that there was going to be a big release from Taylor Otwell, but no one really knew what it was. There was an amazing lineup of speakers this year, but here are the highlights that stuck with us the most.

Full-Stack Testing Strategies

Samantha Geitz from TightenCo talked about now to do Vue testing using Jest. Jest is a test runner which allows you to test your Vue code and what it is outputting. You can assert things using matchers so you can set it to expect two things to equal a given value. So I expect 2 + 2 to equal 4 and if it does not, it throws me an error.

Another really cool thing about Jest is the ability to take snapshots of your rendered code output. Samantha built a quick demo of how to get Jest set up in a project. The demo project was a poll of “How to pronounced GIF or JIF?”. Needless to say there was a bit of an uproar as to which way to pronounce GIF (which is the right way). I have heard of Jest before, but Samantha did a great job demonstrating a basic outline of it and really showed how easy it was to set up and start testing.

Laravel Nova

This was the most anticipated talk of the whole conference. Taylor Otwell announced Laravel Nova as an admin panel for Laravel using Tailwind CSS for the styling! This was something the Laravel community was really wanting and needing. There are a few admin panels out there but nothing as straightforward or easily customizable as Nova.

Some of the features Nova includes are lenses, actions, actions on manytomany, metrics, custom fields, Scout search integration, authorization, and so much more! As Taylor started going through Nova, it just kept getting better and better and just when we all thought we were nearing the end, Taylor kept saying “Oh, and then you can also...”. The number of things you can do with Nova is amazing and within the last few months there has been tons of packages built for Nova. We’re excited to see how it develops and expands!

Patterns That Pay Off

Matt Stauffer talked about design patterns to keep your code organized and agile, so you don’t spend a lot of time reading others' code. Matt presented three patterns: Process, Architecture, (Re)Factoring. You need to be developing code that is easy to manage and agile so that it can be light and respond quickly if the project changes in the future. This can look different for each person, but if you stick to a pattern your life is better, as well as anyone who reads your code.

Learn CSS Grid

Wes Bos talked about CSS Grid, the newest display options for CSS – it is not a framework but an addition to the CSS language. It is supported by all of the newest versions of browsers and is backwards compatible by at least one, if not two, versions. Wes gave some really awesome tricks such as “repeat()”’ which allows you to write a large number of columns or rows that use the same grid layout.

One thing that we learned was that column percentages don’t add up to 100% because of the whole grid gap option. You can use it if in combination with auto “grid-template-columns: 80% auto;” I wrote a whole blog about CSS Grid from Wes Bos’s talk, so if you want to know more about CSS Grid you can view the blog here.

Chris Forrence wrote up amazing notes for each talk, so if you what to see more detailed info on each of the talks,go to laracon.chrisforrence.com and get detailed notes for each speaker.

Another Great Year at Laracon

Laracon 2018 was an amazing conference! The speaker lineup was better than last year and the number of people that came was incredible. Not to mention the after party which was held at the Museum of Science and Industry, after the museum closed! We were able to roam around (with food and drink in hand) and see all of the amazing exhibits without it being packed with people. Chicago was a great location, flights were inexpensive, and the Airbnb was even cheaper. We always enjoy Laracon, and will be back in future years.

Sign Up For Our Newsletter!