CodeIgniter 4 and PHP MVC basics: controllers, views and layouts

Опубликовано: 11 Октябрь 2024
на канале: Dave Hollingworth
39,900
655

Access the full CodeIgniter course: ➤ https://davehollingworth.net/codeigni...

In this video you'll learn the basics of the CodeIgniter PHP framework: how applications are structured, and how to use views and controllers to display content in the browser.

You'll also learn how to use view layouts, a simple but powerful technique, new to CodeIgniter 4, that allows you to reduce repetition in the presentation code.

This is the entire section 2 of the full course, available here: https://davehollingworth.net/codeigni...

Code shown in the video:
https://github.com/daveh/learn-codeig...

*Timestamps:
00:00 MVC basics
03:34 View basics
07:03 Routing in CodeIgniter
10:25 Add another controller
13:31 Showing multiple views
17:27 View layouts
21:19 Add a title section