Hi Peter,

I'm currently testing this model.  With it, I can save up to 50% of the time a 
request takes (on a page where several forms are loaded).  Love it, thank 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::Controller::FormFu uses.  Please take a look here: 
https://github.com/rainboxx/catalyst-model-formfu
There's no documentation for it, neither is the Changes file changed.  I tested 
config_callback as well as languages_from_context and localize_from_context.  
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 
> github: https://github.com/pshangov/catalyst-model-formfu
> 
> The main difference from Catalyst::Controller::HTML::FormFu is that all forms 
> are loaded and populated during startup time, and then each time you request 
> 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önigsallee 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




_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to