[eluser]Référencement Google[/eluser]
I have made some websites with CI, and also 1 with Kohana CI fork.
That's the feedback I can give to you:
- Is your web site small, medium or big? How ‘heavy’ you think it is?
Some small, some medium websites and medium heavy.
- How fast is it? How much time it takes to load the front page? How much time it takes to load when you click a link?
It is fast, I can even say, very fast. I don't measure the time it takes to load, but I can say it's less than 2 seconds to load really all.
- Is your hosting shared or dedicated? If shared, have it limitations? If dedicated, which is your server’s configuration (CPU, memory, hard disk, etc)?
Dedicated VPS, virtualization by XEN. 512Mo of RAM, intel dual core 2Ghz, 10Go of hard drive, 200Go / month of traffic is included
- Are you using CI cache?
I will have to give it a try but actually not using it since it can't cache only partials.
- Are you using any PHP cache like XCache, eAccelerator or APC?
No
- Are you using sessions? Which kind of session are you using: cookie, PHP native or database?
For some apps native session, for some DB session
- Does your web site builds the all the pages from a database or is mostly static content?
It is mixed, depends the need of the application. I can say, if the content needs to be edited I go directly with a DB, however I try not to use the DB if it's not really needed.
- Are you using Active Record or raw queries?
At the begining I was using CI, I was using raw queries, but using some kind of $this->db->query('SELECT * FROM mytable') Then on the last application I've build, I have been using only active record (only a few complex queries was built manually since active record was not able to do them)
- Are you using a template parser or only pure PHP code?
Pure PHP <?=$var?>
- Is there something special you did to get more performance when your web site access hit the sky?
I actually don't had to face this case yet. But if it would happen, I will try to optimize the DB queries a maximum, then try to refactor some parts of code that I knew can be slowly (For example during developpement I note a TODO comment in some code that I know it can be done better but don't have time right now to do it) If it's not sufficiant, the next step would be to implement a cache system and some PHP optimizer.
- Do you think CI gives you more performance than the old way you made your applications? Why?
Yes, more structure in the application, more organized, a common way to do things and not reiventing the wheel each time or rely on classes that I just found, ... The performance gain is not for the PHP script speed, but it's really on the Framework concept itself.
- Do you know something faster or lighter than CodeIgniter?
I tryed for a month to use Kohana that claim to be faster, but unfortunally, it is not. Maybe it is on the benchmark of some code, but the user feeling looks like it's heavy to load, I came back to CI then.