Laravel 9 Routes with Example and Concept Overview

Опубликовано: 09 Февраль 2023
на канале: Sojho Developer
39
4

A route is a method for generating a request URL for your application. These URLs are both human readable and SEO friendly, as they do not have to map to specific files on a website.
Routes are created in the routes folder in Laravel. For websites, they are created in the web.php file. APIs are also created within api.php.
These routes are assigned to the net middleware group, with the session state and CSRF security highlighted. Routes in routes/api.php are stateless and belong to the API middleware group.
Laravel comes with two routes by default, one for the web and one for the API.

Chapters:
00:00 Project Setup
00:48 Redirect Route
03:06 View Route
04:53 Route List
06:40 Route Parameter
09:34 Regular Expression Constraints in Route
11:53 Named Route
13:30 Middleware and Group Route
14:24 Controller Route
17:34 Route Prefix
19:14 Route Service Provider

Almost in F - Tranquillity by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/...

Source: http://incompetech.com/music/royalty-...

Artist: http://incompetech.com/


Смотрите видео Laravel 9 Routes with Example and Concept Overview онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sojho Developer 09 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3 раз и оно понравилось людям.