Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Avoid using helpers
Post: Avoid using helpers

I don't get why pretty much every PHP framework comes with this shit. I wish CI4 helpers were libraries instead of helpers. global methods are the worst thing. hard to test and bad for readability. N...
MrWhite Best Practices 0 136 04-06-2021, 10:23 AM
    Thread: Dot notation support for getFlashdata() method
Post: Dot notation support for getFlashdata() method

session() global method and $session->get() method support for dot notation when accessing array elements. but getFlashdata() does not support for that. Its very convenient if we can use getFl...
MrWhite CodeIgniter 4 Feature Requests 2 322 03-19-2021, 07:45 PM
    Thread: Proper Middleware support
Post: RE: Proper Middleware support

(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 n...
MrWhite CodeIgniter 4 Feature Requests 6 838 03-07-2021, 12:34 AM
    Thread: Proper Middleware support
Post: Proper Middleware support

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.
MrWhite CodeIgniter 4 Feature Requests 6 838 03-06-2021, 06:28 PM
    Thread: Avoid using CI4 filters
Post: RE: Avoid using CI4 filters

(02-28-2021, 07:38 PM)kenjis Wrote: You can combine multiple filters into one alias, making complex sets of filters simple to apply: PHP Code:public $aliases = [    'ap...
MrWhite Best Practices 3 455 02-28-2021, 07:55 PM
    Thread: Avoid using CI4 filters
Post: Avoid using CI4 filters

I think this is one of the very poorly implimented features in CI4. 01. It's doesn't support for multiple filters for single route. 02. There is no support for chained filters like in the form valid...
MrWhite Best Practices 3 455 02-28-2021, 06:35 PM
    Thread: Is this a bug or design choice?
Post: RE: Is this a bug or design choice?

(01-16-2021, 01:02 AM)demyr Wrote: Do you see the index.php when you check the url with site_url ? Could you also check here please. site_url I'm not talking about site_url(). I'm talking about cu...
MrWhite CodeIgniter 4 Discussion 7 825 01-16-2021, 01:15 AM
    Thread: Sanitization with form validation
Post: RE: Sanitization with form validation

(01-15-2021, 07:32 PM)iRedds Wrote: (01-13-2021, 02:01 AM)MrWhite Wrote: Why we cant use trim(), htmlspecialchars() like methods in form validation rules? Validation and sanitization are two diffe...
MrWhite CodeIgniter 4 Support 4 469 01-15-2021, 10:14 PM
    Thread: Is this a bug or design choice?
Post: RE: Is this a bug or design choice?

(01-15-2021, 04:05 PM)includebeer Wrote: (01-15-2021, 01:12 PM)demyr Wrote: It is a design choice in my opinion because there is an official guide about how to remove index.php in the url. I hope ...
MrWhite CodeIgniter 4 Discussion 7 825 01-15-2021, 07:16 PM
    Thread: Sanitization with form validation
Post: RE: Sanitization with form validation

(01-15-2021, 04:23 PM)includebeer Wrote: It should work. The user guide says: Quote:You can also use any native PHP functions that permit up to two parameters, where at least one is required (to pas...
MrWhite CodeIgniter 4 Support 4 469 01-15-2021, 07:02 PM
    Thread: Is this a bug or design choice?
Post: RE: Is this a bug or design choice?

Any idea about this guys?
MrWhite CodeIgniter 4 Discussion 7 825 01-15-2021, 05:18 AM
    Thread: Is this a bug or design choice?
Post: Is this a bug or design choice?

versions: ci4 4.04 and ci4 4.x latest develop branch. file: app/config/app.php PHP Code:public $indexPage = 'index.php';  Url that I'm currently in: Code:http://localhost:808...
MrWhite CodeIgniter 4 Discussion 7 825 01-13-2021, 09:36 PM
    Thread: Sanitization with form validation
Post: Sanitization with form validation

Why we cant use trim(), htmlspecialchars() like methods in form validation rules? for example...... PHP Code:'name' => [    'label' => 'Name',    'rules...
MrWhite CodeIgniter 4 Support 4 469 01-13-2021, 02:01 AM
    Thread: Routing Advice
Post: RE: Routing Advice

(01-07-2021, 01:18 PM)demyr Wrote: @nicojmb Thanks for the suggestion but I believe it is not the thing I need. Because in documentation, for routes, it says PHP Code:$routes->get('{locale}...
MrWhite CodeIgniter 4 Support 4 633 01-07-2021, 06:42 PM
    Thread: Ci4 system error localization not working
Post: RE: Ci4 system error localization not working

(01-06-2021, 09:55 AM)davis.lasis Wrote: You need Codeigniter global language translations. It has DE language as well.  Add this in your composer or download manually in your system https://github...
MrWhite CodeIgniter 4 Support 9 801 01-06-2021, 10:48 AM
    Thread: Ci4 system error localization not working
Post: RE: Ci4 system error localization not working

(01-05-2021, 11:22 PM)paulbalandan Wrote: You need to have in the routes definition a `{locale}` placeholder so that the Request object can set the locale properly. Hey, thats the strange thing here...
MrWhite CodeIgniter 4 Support 9 801 01-06-2021, 07:11 AM
    Thread: Ci4 system error localization not working
Post: RE: Ci4 system error localization not working

(01-01-2021, 02:36 AM)InsiteFX Wrote: There are no 404 error language files the 404 is a html view under Views errors. Which means the web browser should change it depending on the language. Yeah I...
MrWhite CodeIgniter 4 Support 9 801 01-01-2021, 04:56 AM
    Thread: Ci4 system error localization not working
Post: RE: Ci4 system error localization not working

(12-31-2020, 12:31 PM)InsiteFX Wrote: Because you need to load each language file for the language being used. So you need a dropdown or whatever to pick the language and then load the language the...
MrWhite CodeIgniter 4 Support 9 801 12-31-2020, 07:19 PM
    Thread: Ci4 system error localization not working
Post: Ci4 system error localization not working

hey check this image.  [Image: https://i.imgur.com/T64MpuK.png] I did put de local lang directory inside or app/Language directory. and default local is 'en'. but these kind of system error message...
MrWhite CodeIgniter 4 Support 9 801 12-31-2020, 12:17 AM
    Thread: Please dont make this person one of key guys of the CI4 framework
Post: Please dont make this person one of key guys of th...

I'm talking about the guy who is Andrey Andreev aka narfbg. I dont have anything against with this person personally. but I very much dislike he is as a one of leaders of CI3.  He is very rude, stubb...
MrWhite CodeIgniter 4 Discussion 4 809 12-23-2020, 11:38 PM

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