CodeIgniter Forums
Is CI4 still a small footprint framework ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forum-31.html)
+--- Thread: Is CI4 still a small footprint framework ? (/thread-68677.html)



Is CI4 still a small footprint framework ? - frederikbowson - 08-11-2017

As I remember... CI2 was a small footprint framework.
It had a fast run time compared to other frameworks, very close to plain PHP.

In CI4 is this still something that will be considered?


RE: Is CI4 still a small footprint framework ? - sv3tli0 - 08-12-2017

Yes and No ..

In dev mode there are a lot of shits added by composer for phpunit testing and etc..
In production mode composer adds just 4 additional packages and with them the size of the CI app become about 5MB.. (total ~800 files)

I think its really small footprint, if you try production mode of Laravel Symfony etc.. you will see the difference .


RE: Is CI4 still a small footprint framework ? - kilishan - 08-13-2017

(08-12-2017, 01:59 AM)sv3tli0 Wrote: In production mode composer adds just 4 additional packages and with them the size of the CI app become about 5MB.. (total ~800 files)

I think its really small footprint, if you try production mode of Laravel Symfony etc.. you will see the difference .

And in production, none of those Composer files will be necessary. There's a script that happens after composer update/install that moves only the relevant files into application/ThirdParty (only 2 or 3 right now, I believe). That's what will be packaged up in the zip file, keeping the footprint fairly close to what it was.