Hey, Markos, to say the truth I don't plan to make a video on libraries. And the reason is it is not something specific that can make a video on it's own. As CodeIgniter says Libraries are "Useful classes that don't fit in another category". So if you have a set of methods that you don't know where to include because you don't want them to make a Controller nor Model, then create a Library. For example I've showed an example of a Library usage when I created a RESTapi Authorization server. So i'd suggest you to watch: ruclips.net/video/uYX9FLi1BYg/видео.html at around 16:20 I start creating an Oauth.php library. Or another example of library usage: ruclips.net/video/9qIIjv17IgQ/видео.html at 15:10 Check it out and let me know if that helps.
@@AlexLancer Thanks! You're right, only it had confused me because in the libraries in codeigniter 3 we had to instantiate CI $this->CI = &get_instance()
This is wonderful! I am wondering how you are handing the routes. I think I butchered mine along my journey and would love to hear how someone with a better understanding of them manages their routes. - I have to struggle to create a route for pretty much everything.
For sure you are missing something. You dont need to change routes unless you REALLY want to. Generally it works perfectly out of the box. Can not give you more specifics without reviewing your project.
Hey, Steven, I have in works a CRUD library now, that will make a CRM-CMS project creation a really easy process, that is somehow what you ask for but I am not sure if this will be a candidate for a youtube tutorial. Because it is quite large and advanced project. Maybe I'll make a simplified version of that. I am not sure if I answered your question. Maybe you can specify more details on what would you like to see on this channel.
@@AlexLancer Thanks. I am looking more for guidance on having a module folder with its own controller, models and views. For example, if you create an invoicing system for clients and later you can offer a reporting module by just uploading it to the module folder and updating the routes. I have seen module tutorials in CI3 but I haven't see any for CI4 and I would be interested in seeing how you do it.
I've been trying to validate a dropdownlist that comes with the names of the database users. the problem is that when I add it to the rules array and when executing it it doesn't work for me
thanks for making tutorial on CIv4. It wouldn't have been easy to understand since their is a drastic change from the previous version.. Although, we could easily autoload any helper or library in the CIv3. But I don't seem to understand the Autoload Config Class. So is their a way to autoload helper, library and services in the latest version?
Hey Alex thanks for the nice video! :) However I have the following question: Is it possible to create a dependent validation rule? So for example I want the field "field 1" to be required if "field 2" contains the String "Test". Do you have an idea how to solve this? :)
Hey thank you for your tutorials but the problem is that your tutorials are very old, and they have changed a lot in CI 4.3.3 (Latest Release), they have disabled Auto Routing, now we need to route everything. and nothing works without proper routing. can you please help me with latest version form validation? with routing?
Very good, good explained, step by step! Great Tutorial
Obrigado eu acabei quase uma semanda a tentar instar e trabalhar com CodeIgniter, mas quando comecei a assistir seus videos foi tão fácil.
Thank you so much sir! Yours tutorials help me alot. From Cameroon.
Great tutorial! Many people who want to make their own web applications rapidly would be helped by it.
Great tutorials.
Advice: edit your "ou" snippet's last tag to and you won't get broken HTML
Thank you very much for this! Really helpful when switching from CI3 to CI4! hope to see more videos in the future 🤞🏽
Step by step, Great Tuts!
Alex, another great tutorial.
Thanks!
My pleasure, Antonnio.
Very helpful videos, thanks 🙏🙏👌👌
Hi Alex, great tutorial! I appreciate a lot the efforts you put in teaching us! Thank you!
You are done a good job.
Thanks, Mohamed.
Great! Thanks man, It is just I was looking for. Regards from Colombia.
Glad it helped!
Thank you for the video!! i'm waiting for the libraries video at Codeigniter 4 👍👍
Hey, Markos, to say the truth I don't plan to make a video on libraries. And the reason is it is not something specific that can make a video on it's own. As CodeIgniter says Libraries are "Useful classes that don't fit in another category". So if you have a set of methods that you don't know where to include because you don't want them to make a Controller nor Model, then create a Library. For example I've showed an example of a Library usage when I created a RESTapi Authorization server. So i'd suggest you to watch: ruclips.net/video/uYX9FLi1BYg/видео.html at around 16:20 I start creating an Oauth.php library.
Or another example of library usage: ruclips.net/video/9qIIjv17IgQ/видео.html at 15:10
Check it out and let me know if that helps.
@@AlexLancer Thanks! You're right, only it had confused me because in the libraries in codeigniter 3 we had to instantiate CI $this->CI = &get_instance()
Glad you figured it out 😉
Hey Alex! What extensions are you using? Can you share them?
Thanks, for the great tutorial
Very helpful tutorial. Thank you. May i known the name of your VSCode theme?
This is wonderful! I am wondering how you are handing the routes. I think I butchered mine along my journey and would love to hear how someone with a better understanding of them manages their routes. - I have to struggle to create a route for pretty much everything.
For sure you are missing something.
You dont need to change routes unless you REALLY want to.
Generally it works perfectly out of the box.
Can not give you more specifics without reviewing your project.
Buenisimo!!! very good video thanks a lot
Hello.. May i ask.. What if we have an array input from Form... How to validate it and send old value into form.. Thankk
Great tutorial. It answered a few questions for me. Would you consider a tutorial on Modules with the idea of creating reusable plugins to an app.
Hey, Steven, I have in works a CRUD library now, that will make a CRM-CMS project creation a really easy process, that is somehow what you ask for but I am not sure if this will be a candidate for a youtube tutorial. Because it is quite large and advanced project. Maybe I'll make a simplified version of that. I am not sure if I answered your question. Maybe you can specify more details on what would you like to see on this channel.
@@AlexLancer Thanks. I am looking more for guidance on having a module folder with its own controller, models and views. For example, if you create an invoicing system for clients and later you can offer a reporting module by just uploading it to the module folder and updating the routes. I have seen module tutorials in CI3 but I haven't see any for CI4 and I would be interested in seeing how you do it.
Great tutorial!, thanks for sharing your knowledge. I've got a question, Is it deprecated to use " " ?
Hi, great tutorial, I have a question, what is the difference between the set_value () and old () functions? Thx
I've been trying to validate a dropdownlist that comes with the names of the database users. the problem is that when I add it to the rules array and when executing it it doesn't work for me
thanks for making tutorial on CIv4. It wouldn't have been easy to understand since their is a drastic change from the previous version..
Although, we could easily autoload any helper or library in the CIv3. But I don't seem to understand the Autoload Config Class. So is their a way to autoload helper, library and services in the latest version?
Yes you can. by using BaseController. you can preload everything there. Of course YourController must extend BaseController in order for this to work
@@AlexLancer the $db instance doesn't work from BaseController..
hello :) why do you pass the parameter by reference and not value in your date_check function?
Thank you sir
Hey Alex thanks for the nice video! :) However I have the following question: Is it possible to create a dependent validation rule? So for example I want the field "field 1" to be required if "field 2" contains the String "Test". Do you have an idea how to solve this? :)
Hey thank you for your tutorials but the problem is that your tutorials are very old, and they have changed a lot in CI 4.3.3 (Latest Release), they have disabled Auto Routing, now we need to route everything.
and nothing works without proper routing.
can you please help me with latest version form validation? with routing?
Thank you Alex for posting this Great tutorial, why use '&' in &$error, why not just $error ?
hello, sir. i try use method old input data but not working. can you help me about this?
What extension is that? with Routes, Vars, Views, Files
What about the dynamic table add row ? Can it validate?
I am not completely sure what you mean. Can you describe in more details?
como faz para o error aparecer abaixo de cada input ?
Brazil
Please first complete this series of codeignator 4 tutorial from scratch then make an project with it 🧡💜🖤
Hey, BRK, I will do some project soon.
How to autoload form library in CodeIgniter 4?
I guess it's a little late, but just in case it helps someone else. You can autoload it in the BaseController. just add 'form' to the $helpers array.
great tutorial...... thanks for it!
how u auto insert data into the form? is dat chrome extension? what is the name?
It is a Form Filler Chrome Extension