Adding more value to the FormFor/FormEnd methods

42 views
Skip to first unread message

linkgoron

unread,
Oct 17, 2011, 12:12:27 PM10/17/11
to FubuMVC Development Group
I've had some thoughts on improving the FormFor/End methods.

How much value is there in, say, extending them like the Display/
Editor/Label extensions? Would it even be useful in the real world?

My first use case (and maybe last? :) ) would be to add an anti
forgery token when the target chain has a AntiForgeryNode. This could
also help with adding hooks for validation to the form itself (say,
adding a class to every form on the site).

My main thoughts have been something like AfterFormCreate and
BeforeFormEnd or something like that.

Any thoughts on this?

Dru Sellers

unread,
Oct 17, 2011, 1:28:07 PM10/17/11
to fubumv...@googlegroups.com
Conventions Everywhere!

-d

> --
> You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
> To post to this group, send email to fubumv...@googlegroups.com.
> To unsubscribe from this group, send email to fubumvc-deve...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
>

Jeremy D. Miller

unread,
Oct 17, 2011, 1:30:54 PM10/17/11
to fubumv...@googlegroups.com
What Dru said.  We talked about it at Pablo's Fiesta at least in principle.  It's on the roadmap, but low:  https://github.com/DarthFubuMVC/fubumvc/wiki/Roadmap

Unless somebody wants it and someone else will jump at doing it;-)
 
Jeremy D. Miller
The Shade Tree Developer
jeremy...@yahoo.com



From: Dru Sellers <d...@drusellers.com>
To: "fubumv...@googlegroups.com" <fubumv...@googlegroups.com>
Sent: Mon, October 17, 2011 12:28:07 PM
Subject: Re: [fubumvc] Adding more value to the FormFor/FormEnd methods

Conventions Everywhere!

-d

On Oct 17, 2011, at 11:12 AM, linkgoron <link...@gmail.com> wrote:

> I've had some thoughts on improving the FormFor/End methods.
>
> How much value is there in, say, extending them like the Display/
> Editor/Label extensions? Would it even be useful in the real world?
>
> My first use case (and maybe last? :) ) would be to add an anti
> forgery token when the target chain has a AntiForgeryNode. This could
> also help with adding hooks for validation to the form itself (say,
> adding a class to every form on the site).
>
> My main thoughts have been something like AfterFormCreate and
> BeforeFormEnd or something like that.
>
> Any thoughts on this?
>
> --
> You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
> To post to this group, send email to fubumv...@googlegroups.com.
> To unsubscribe from this group, send email to fubumvc-devel+unsub...@googlegroups.com.

> For more options, visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
To post to this group, send email to fubumv...@googlegroups.com.
To unsubscribe from this group, send email to fubumvc-devel+unsub...@googlegroups.com.

Chad Myers

unread,
Oct 17, 2011, 2:08:26 PM10/17/11
to fubumv...@googlegroups.com
That reminded me of:

Savior Faire is everywhere!


-Chad
Reply all
Reply to author
Forward
0 new messages