Michael,

We have been very conscious not to let this happen. Where we can help
we do, but where we feel like the developer needs flexibility we leave
options open. You mention the FormHelper as it is a good example. The
1.2 FormHelper's goal is to make building database backed forms easier.
You will notice that the HtmlHelper, which is the only helper loaded by
default, still contains all of the simple form methods needed. So, here
you have two options, use some magic or try to make some of your own.

Your concern is valid and we make every attempt not to let the magic
get out of hand. We do not pretend to know "everything" that a
developer "will" want to do, but we do have a pretty good idea of what
developers "will not" want to do. The "will not" is boring and tedious,
whereas the "will" is exciting and fun. Nevertheless, at the end of the
day Cake lets you do anything" you want. But, as Chris stated, follow
the magic and you get to enjoy more free time with your family and
friends.

The benchmarks that Paul M. Jones did are a good testament to not
letting the magic get out of hand. He did a very simple Hello world
test and cake performed pretty darn well against some other frameworks
that do little for you out of the box and was almost two times faster
than another framework that does more magic from the start. The example
goes to show that magic can be contained and used for the good of
developers. The other thing to look at in this test is that Paul needed
3 lines to remove almost all of the underlying magic, leaving only the
routing. This is another example of giving the developer power but not
assuming so much that in order to remove the magic you end up with
endless amounts of configuration.

So, as far as magic goes, we try to add as much as possible without
making the removal of this magic result in the same configuration we
try so hard to avoid. It's a delicate balance, and so far I think we
are managing it pretty well.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to