Brian Glass wrote:
>>>>>> Regardless, I do agree with Simon that something needs to
>>>>>> change in the way Class::DBI::AsForm works in Maypole. It
>>>>>> would make thinks considerably snappier.
> I did this using custom SQL. I 'use' the following package in my
> controller class and then I've written a Mason template that looks at
> the meta() info for the class/object and does the appropriate thing
> for any field. It calls simple_list (from the module below) for
> fields with relationships. I can post the template if people are
> interested. I would imagine that it could be converted to TT pretty
> easily.
>
> I only use AsForm for non-relationship fields. It turned out that the
> real performance problems were created by object creation, not large
> queries or MySQL. This little tweak makes my Maypole application
> very fast.
Hi Brian,
Your function looks very interesting to me. I'd love to see your template.
Cheers, Dave
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT