Category: codeigniter

[CodeIgniter 4 video lesson] – Views (Part 1) – Basic Resources

Hey guys, how are you?

I just published on my Youtube channel the fourth video of the series on CodeIgniter 4. In this video, I show what the Views are (The letter “V” of the MVC architecture), what is their purpose and how to create the Views inside the framework.

In the class, it is shown how to load a View and also how we can do to dynamically send data from the Controller to the View, in order to use them in the application’s template (interface).

Continue lendo

[CodeIgniter 4 video lesson] – Controllers (Part 2) – ROUTES

Hey guys. All right???

The third video on the CodeIgniter 4 framework is already on the air . In this lesson, I show you how to operate the routes in CI4 and how you can change the basic structure of the URLs in the application.

In the video I create a test controller called ” Products ” with the standard action ” index ” and with the action ” details “. Then, in the app/config/Routes.php file I add 2 routes, one that shows the simple redirection of “shopping” to the “products” controller and another that shows how to insert dynamic parameters and make the product details URL more ” lean ”.

Continue lendo

[CodeIgniter 4 video lesson] – Introduction to CodeIgniter 4 – How to download and configure the framework

Hello dear readers,

I am starting a series of video lessons on CodeIgniter 4,  the new version of the php framework that is easier and simpler to use. The purpose of the video lessons is to show how to download, configure and use the framework, thus providing a good basis for you to develop your projects in the near future using CI4 .

Continue lendo

CodeIgniter: Autocomplete in NetBeans IDE

Developing a project on CodeIgniter, with so many libraries and  helpers  that the framework offers and with so many other classes of its own and / or third parties without the autocomplete  feature  that current editors and IDEs offer is insanity. It is very difficult to know / remember all the methods of a given class, what they receive as a parameter and what they return.

I develop my projects on NetBeans , and although it provides a huge range of code autocomplete  suggestions  for PHP’s native functions and even some frameworks, for CI we have to configure this feature manually.

Continue lendo