
- PHP
- Intermediate
About this Course
This course will show you how to build the Treehouse course catalog using Laravel, one of the most popular PHP frameworks. You could easily use this project to create your own basic Laravel application using the MVC design pattern.
What you'll learn
- Connect database environment variables
- Create Laravel Routes and Closures
- Extend Views using Blade templating
- Produce database Models and Seeders
- Migrate and seed your application database
Getting Started With Laravel
A framework, like Laravel, provides helpful tools that simplify development tasks like security, working with databases, templating, error handling, and a lot more. In this stage, you'll learn how to create a Laravel application, create a database in PHPMyAdmin then add the environment credentials to your new Laravel application. Finally, we'll review the folder structure of Laravel applications and review the final project, the Treehouse course library.
6 stepsApplication Navigation (Routing)
Application navigation in Laravel is achieved using routes. A route maps all user requests to the appropriate controller, much like an air traffic controller would route airplane traffic. In this stage, you'll learn to use routes and other tools such as Closures and Artisan CLI, to create seamless navigation for your Laravel application.
4 stepsMVC (Controller)
In this stage you'll learn all about Controllers and Resource Controllers, which you'll use to build CRUD operations. Resource Controllers make building CRUD functionality a snap, and the Artisan CLI makes it even easier to implement.
4 stepsMVC (View)
Now that we’ve covered routes and Controllers, in this stage, you'll start building your application's Views using templating. Views, by design, are created using the blade templating engine that comes packaged with Laravel and contain the HTML, CSS, and JavaScript that are served by your application. Let’s navigate to the resources/views directory and take a closer look at how Views work.
4 stepsMVC (Model)
Now that we’ve covered Routing, Controllers, and Views, in this stage, you'll learn all about the M in MVC, the Model and how to connect your Laravel application to the data in your database.
4 stepsTeachers
-
Jonathan Barrios
I'm a software development teacher!
-
Abrahm Overcast
Software Engineer for the better part of ten years. Let's learn together!