Part 6 – Layouts with Blade [How to Build a Blog with Laravel 5 Series]
We learn to transform our HTML layouts into layouts that use Blade! Blade is the templating engine that is part of Laravel. Blade has many uses, but the one we focus on today is a way to better organize our code.
With layouts we can set a default template that our project uses and then have all the code for our navigation, headers, titles, etc in only one place and not duplicated throughout our Laravel 5.2 application. This means that when fixing bugs, we only have to look in one place and fix it once to resolve the issue. Also when adding new features (such as the footer in this video) we only have to add it in one place and that new feature can be instantly propagated to every page that uses that layout.
— MORE FROM THIS SERIES —
Previous Video [Part 5.5]: https://www.youtube.com/watch?v=czxuzH0kRHs
Next video [Part 7]: https://youtu.be/6MgZ11Rjlo0
Full Playlist for the “How to Build a Blog with Laravel” Series: https://www.youtube.com/playlist?list=PLwAKR305CRO-Q90J—jXVzbOd4CDRbVx
— Links —
How to install plugins for sublime text and Blade: https://youtu.be/FeuZtBdS20c
Download HTML/CSS Code for our Site: http://jacurt.us/laravel6
Follow me on Twitter! http://twitter.com/_jacurtis
Tags: Laravel 5 Framework Tutorial Easy to learn. Best tut about Laravel. Build a blog with Laravel Tutorial. Beginner tutorial. How to video. PHP framework easy best tutorial.