Coding With Intent

Published on December 18th, 2013 • advanced

Ever find yourself slipping into your old procedural ways? Controller methods becoming 20+ lines long? Instead, delete it all, and rewrite your code with intent, or an end-result in mind. In this lesson, we'll use validation as an example for how to code in this way.

View the source code for this lesson on GitHub.

Continue Your Learning

intermediate

Laracasts, Crons, and Em...

16:28
Jun. 16th 2014

Why don't you come along with me, as I add a new feature to the Laracasts.com codebase. Specifically, I'd like...

intermediate

Mailers

15:52
Sep. 23rd 2013

In this lesson, we'll create a dedicated mailer class for our applications....

advanced

Bulk Email Notifications...

24:53
Mar. 17th 2014

So you need to provide some way to mass email all (consenting) users of your web app? What's the best...

advanced

Bulk Email Notifications...

17:55
Mar. 18th 2014

In this lesson, we'll finish up our Mailchimp email notifications mini-project. Specifically, we'll focus on putting all the pieces ...

advanced

Testing Email

18:20
Jun. 14th 2014

Email is an integral part of any web application. So, naturally, you'll want to test these emails to ensure that...

intermediate

Laracasts, Crons, and Em...

16:28
Jun. 16th 2014

Why don't you come along with me, as I add a new feature to the Laracasts.com codebase. Specifically, I'd like...