[development] The Drupal Diet - Making bootstrap faster
Earl Miles
merlin at logrus.com
Thu May 3 22:47:10 UTC 2007
Larry Garfield wrote:
>
> == Form Handlers ==
>
> Forms are nearly always accessed via drupal_get_form() or drupal_execute().
> We can therefore do the same sort of centralized improvement for the form
> system in those functions as we can for page handlers using
I am totally against form getting its own special handling.
1) logically speaking, pages may or may not be forms; having .page and .form is
confusing, because in my mind, pages are forms.
2) pages may also contain forms. Do we then have a .page which also loads a
.form because the page contains a form?
3) Sometimes my page is MOSTLY a form, but I have a little extra code, so I
don't call drupal_get_form as my callback.
I think splitting forms off are clumsy.
(As someone who has been driving this work, I don't feel compelled to say that
this is all very important, etc, so don't take this as a big negative; just
that I think this is, in particular, a poor point to split things at).
More information about the development
mailing list