Welcome Guest, Not a member yet? Register   Sign In
isCLI method broken - I think it is a bug..
#4

(03-06-2023, 07:50 AM)jobyjosephme Wrote: why ci4 is overcomplicating things. why cant it be like ci3 and allow developers to use it like they wish. i felt ci4 is forcing developers to use only one way where ci3 allow much more freedom.

The reason is complex.
1. CI4 tries to simplify things. CI4 provides Spark commands for CLI. Controllers are for Web, Spark commands are for CLI.
1. CI4 recommends better practices. Using Controllers via CLI is not good practice.
2. CI4's CLIRequest is a bit broken or having design flaw in my opinion. So if you believe a behavior is a bug, please report it on GitHub.
Reply


Messages In This Thread
RE: isCLI method broken - I think it is a bug.. - by kenjis - 03-06-2023, 05:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB