• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is CI4 still a small footprint framework ?

#1
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?
Reply

#2
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
Reply

#3
(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.
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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