Join Joseph Lowery for an in-depth discussion in this video Handling routing, part of Learning Laravel 4.
It's been a long time since I've heard…anyone refer to the Internet as the…information superhighway,…but the metaphor fits so perfectly…with a key Laravel feature called routing I can't resist.…Routes in Laravel direct your application's traffic…giving you complete control over the responses…or web destinations, if you will,…for whatever requests are made.…You can easily setup general requests to go to one location,…your home page for example,…and more specific page requests like to an about page…to display that content.…
A route, in fact, is what brought us to this page…that you see on your screen.…In this lesson, I'll show you the basics…of setting up your Laravel routes…as well as a few advanced features like passing parameters…so you can perfectly map out your own corner…of the information superhighway.…All of the Laravel routes are maintained…in a central location, a file called…appropriately enough routes.php.…You can find routes.php in the app folder…of a Laravel project.…
Let's go open that up and take a look.…
- Installing Laravel
- Handling testing
- Establishing an HTML view
- Connecting to a database
- Enabling version control
- Setting up-and-running unit tests
Skill Level Intermediate
1. Introduction to Laravel
2. Creating Initial Laravel Pages
3. Displaying Laravel Code
4. Creating a Laravel Application
5. Testing Your Laravel Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.