php - How different is CakePHP from Ruby on Rails? -


I can not hear the word KPHHP without any words, later without the rail tracks. Are these two frameworks primarily similar to how they follow the MVC model or do they have other important similarities / differences?

One of the main attractions of the rail for me is that it is easy to do Ajax. Will this be true about KPPHP?

The KPPHP is like a cheap, unscrupulous train of rail. It tries to be like a train without any luggage which makes the train great. It sounds a bit similar, I think.

The KPPHP has an Ajax Assistant, which does something similar to Ajax's related methods in the rail, yes, it is also true in any way, this is also true.

But the KPPHP is actually a practice in vanity: its authors have written it so that they have to learn Ruby, even if learning Ruby and Rail together, it is probably possible to find a huge mess of cake php .

(This is what KPPHP does in its day-to-day, coming from someone.)


Since you all ask me about CakePHP The bigger complaint is that it is the suitability of the object-oriented programming: it is sure, it enforces the active record pattern as the rail, but it passes through the data structures.

I think that any logical person has the ORM in the faulty and dynamic loading objects, which actually does ActiveRecord (Rail Library) called a member variable The whole idea of ​​setting up to determine which relationship to load is simply defective.

Being based on PHP is also very fatal; You can not do anything with the global state, you have to depend on the mod_rewrite , you pay the startup penalty on each request. Of course, there are adaptations for any environment you are using, but still people say that ruby ​​is slow, but my own rail app runs faster than their cake php counterparts, after all I checked . I accept this to be without data.

Worst of all, worms in CakePHP just kill me for it

  • We spent two days when CakePHP connected to the right database host
  • The time of our pages is half
  • The amount of code which resides in our AppController because many megabytes costs of component load memory Li>
  • How do we clear tag that appears at the end of every page

Comments