I never really understood the reason for this hyper-aggressive loading
of everything and it's brother, whether you want it or not.
It sure would be nice to have the ability to turn off the auto
loading, and do a manual loading of only what you need in your
action something like a Containable
We can't forget that even not using $uses, when loading a Model it
will construct all its links, and its link will construct all of their
links, and so forth...
So, anyway, you are most probably going to load each and every model
by just loading a single one - even though they might have nothing t
On Feb 17, 8:35 pm, Motin wrote:
> CakePHP does have some issues with aggressive loading, and have
> terrible performance in a lot of areas, but that benchmark, doesn't
> really measure anything regarding to Yii. Because of Yii's lazy
> loading, practically none of the commonly used objects/class
As someone who has written/writing a CMS using CakePHP, even this is
not of concern. A bit of mod_rewrite trickery has allowed us to write
custom code for very fast viewing content pages, while the
administration interface is kept within Cake's MVC. Who cares if the
administration interface is a l
There are two things that you all may find helpful:
Linkable Behavor:
http://rafaelbandeira3.wordpress.com/2008/11/16/linkable-behavior-taking-it-easy-in-your-db/
Lazy Loader Behavor:
http://rafaelbandeira3.wordpress.com/2008/11/21/lazy-loader-behavior-what-you-need-when-you-need-the-way-you-wan
One thing I also dislike. Is that cake loads all models, and all
models on a model, and it just keeps going down and down. It does this
with everything, components on components and what not.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
CakePHP does have some issues with aggressive loading, and have
terrible performance in a lot of areas, but that benchmark, doesn't
really measure anything regarding to Yii. Because of Yii's lazy
loading, practically none of the commonly used objects/classes are
loaded in the test application. Thi
Those benchmarks are flawed and unreliable because I think that the author
do not know know to set up benchmarks correctly. He even doesn't care about
framework life cycle. Moreover, IMO, Yii is hard to extend.
http://www.thedeveloperday.com/framework-battles-yii-vs-zend-framework/
On Sun, Jan 25
Until we all have fibre optic connections, is any of this relevant or
important? it is a bit like going to the supermarket in your Ferrari.
You might be able to pick up a loaf of bread, but you won't be taking
a week's provisions home with you.
Learn whichever framework you're using. Design and i
I'll probably stick to CakePHP because I love it's design and all the
help it gives. I just took a look at Yii and tried to find a helper
that can do "xxx days ago" style date formatting and it doesn't have
one. So I can imagine it could be missing lots of small touches like
this that make CakePHP
> Even those apps were ported to
> Yii/CodeIgniter/WhateverFasterHelloWorldFramework and it proves to be
> faster than Cake, I will still use Cake because it makes my code look
> nice, reduces development time and increases developer (me) happiness.
on a current project of mine, a page with a
> Problem is... who wants to port the bakery to Yii and codeigniter to
> do a benchmark? :)
Even those apps were ported to
Yii/CodeIgniter/WhateverFasterHelloWorldFramework and it proves to be
faster than Cake, I will still use Cake because it makes my code look
nice, reduces development time and
Alongside questions about HABTM relationships this is one topic that
never dies. :)
I have said this before. I have no real-life problems with the speed
of CakePHP. I don't know all the other frameworks so there is no way
for me to offer a comparative opinion. But I have applications running
wit
In my opinion,
Performance is no longer the biggest issue in programming.
Server cost no longer outweigh development cost.
Most companies don't have a huge budget to start a new project.
What my company does is, develop a full-fledge programme first.
Make the money!
If the project fails, FINE! B
Yes, it would be great to have a fully-fledged application example,
complete with "time to develop" and "lines of maintainable code"
benchmarks. And another one which measures mental anguish experienced
by the framework.
On Jan 26, 7:38 am, Miles J wrote:
> Yes I always hate benchmarks because i
Yes I always hate benchmarks because it only deals with "Hello world"
applications. How about they build robust applications in each
framework and then give us a real benchmark that matters.
Also Symfony is slower then Cake.
--~--~-~--~~~---~--~~
You received this
I know there has been another thread about this, but I want to say
that newcomers looking at http://www.yiiframework.com/performance
might be afraid of investing into using CakePHP 1.2.
>From those numbers, Yii with APC on is about 10x faster than CakePHP
(!?)
Even compared to CakePHP 1.1, CakeP
17 matches
Mail list logo