Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4.0 is here!
#79

(02-26-2020, 03:18 AM)tomologos Wrote:
(02-24-2020, 06:43 AM)John_Betong Wrote: Great news and well worth the three year wait!

Here's new welcome_message.php

https://ci4-strict.tk/welcome-new

...and it's fast!

https://tools.pingdom.com/#5c1dd69bcc800000

Tested from the London web server:
Performance grade : 100%
Page size : 15.0 KB
Load time : 131 ms
Requests : 2

Many thanks to all the Team that made this possible - let the promotion begin Smile

Link: https://forum.codeigniter.com/thread-755...#pid372298 

May I Ask you about 
app config and server config for using codeigniter 4 in strict_mode? is this way is increasing ci speed? i interested on your serving codeigniter that executed very fast (0,0002 s). I try to add mode_strict to every ci php file, and got error ( 500 internal server error) . Many thanks for your answer/help..
> May I Ask you about app config and server config for using codeigniter 4 in strict_mode?
The source code is available on Github, app directory is original, app-strict is the modifications and system is every PHP file with declare(strict_types=1); inserted int the top of each PHP file.


is this way is increasing ci speed?
I use the strict_mode mainly to help with debugging, warnings are usually converted into errors , program execution stops until the errors are fixed.

I also think using the strict mode will reduce server processing time because the PHP "type juggling" will be eliminated... Less processing means faster rendering.

Following are the modifications made to index.php and errors that required fixing in order to comply with the strict mode. One of these fine days when not busy I will raise Github Pull Request to the CI4 Development Team.

https://ci4-strict.tk/bugs-fixed


I try to add mode_strict to every ci php file, and got error ( 500 internal server error) .
The 500 errors experienced are usually down to the script not being able to perform requested tasks.

https://developer.mozilla.org/en-US/docs...Status/500

Try downloading the Github Strict Version which is the actual script used in the online demonstration. I find it is far easier to have script that works then add or modify until it breaks Smile
Reply


Messages In This Thread
CodeIgniter 4.0 is here! - by kilishan - 02-23-2020, 11:09 PM
RE: CodeIgniter 4.0 is here! - by michalsn - 02-23-2020, 11:32 PM
RE: CodeIgniter 4.0 is here! - by tomologos - 02-23-2020, 11:59 PM
RE: CodeIgniter 4.0 is here! - by Stormbringer - 02-24-2020, 12:05 AM
RE: CodeIgniter 4.0 is here! - by cardinod - 02-24-2020, 12:08 AM
RE: CodeIgniter 4.0 is here! - by tomologos - 02-24-2020, 12:17 AM
RE: CodeIgniter 4.0 is here! - by littlej - 02-24-2020, 12:25 AM
RE: CodeIgniter 4.0 is here! - by NathanR - 02-24-2020, 01:32 AM
RE: CodeIgniter 4.0 is here! - by Paradinight - 02-24-2020, 01:43 AM
RE: CodeIgniter 4.0 is here! - by saquibhasan - 02-24-2020, 01:50 AM
RE: CodeIgniter 4.0 is here! - by ouiouioui - 02-24-2020, 01:52 AM
RE: CodeIgniter 4.0 is here! - by tgix - 02-24-2020, 01:56 AM
RE: CodeIgniter 4.0 is here! - by aa6my - 02-24-2020, 02:02 AM
RE: CodeIgniter 4.0 is here! - by futurewebs - 02-24-2020, 03:06 AM
RE: CodeIgniter 4.0 is here! - by msjagan - 02-24-2020, 03:14 AM
RE: CodeIgniter 4.0 is here! - by cseon - 02-24-2020, 03:40 AM
RE: CodeIgniter 4.0 is here! - by googlemy - 02-24-2020, 03:43 AM
RE: CodeIgniter 4.0 is here! - by suhindra - 02-24-2020, 03:43 AM
RE: CodeIgniter 4.0 is here! - by jbangar - 02-24-2020, 03:51 AM
RE: CodeIgniter 4.0 is here! - by boubacool - 02-24-2020, 03:53 AM
RE: CodeIgniter 4.0 is here! - by FabriceL - 03-03-2020, 01:17 PM
RE: CodeIgniter 4.0 is here! - by Avega Soft - 02-24-2020, 03:55 AM
RE: CodeIgniter 4.0 is here! - by B.Clash - 02-24-2020, 04:07 AM
RE: CodeIgniter 4.0 is here! - by marcogmonteiro - 02-24-2020, 04:16 AM
RE: CodeIgniter 4.0 is here! - by Kel_Novi - 02-24-2020, 04:18 AM
RE: CodeIgniter 4.0 is here! - by siprox - 02-24-2020, 04:26 AM
RE: CodeIgniter 4.0 is here! - by InsiteFX - 02-24-2020, 05:58 AM
RE: CodeIgniter 4.0 is here! - by miguelgomezsa - 02-24-2020, 05:59 AM
RE: CodeIgniter 4.0 is here! - by Gianluigi - 02-24-2020, 06:02 AM
RE: CodeIgniter 4.0 is here! - by nefone - 02-24-2020, 06:16 AM
RE: CodeIgniter 4.0 is here! - by midhunlalkc - 02-24-2020, 06:22 AM
RE: CodeIgniter 4.0 is here! - by John_Betong - 02-24-2020, 06:43 AM
RE: CodeIgniter 4.0 is here! - by tomologos - 02-26-2020, 03:18 AM
RE: CodeIgniter 4.0 is here! - by John_Betong - 02-26-2020, 08:50 PM
RE: CodeIgniter 4.0 is here! - by ferricandra - 02-24-2020, 06:45 AM
RE: CodeIgniter 4.0 is here! - by leunghoyinhk - 02-24-2020, 07:21 AM
RE: CodeIgniter 4.0 is here! - by ngocvd - 02-24-2020, 07:39 AM
RE: CodeIgniter 4.0 is here! - by rahulswt7 - 02-24-2020, 07:42 AM
RE: CodeIgniter 4.0 is here! - by jameslittle - 02-24-2020, 07:55 AM
RE: CodeIgniter 4.0 is here! - by mintwint - 02-24-2020, 08:21 AM
RE: CodeIgniter 4.0 is here! - by webdevron - 02-24-2020, 08:42 AM
RE: CodeIgniter 4.0 is here! - by trutman - 02-24-2020, 08:58 AM
RE: CodeIgniter 4.0 is here! - by php_rocs - 02-24-2020, 09:05 AM
RE: CodeIgniter 4.0 is here! - by CIpatron - 02-24-2020, 09:13 AM
RE: CodeIgniter 4.0 is here! - by shohidul - 02-24-2020, 09:21 AM
RE: CodeIgniter 4.0 is here! - by nasser.man - 02-24-2020, 09:23 AM
RE: CodeIgniter 4.0 is here! - by jerry.gai - 02-24-2020, 10:05 AM
RE: CodeIgniter 4.0 is here! - by ubayedtanvir - 02-24-2020, 10:37 AM
RE: CodeIgniter 4.0 is here! - by oakeymini - 02-24-2020, 10:38 AM
RE: CodeIgniter 4.0 is here! - by Mobostar - 02-24-2020, 10:51 AM
RE: CodeIgniter 4.0 is here! - by duqkefly - 02-24-2020, 01:01 PM
RE: CodeIgniter 4.0 is here! - by rhubka - 02-24-2020, 01:03 PM
RE: CodeIgniter 4.0 is here! - by hatsat32 - 02-24-2020, 01:13 PM
RE: CodeIgniter 4.0 is here! - by duqkefly - 02-24-2020, 01:40 PM
RE: CodeIgniter 4.0 is here! - by lvp - 02-24-2020, 02:48 PM
RE: CodeIgniter 4.0 is here! - by Marijan - 02-24-2020, 04:49 PM
RE: CodeIgniter 4.0 is here! - by Halim - 02-24-2020, 05:11 PM
RE: CodeIgniter 4.0 is here! - by ranjithsiji - 02-24-2020, 09:24 PM
RE: CodeIgniter 4.0 is here! - by akhtark20 - 02-24-2020, 11:22 PM
RE: CodeIgniter 4.0 is here! - by krasimirpetrov - 02-25-2020, 02:05 AM
RE: CodeIgniter 4.0 is here! - by muuucho - 02-25-2020, 02:28 AM
RE: CodeIgniter 4.0 is here! - by pathusutariya - 02-25-2020, 02:37 AM
RE: CodeIgniter 4.0 is here! - by adnzaki - 02-25-2020, 07:35 AM
RE: CodeIgniter 4.0 is here! - by cosmo - 02-25-2020, 08:18 AM
RE: CodeIgniter 4.0 is here! - by maprangsoft - 02-25-2020, 09:37 AM
RE: CodeIgniter 4.0 is here! - by miguelgomezsa - 02-25-2020, 10:59 AM
RE: CodeIgniter 4.0 is here! - by jreklund - 02-25-2020, 11:11 AM
RE: CodeIgniter 4.0 is here! - by nc03061981 - 02-25-2020, 05:00 PM
RE: CodeIgniter 4.0 is here! - by tomexsans - 02-25-2020, 10:40 PM
RE: CodeIgniter 4.0 is here! - by John_Betong - 02-25-2020, 10:44 PM
RE: CodeIgniter 4.0 is here! - by sharazy - 02-26-2020, 12:18 AM
RE: CodeIgniter 4.0 is here! - by eboominathan - 02-26-2020, 12:31 AM
RE: CodeIgniter 4.0 is here! - by estern76 - 02-26-2020, 06:00 AM
RE: CodeIgniter 4.0 is here! - by tomexsans - 02-26-2020, 08:49 PM
RE: CodeIgniter 4.0 is here! - by olaoyesunday - 02-26-2020, 02:39 AM
RE: CodeIgniter 4.0 is here! - by website - 02-26-2020, 05:40 AM
RE: CodeIgniter 4.0 is here! - by miguelgomezsa - 02-27-2020, 10:01 AM
RE: CodeIgniter 4.0 is here! - by GotExx - 02-26-2020, 06:49 AM
RE: CodeIgniter 4.0 is here! - by Alok Insan - 02-26-2020, 08:22 AM
RE: CodeIgniter 4.0 is here! - by adelbak - 02-26-2020, 12:26 PM
RE: CodeIgniter 4.0 is here! - by rezamoradix - 02-27-2020, 02:02 AM
RE: CodeIgniter 4.0 is here! - by melinkiong - 02-27-2020, 02:59 AM
RE: CodeIgniter 4.0 is here! - by chaker - 02-27-2020, 07:13 AM
RE: CodeIgniter 4.0 is here! - by serge78 - 02-27-2020, 09:14 AM
RE: CodeIgniter 4.0 is here! - by Ali1ty - 02-27-2020, 09:52 AM
RE: CodeIgniter 4.0 is here! - by Dedov_Evgeniy - 02-27-2020, 07:49 PM
RE: CodeIgniter 4.0 is here! - by Johnrech - 02-27-2020, 09:13 PM
RE: CodeIgniter 4.0 is here! - by Johnrech - 02-27-2020, 09:20 PM
RE: CodeIgniter 4.0 is here! - by naghtigall - 02-28-2020, 06:03 AM
RE: CodeIgniter 4.0 is here! - by samyam - 02-28-2020, 08:12 AM
RE: CodeIgniter 4.0 is here! - by dave friend - 02-28-2020, 02:17 PM
RE: CodeIgniter 4.0 is here! - by triluminos - 03-01-2020, 04:37 AM
RE: CodeIgniter 4.0 is here! - by satish.verma143 - 03-01-2020, 11:18 PM
RE: CodeIgniter 4.0 is here! - by eboominathan - 03-02-2020, 02:46 AM
RE: CodeIgniter 4.0 is here! - by Kel_Novi - 03-02-2020, 04:56 AM
RE: CodeIgniter 4.0 is here! - by mk_common - 03-04-2020, 03:19 AM
RE: CodeIgniter 4.0 is here! - by mk_common - 03-07-2020, 11:43 PM
RE: CodeIgniter 4.0 is here! - by Phillinger - 03-02-2020, 08:48 AM
RE: CodeIgniter 4.0 is here! - by JerryJones - 03-03-2020, 10:40 PM
RE: CodeIgniter 4.0 is here! - by Shivafeb17 - 03-04-2020, 06:40 PM
RE: CodeIgniter 4.0 is here! - by Nic34 - 03-07-2020, 01:12 AM
RE: CodeIgniter 4.0 is here! - by jreklund - 03-08-2020, 04:39 AM
RE: CodeIgniter 4.0 is here! - by Zakawa - 03-09-2020, 09:01 AM
RE: CodeIgniter 4.0 is here! - by Paradoxa - 03-09-2020, 01:32 PM
RE: CodeIgniter 4.0 is here! - by includebeer - 03-09-2020, 01:51 PM
RE: CodeIgniter 4.0 is here! - by brabus - 03-09-2020, 04:41 PM
RE: CodeIgniter 4.0 is here! - by cb21 - 03-10-2020, 06:04 AM
RE: CodeIgniter 4.0 is here! - by lehbyos - 03-10-2020, 06:18 AM
RE: CodeIgniter 4.0 is here! - by milengardev1994 - 03-10-2020, 07:19 AM
RE: CodeIgniter 4.0 is here! - by jvandemerwe - 03-11-2020, 10:11 AM
RE: CodeIgniter 4.0 is here! - by rgorham83 - 03-12-2020, 04:48 AM
RE: CodeIgniter 4.0 is here! - by manigopal - 03-13-2020, 12:40 AM
RE: CodeIgniter 4.0 is here! - by CIProgrammer - 03-15-2020, 09:44 AM
RE: CodeIgniter 4.0 is here! - by jreklund - 03-15-2020, 10:04 AM
RE: CodeIgniter 4.0 is here! - by alexdevstudio - 03-19-2020, 01:09 AM
RE: CodeIgniter 4.0 is here! - by Medialova - 03-23-2020, 09:22 PM
RE: CodeIgniter 4.0 is here! - by blankcodes - 03-26-2020, 12:23 PM
RE: CodeIgniter 4.0 is here! - by curiousteam - 04-03-2020, 09:32 AM
RE: CodeIgniter 4.0 is here! - by rolly - 04-09-2020, 10:30 AM
RE: CodeIgniter 4.0 is here! - by devpbrilius - 04-15-2020, 03:09 AM
RE: CodeIgniter 4.0 is here! - by satyenhacks - 04-20-2020, 10:02 PM
RE: CodeIgniter 4.0 is here! - by Daniel Dan - 04-30-2020, 06:14 AM
RE: CodeIgniter 4.0 is here! - by subel - 06-23-2020, 03:17 AM
RE: CodeIgniter 4.0 is here! - by ariajackson - 10-09-2020, 03:26 AM
RE: CodeIgniter 4.0 is here! - by medo - 01-31-2021, 07:35 AM
RE: CodeIgniter 4.0 is here! - by CoderAn - 01-31-2021, 10:57 AM
RE: CodeIgniter 4.0 is here! - by Zworthkey - 02-24-2021, 09:29 PM
Accsess my Libraries from Models - by Anton_BNV - 09-01-2021, 04:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB