[CodeIgniter 4 video lesson] – Models – Creating a CRUD (Insert)

Hello readers,

Continuing with the series on CodeIgniter 4 , in today’s class I show you how to create a MODEL in CI4 for a database table. This model requires a minimum of code, since CI4 already provides a generic class with the main methods for entering , editing , deleting and searching data in the bank.

In addition to creating the model class, I also show how to create a View with a form and how to submit the form data for a Controller to receive and call the Model to INSERT into the database. I hope you like the video lesson !!!!

The video is available at:  https://www.youtube.com/watch?v=yxpKTGWybvw&utm_source=rafaelwendel

Study more CI4 models at:  https://codeigniter4.github.io/userguide/models/model.html


Holds a university degree in Information Systems, a postgraduate degree in Database Systems and a master's degree in Education with a focus on Sociocommunity Technologies. He works as a professor of technical and technological education at the Federal Institute of Education, Science and Technology of São Paulo, teaching subjects in the areas of programming, database, project development and software engineering.

Posts relacionados

Leave a Reply

Your email address will not be published. Required fields are marked *