Back to Browse

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

48.1K views
Nov 21, 2020
24:50

Access the full CodeIgniter course: ➤ https://davehollingworth.com/courses 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/codeignitery Code shown in the video: https://github.com/daveh/learn-codeigniter/tree/section-02_lecture-014 *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

Download

1 formats

Video Formats

360pmp430.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

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