|
|
|
|
|
by mschuster91
3484 days ago
|
|
> It's not just doctrine that makes it slow, it's the whole bootstrapping process on every request. When you use proper opcode caching, you avoid the startup hit. And having a generous amount of RAM usable as disk cache also helps in framework-heavy projects - the more files can be cached in RAM, the less PHP has to hit the disk on require/include. |
|
Another question, with those modern PHP frameworks you are already learning and applying almost every concept that you can use with (let's say) JAVA. Then why not to use that powerful platform which inspires PHP? It is like you have driving licence for a truck and you can drive a truck almost perfectly after 3 months of practice, but still you prefer your old minivan to carry 10 tons of load. The minivan was not designed for 10 tons of load but there are some modifications allowing that, but if you spend 30% more fuel.
Don't come with the argument of "php is easy". It is as hard as other similar languages.