Saltar al reproductorSaltar al contenido principal
Controllers, routes, views, and debugging techniques in CakePHP 4 #php #webdevelopment #cakephp #programming #linux

Categoría

🤖
Tecnología
Transcripción
00:00hello guys welcome back it's moment to create that new controller for example
00:11in the command light tools
00:19paste the following command vk bait controller parameter
00:30for class for example users and press enter
00:44now the new file is creator
00:52users controllers extents app controllers face controllers is controller
01:05for the effect for the book
01:13type exit function and reflex
01:27in the protest php
01:33controller space action display home
01:41for create custom
01:46protects
01:56in the parameters
02:02builder connect
02:06the new router name for example
02:15users
02:18controller name users
02:20and method
02:31click users
02:33set methods
02:35get
02:39in that controllers
02:44create
02:48the new method
02:53get
02:54users
03:00get users
03:02get users
03:02and
03:04return
03:08with the new method
03:11set
03:14parameters
03:14view
03:27in that templates folder
03:33add the name for the file for example on
03:41and save go to in the browser
03:59now
04:03PSP line
04:06return a section
04:40add the name for the file
04:41for defects users return
04:49controller name method
04:55the method is users
05:00tribal class allied users not be found
05:13now comment the variables
05:22and in the finance variable
05:32create the new folder
05:44users
05:53use spawn php
06:02and paste
06:07the following
06:16the following view
06:22now
06:24missing template was not found
06:44type exit function
06:49and exit
06:54now connect
06:58get users
07:02get users controller could not be found
07:11connect
07:15controllers
07:17and rotate
07:20and
07:22and display the following message
07:29type exit function
07:36in the wrong text is
07:38in the wrong text is connected
07:53Display message.
08:14Un display message.
Comentarios

Recomendada