Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter4 - Event listner
#5

Just in case, I was not questioning events concept, just wondered a good use case for it. Glad I figured out it was related to current hooks - CI4 mastered already h aha.

Now that I think about it, it is down to which way you approach things and how modular or connected the teams working on project are.

I almost explicitly work in environment where all developers approach it from point of view that they know what precursor they need to add more actions to, and that action source code is always available for modifications.

Events on other hand are more, future development in mind, hey, this action has happened so I am announcing it to everyone in case someone may be listening down the line, and now they want to add their own actions to it, without touching my code.

Sounds about right?
Reply


Messages In This Thread
CodeIgniter4 - Event listner - by happyape - 09-19-2018, 03:21 AM
RE: CodeIgniter4 - Event listner - by Pertti - 09-19-2018, 03:58 AM
RE: CodeIgniter4 - Event listner - by kilishan - 09-19-2018, 05:38 AM
RE: CodeIgniter4 - Event listner - by happyape - 09-19-2018, 05:48 AM
RE: CodeIgniter4 - Event listner - by Pertti - 09-19-2018, 06:01 AM
RE: CodeIgniter4 - Event listner - by Pertti - 09-19-2018, 05:54 AM
RE: CodeIgniter4 - Event listner - by happyape - 09-19-2018, 06:03 AM
RE: CodeIgniter4 - Event listner - by Pertti - 09-19-2018, 06:40 AM
RE: CodeIgniter4 - Event listner - by unodepiera - 09-29-2018, 11:47 AM
RE: CodeIgniter4 - Event listner - by happyape - 09-29-2018, 12:38 PM
RE: CodeIgniter4 - Event listner - by unodepiera - 09-29-2018, 11:29 PM
RE: CodeIgniter4 - Event listner - by abrkof - 01-04-2020, 10:31 AM
RE: CodeIgniter4 - Event listner - by InsiteFX - 01-05-2020, 09:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB