Codeigniter 4 MVC and how to create your first blog | Tutorial Part 4
MVC pattern (Model View Controller) is one of the most confusing parts when you are starting using Codeigniter for the first time after working on simple PHP projects. That’s why at this tutorial we are going step by step learning MVC starting without even using Codeigniter just to understand some basics. On the other hand once you’ve learned it everything seems so easy and natural by using it.
At this tutorial we are focusing on examples of the MVC pattern and at the same time we are trying to have a complete blog in Codeigniter 4. It is very important also to not forget the Routes as it is the main file that is communicating with our Controller directly!
Timestamps:
0:00 Intro - What is MVC?
0:42 Simple PHP example (without Codeigniter)
4:14 Routes and Controllers in Codeigniter
9:23 Models in Codeigniter
12:10 Views in Codeigniter
15:00 Tidying up and complete our blog
17:14 Outro - Thank you! 🙏
Code for the tutorial: https://github.com/scoumbourdis/codeigniter-4-tutorials-mvc
Template used: https://startbootstrap.com/themes/clean-blog/
MVC image (from wikipedia): https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
Messy PHP code: https://gist.github.com/scoumbourdis/6300ddbfc347b4e9e4b975d751d9d4c0
Progress bar animation: https://codepen.io/web-johnny/pen/OJVdydZ
Codeigniter 4 Routing: https://codeigniter4.github.io/userguide/incoming/routing.html
Видео Codeigniter 4 MVC and how to create your first blog | Tutorial Part 4 канала Happy Developers
At this tutorial we are focusing on examples of the MVC pattern and at the same time we are trying to have a complete blog in Codeigniter 4. It is very important also to not forget the Routes as it is the main file that is communicating with our Controller directly!
Timestamps:
0:00 Intro - What is MVC?
0:42 Simple PHP example (without Codeigniter)
4:14 Routes and Controllers in Codeigniter
9:23 Models in Codeigniter
12:10 Views in Codeigniter
15:00 Tidying up and complete our blog
17:14 Outro - Thank you! 🙏
Code for the tutorial: https://github.com/scoumbourdis/codeigniter-4-tutorials-mvc
Template used: https://startbootstrap.com/themes/clean-blog/
MVC image (from wikipedia): https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
Messy PHP code: https://gist.github.com/scoumbourdis/6300ddbfc347b4e9e4b975d751d9d4c0
Progress bar animation: https://codepen.io/web-johnny/pen/OJVdydZ
Codeigniter 4 Routing: https://codeigniter4.github.io/userguide/incoming/routing.html
Видео Codeigniter 4 MVC and how to create your first blog | Tutorial Part 4 канала Happy Developers
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
CodeIgniter 4 Tutorial - Simple Blog Part 1How to Create a Blog in Laravel | Laravel CRUD | Laravel Blog | Create a Blog in LaravelShould I use jQuery? (a 2019/2020 update)Store HTML Form Data to MySQL DatabaseWhat Is MVC? Simple ExplanationBuild A CodeIgniter PHP App - Part 1How to Integrate Admin Dashboard Template In Codeigniter 4 ProjectTop 10 Best VS Code Extensions#38 File Uploading in codeigniter 4Build a Complete Personal Portfolio Website Using Only HTML And CSS | Pure HTML And CSSAdvance CodeIgniter 4 Framework Tutorials #6 Multiple Authentication Role Wise Login in CodeIgniterCodeIgniter 4 Tutorial - Simple Blog Part 2Using REST APIs in a web application | Quick PHP TutorialLearn CodeIgniter 4 Framework Tutorials #8 Include Asset Files in ApplicationPHP Image gallery website from HTML template Tutorial Part08 | MVC OOP | Quick programmingCreate a Codeigniter CRUD with Grocery CRUD InstallationAngular 9 CRUD with CodeIgniter 4 - Part 1Code 15 React Projects - Complete CourseCodeigniter 3 - Simple Registration Form in Tamil (From Scratch)Codeigniter 3 User Registration and Login System - 1