Can't understand CI4 services and factories! Lack of OOP knowledge ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Choosing CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=8) +--- Thread: Can't understand CI4 services and factories! Lack of OOP knowledge ? (/showthread.php?tid=81652) |
Can't understand CI4 services and factories! Lack of OOP knowledge ? - DarkGhost - 04-03-2022 Hello guys. I have been following CI for many years. In fact since v2. I built a dynamic league site using v3 mainly based on procedural programming. But for many reason I have decided to create a new one entirely on v4 because it supports latest php updates and new way of routing and classes. But when I want to learn routings, services and factories it's like I have to remember and copy paste the code inside the file. Is it because I should learn OOP programming first? I appreciate if you guys can guide me through. How can I improve my skills and resolve this so I can move forward and get along with the new stuff. Thanks. RE: Can't understand CI4 services and factories! Lack of OOP knowledge ? - kenjis - 04-03-2022 Services https://codeigniter4.github.io/CodeIgniter4/concepts/services.html Can you tell us what you don't understand? I don't know what exactly you mean by OOP, but if you don't already know what is described in the following site, I suggest you should learn about OOP. https://www.w3schools.com/php/php_oop_what_is.asp RE: Can't understand CI4 services and factories! Lack of OOP knowledge ? - kenjis - 04-03-2022 Services in CodeIgniter 4 | Lonnie Ezell on Patreon https://www.patreon.com/posts/services-in-4-20830710 RE: Can't understand CI4 services and factories! Lack of OOP knowledge ? - DarkGhost - 04-04-2022 (04-03-2022, 04:10 PM)kenjis Wrote: Services in CodeIgniter 4 | Lonnie Ezell on Patreon Thanks alot Kenjis. Lonnie's posts and articles explained these basic concepts in a simple and understandable ways. I think I start there. RE: Can't understand CI4 services and factories! Lack of OOP knowledge ? - kenjis - 04-06-2022 The user guide in develop branch is updated. Services https://codeigniter4.github.io/CodeIgniter4/concepts/services.html If there are something difficult to understand, let us know. |