Category: php

[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

Object-oriented programming: Understanding Interfaces

In the various php projects that I have already been involved in and those that I am still involved in, I realize that the Interfaces, which is something very important in the Object Orientation Paradigm, are very little used and / or most of the time, NOT used. Several programmers don’t give a damn about the interfaces. Some deem it unnecessary, others unimportant but in general I believe that this underutilization is due to the lack of knowledge of its characteristics and its conception.

That’s why I’m here writing this post. To try to explain to you readers what an Interface is, what it is for, how to implement / use it and what are the advantages it brings.

Continue lendo