In this video of CodeIgniter 4 From Scratch Series we will see what are the Model files, what CodeIgniter Models do, and how easy it is to access data from database using Model files.
To put it simple, Models in MVC pattern design are used for the following:
Access Database
Manipulate data inside Database
In some cases Models are used for data validation
In CodeIgniter 4 you can create two types of models:
Type 1 extends the CodeIgniter 4 Model class
Type 2 is a simple Class that allows you to create more complex and more flexible methods
CodeIgniter 4 From Scratch Series, the series that are intended to help you get started with CodeIgniter 4 even if you have never worked with PHP frameworks before.
This course will not only help you get started with CodeIgniter but also will help you understand the way PHP Frameworks work.
For more information about Codeigniter 4 Controllers read the official docs
https://codeigniter.com/user_guide/in...
Auf dieser Seite können Sie das Online-Video CodeIgniter 4 from Scratch - #9 - Models mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Alex Lancer 12 Mai 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 35,943 Mal angesehen und es wurde von 353 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!