Auto CRUD Generator - #2 - Add & Edit Forms Generation w/ Validation and More | CodeIgniter 4

  Рет қаралды 10,729

Alex Lancer

Alex Lancer

Күн бұрын

Пікірлер: 29
@helmianto358
@helmianto358 4 ай бұрын
Thanks for the tutorial and projects. Very helpful Alex
@gce517
@gce517 3 жыл бұрын
What I like the most about this tutorial series is the absolute lack of nonsense. No distracting music or leaving us to guess what is happening behind the code. The fact that it is not scripted should make every CI4 newcomer feel relieved that we are not alone in our frustrations when we forget the little things. In fact, watching Alex patiently debug his code is perhaps one of the most important takeaways from his tutorials. Kudos to you, Alex! I know it is not easy to make these types of tutorials in a single go. THANK YOU!
@basilistigris640
@basilistigris640 3 жыл бұрын
one more perfectly explained video on latest version of codeigniter 4, thank you Alex Lancer very profesional lessons
@Sushilkawad
@Sushilkawad 4 жыл бұрын
Good work Brother.
@ilhamramdhani4798
@ilhamramdhani4798 3 жыл бұрын
Awesome, thanks for the bonus.
@annarubio2708
@annarubio2708 4 жыл бұрын
Hi, Alex!! Thank you a lot for your tutorials!! really good help! I've generated CRUD encrypting some fields with codeigniter4, but I want to do a findAll() method and show it in a table inside a view and I don't know how to do it. without encrypting, it's easier making findall(), and then a foreach loop, but now I'm stacked because of the encryption of some fields. Thank you very much for you help!
@EvanAbaddon
@EvanAbaddon 4 жыл бұрын
This is what I waiting for. Best Alex. Thank you!
@AlexLancer
@AlexLancer 4 жыл бұрын
Yeah :) The heavy stuff. Takes some time to be created. But it's worth the time spent.
@EvanAbaddon
@EvanAbaddon 4 жыл бұрын
@@AlexLancer Yap. So Alex, it will be support to multiple upload image?
@AlexLancer
@AlexLancer 4 жыл бұрын
@@EvanAbaddon not out of the box. Because there is no standard way for image upload + storing. If you have ideas on how to implement it. Share with me and I will consider adding it to the library.
@EvanAbaddon
@EvanAbaddon 4 жыл бұрын
@@AlexLancer For example we have table Products and the product have many images (id_album). and we have another table call Gallery or album it will relation with Products table.
@AlexLancer
@AlexLancer 4 жыл бұрын
@@EvanAbaddon that's how I do it also.Will have to plan it and research a little bit.
@ahmedharoon2740
@ahmedharoon2740 2 жыл бұрын
appreciate for great help to make our life easier and save the development time. looking for a dynamic menu (based on table(s)) and menu management which have At Least 4 levels of submenus, please if have time, guide us How To? i googled but still failed to find. regards
@fuzzyinteractive
@fuzzyinteractive 3 жыл бұрын
I'm totally stuck No matter what I do I still get this error: ErrorException Array to string conversion is there any other way to fix this other than using this code: if (is_array($form) && isset($form['redirect'])) return redirect()->to($form['redirect']); this method doesn't work ;(
@mixedartmedia7866
@mixedartmedia7866 3 жыл бұрын
I had the same problem!
@devajohnson4366
@devajohnson4366 4 жыл бұрын
Hi Alex, Thanks for this tutorial. It really helps me a lot I need Delete row option. Can you tell me how to do that?
@AlexLancer
@AlexLancer 4 жыл бұрын
Hey, Deva, So far I am convinced that there is no reason to automate the deletion process. And the reason for that is that many deletions procedures might need some unique business logic. Therefore, it is more appropriate, in my opinion, to do it on your own, depending on your project needs. Just add a delete method into you controller function delete($id) and once deleted redirect back to the index method to display the table with existing items. Or create your own delete method in Crud.php file with all the required checks for your needs.
@devajohnson4366
@devajohnson4366 4 жыл бұрын
@@AlexLancer Thank you so much for your response Alex. I saw some code relevant to delete option in Crud_core.php that's why I asked. I can do it by myself 😊.
@albertoiong6895
@albertoiong6895 4 жыл бұрын
Hi Alex, Thanks for your sharing. I just finished part two of your tutorial. It seems that the search filter doesn't work with pagination, ie. search, click page number and search filter clear automatically. Is there anything i miss in the tutorial ? Note: After I finished with Part 3, I know that this is a know bug to be fixed.
@AlexLancer
@AlexLancer 4 жыл бұрын
Exactly, it is something that needs to be figured out.
@vuphungduy595
@vuphungduy595 4 жыл бұрын
hi alex, when i compare password, it's cant match, $post[$hashIt] = password_hash($hashIt, PASSWORD_DEFAULT); password_hash($data['data']['u_password'], PASSWORD_DEFAULT); password_verify($data['u_password'], $user['u_password']); it not true, i set pw, and not login with my password. May you help me, thanks u.
@vuphungduy595
@vuphungduy595 4 жыл бұрын
i fixed bug. $post[$hashIt] = password_hash($post[$hashIt], PASSWORD_DEFAULT); for anyone need fix.
@ROGERIORIOS70
@ROGERIORIOS70 3 жыл бұрын
@@vuphungduy595 THANK YOU !!! Without this adjustment that you made, what happened was that it was recorded and the password was never found correctly. 12 hours searching....Thank You !
@dimasismu5738
@dimasismu5738 2 жыл бұрын
hi, BRo............... the best teach for me thank... I need more for to learn so can you make a video about upload and download file manager for (pdf, img) or all ext include .apk ext.. thank bro
@sahidbis02
@sahidbis02 2 жыл бұрын
my datepicker does not work.. what did i miss
@Mrscandeia
@Mrscandeia 4 жыл бұрын
Show theater.. vlw...
@AlexLancer
@AlexLancer 4 жыл бұрын
:)
@plain3808
@plain3808 3 жыл бұрын
$form .= ' ' . ($this->action == 'add' ? $this->form_title_add : $this->form_title_update) . ' ' . form_open('/'.$this->base . '/' . $this->table . '/' . ($this->action == 'add' ? 'add' : 'edit/' . $this->id)) . ' '; for some reason, this code doesn't redirect me to the /users/add or users/edit. but when I type the URL in the search bar the form loads. any tips on how to fix this? thankyou
@plain3808
@plain3808 3 жыл бұрын
nvm . i fix it :)
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
EASY React Animation with useGSAP()
12:45
GSAP Learning
Рет қаралды 111 М.
The Right Way To Use Feature Flags in .NET (targeting users explained)
17:44
Сборник Эксклюзивов 2024 - Уральские Пельмени
1:33:24
Уральские Пельмени
Рет қаралды 1,5 МЛН
CodeIgniter 4 from Scratch - #11 - Form Validation
41:17
Alex Lancer
Рет қаралды 26 М.
CodeIgniter 4 from Scratch - #6 - Views | Basic Views | Part 1/3
25:50
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН