• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
My "Creative Parents" were created me on 11 December of 1990
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.