Hi community, need definined a service to work from helpers functions, I would appreciate it if you would kindly excuse my ignorance, as I find myself facing a world of change, it really is all so strange. In this case I'm working on some great helpers, but I'm faced with a matter of requiring a primitive library from a primitive and my great helper.
I require a simple function, but this requires making a primitive called, from the primitive Codeigniter 3 calls to a primitive algoritme library as we see it is a simple as stupid as performing or similar call.
PHP Code:
$CI->load->library('get_primitive_library');
I don't think it's code morse, just because I don't understand the documentation correctly, maybe I don't know too much, maybe I'm not deciphering the morse code from the document.
I'm just maybe totally wrong, because you'll see another more experienced programmer who has generated 4 aircraft for Nasa, but this thing is just one thing I wonder, like defining a service that in my opinion would be a way to solve that situation, because in the documentation they don't talk about calls to the library from something called "Helper".
the syntax is not impossible to understand, what may not be understood is to say that "Helper" needs to call library to perform some hairy actions defined in a lot of great classes that exist of infinite and extremely advanced possibilities within primitive Libreries that are requeriable from a view or controller. But the helpers as they call a library?
Excuse me if my language is not the best, it is simply that I am too good to understand, but the lack of explained documentation and/or primitive examples of how to perform a primitive integration are not entirely clear.
Perhaps some over-the-box programming experts will say, "You have to create an instance within a service," now I wonder how to build that instance to solve a hairy problem within a cool primitive helper that requires functions to process from a library.
I hope you understand, it is a constructive criticism totally seen from the reasoning of a Codeigniter 3 developer that some things were as many say "more professional and some were not". While many of us understand that the new things in Codeigniter 4 are superior, but there are simple things that are not possible to do, or maybe I'm wrong and they're not as easy as they used to be.
a simple CI->load
->library is now a bunch of functions and calls and configurations that may make the ship faster to conquer the potato you need to make?.
I don't stray to anything, maybe it's a tremendous device to write this, maybe you're right know, excuse me in case I'd like to know, know and/or understand if it's okay, that it's wrong, like acquiring this something, like answering call CI
->load. I hope you understand what I'm requiring and understand how to explain how to create a service and how to consume a library from an helper if possible