• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Proper Middleware support

#1
It would be great if CI4 has a feature like middleware in Laravel. I know we have filters in CI4. But that feature is not flexible and not well thought out.
Reply

#2
(03-06-2021, 06:28 PM)MrWhite Wrote: It would be great if CI4 has a feature like middleware in Laravel. I know we have filters in CI4. But that feature is not flexible and not well thought out.

Unless the ideals have changed, the core team was very much against middleware back when CI4 was being developed.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply

#3
(03-06-2021, 09:07 PM)albertleao Wrote:
(03-06-2021, 06:28 PM)MrWhite Wrote: It would be great if CI4 has a feature like middleware in Laravel. I know we have filters in CI4. But that feature is not flexible and not well thought out.

Unless the ideals have changed, the core team was very much against middleware back when CI4 was being developed.

Really? any idea why?

And are they think their filters implementation is better than Laravel's middleware?

Since CI4 core team very sensitive for breaking changes, CI4 filters will be sucks forever.

I wish their mind get changed. Wink
Reply

#4
What's the difference in functionality between filters and middleware?
Reply

#5
What's your needs that do not meet in the filters?
Reply

#6
(03-07-2021, 12:34 AM)MrWhite Wrote:
(03-06-2021, 09:07 PM)albertleao Wrote:
(03-06-2021, 06:28 PM)MrWhite Wrote: It would be great if CI4 has a feature like middleware in Laravel. I know we have filters in CI4. But that feature is not flexible and not well thought out.

Unless the ideals have changed, the core team was very much against middleware back when CI4 was being developed.

Really? any idea why?

And are they think their filters implementation is better than Laravel's middleware?

Since CI4 core team very sensitive for breaking changes, CI4 filters will be sucks forever.

I wish their mind get changed. Wink

I believe their thought process was that filters were just as good and cleaner.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply

#7
I think filters are good enough and easy to use
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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