Welcome Guest, Not a member yet? Register   Sign In
What are the CI4 ways to use Database and Library in a Helper?
#7

(08-15-2019, 12:08 PM)daveĀ friend Wrote:
(08-15-2019, 11:41 AM)webdevron Wrote: Again I am little bit confused about Service. I have read through the docs but still not clear about understanding "What is service?".

In CIv4 a Service is a type of factory to create new instances of the desired class. In other words, think of it as a kind of "helper" to load and instantiate a class. If you haven't already, read the v4 Documentation - Services info here

Think of it as a kind of "helper" to load and instantiate a class - this is very much easy to understand. Do not know why, CI4 doc is a little bit harder to understand than CI2 and CI3. But people like you, always make this easy.

Thank you again. Smile
"Who thinks in code"
Perfectly describes who I am
mbparvez.me
Reply


Messages In This Thread
RE: What are the CI4 ways to use Database and Library in a Helper? - by webdevron - 08-15-2019, 12:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB