CodeIgniter 4 from Scratch - #7 - Views | View Cells | Part 2/3

preview_player
Показать описание
In this video of CodeIgniter 4 From Scratch Series we will learn how to use View Cells. This is a second part of Views sub-series, where you will learn how you can create HTML components to use in you views, so that you don't have to recreate similar HTML blocks over an over.
View Cells will help you achieve the following:
- keep main view files clean
- make your HTML easy to maintain
- understand the benefits of components

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 View Cells read the official docs
Рекомендации по теме
Комментарии
Автор

This instruction is just awesome! Thanks Alex!!!

turkey
Автор

Excellent Alex!
Using my time to learn from your tutorials!

Thanks!!

someutubchannel
Автор

Good stuff Alex. As I'm building my web app in CodeIgniter 4 I find myself watching every video you release. Keep up the good work.

jigglypotatoes
Автор

Thank you! I had hard time to get view_cell to work, but you made it more clear for me <3

MeridionWanderer
Автор

Fine tutorial! The CI user guide now describes simple view cells and controlled view cells. It looks a bit abstract to me, maybe an idea for a future tutorial / update? Cheers!

MrKeebee
Автор

Hello great tutorial, thank you
Just wondering why at this point you didn't moved also the navigation bar into a cell

robertg
Автор

my codeignitor doesn't display any error message even if I am in development mode? how can I solve this ?

yomaru_
Автор

Why do we have to include view cells inside views? cannot we just include view inside other view ?

nikosspiropoulos
Автор

this year 2023.. is it reliable to use Codeigniter or Laravel?

melvinreano
Автор

Do you have your example in git files ?

emuna
Автор

hi i have some errors the data array cannot pass to the views
class Home extends BaseController
{
public function index()
{
$data['title'] = 'CodeInter Tutorial';
return $data);
}

mggaming