[html-formfu] RFC: Catalyst::Model::FormFu

Matthias Dietrich perl at rainboxx.de
Wed Jul 20 11:00:10 GMT 2011


Hi Peter,

I'm currently testing this model.  With it, I can save up to 50% of the tim=
e a request takes (on a page where several forms are loaded).  Love it, tha=
nk you for this!

I encountered some issue when switching from the controller to the model:

 * __uri_for(/path)__ doesn't work anymore, which I used excessively
 * L10N seemed to not work either
 * No form was getting query params, so they stayed empty after submitting =
and my controller wasn't able to read params from FormFu

So I cloned your repo and added some functionality that Catalyst::Controlle=
r::FormFu uses.  Please take a look here: https://github.com/rainboxx/catal=
yst-model-formfu
There's no documentation for it, neither is the Changes file changed.  I te=
sted config_callback as well as languages_from_context and localize_from_co=
ntext.  The other methods should work, too, but I don't have any experience=
 with it.

Matthias


Am 02.06.2011 um 19:25 schrieb Peter Shangov:

> Hi all,
> =

> I have uploaded an experimental interface to FF as a Catalyst model on gi=
thub: https://github.com/pshangov/catalyst-model-formfu
> =

> The main difference from Catalyst::Controller::HTML::FormFu is that all f=
orms are loaded and populated during startup time, and then each time you r=
equest a particular form a cloned object is returned. The goal is improved =
performance of persistent applications. =

> =

> I would love to get your feedback before I put this on CPAN.
> =

> Cheers,
> =

> --
> Peter

-- =

rainboxx Software Engineering
Matthias Dietrich

rainboxx Matthias Dietrich   |  Phone: +49 7141 / 2 39 14 71
K=F6nigsallee 43               |  Fax  : +49 3222 / 1 47 63 00 =

71638 Ludwigsburg            |  Mobil: +49  151 / 50 60 78 64
                             |  WWW  :  http://www.rainboxx.de

CPAN: http://search.cpan.org/~mdietrich/
XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20110720/cc=
20a9d7/attachment.htm


More information about the HTML-FormFu mailing list