Is CI4 still a small footprint framework ? |
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?
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 . Best VPS Hosting : Digital Ocean
(08-12-2017, 12: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) 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. |
Welcome Guest, Not a member yet? Register Sign In |