Re: #405: [Patch] Split up @validate

2010-05-21 Thread whit

Marcus Cavanaugh wrote:

On Nov 19, 7:32 pm, Mike Orr sluggos...@gmail.com wrote:

We can clone django-forms, but we definitely can't depend on Django.
That would make poor Noah throw himself off one of the Northern
California cliffs.


Ha!

It'd be a good exercise to pull out django forms, if for no other
reason than so that I don't have to require django in its entirety in
my own projects. I was actually contacted a couple of days ago by
someone who wanted to use that django-pylons forms adapter with
AppEngine, but he couldn't because AppEngine has a file limit and he
didn't have enough room to include Django outright.

If such a fork turns out to be useful beyond that, that's a bonus. If
not, nothing's lost. Maybe tomorrow I'll try to yank out django.forms
and see how much Django code gets pulled along with it. (I haven't
seen anyone do this yet, but I'm surprised if no one has. I don't see
anything on github or mercurial at first glance though.)

I think Ben's thoughts on depreciating @validate would be the best for
pylons in the long run. I think it'd be fruitless to try to fix it at
this point.


having recently run this gauntlet, what was the decision about this issue?

deform is looking nice... formencode is still kinda an ugly wierd kid 
and begging for rewriting.  did anyone ever fork django-forms?


-w

--
You received this message because you are subscribed to the Google Groups 
pylons-devel group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.



Re: #405: [Patch] Split up @validate

2010-05-21 Thread Mike Orr
On Fri, May 21, 2010 at 12:02 PM, whit w...@surveymonkey.com wrote:
 Marcus Cavanaugh wrote:

[Discussion about replacing @validate with Django forms.]

 I think Ben's thoughts on depreciating @validate would be the best for
 pylons in the long run. I think it'd be fruitless to try to fix it at
 this point.

 having recently run this gauntlet, what was the decision about this issue?

 deform is looking nice... formencode is still kinda an ugly wierd kid and
 begging for rewriting.  did anyone ever fork django-forms?

Nothing will happen in 1.0. An alternative to @validate might be
provided in 1.1. Ben said he'll outline a new roadmap for Pylons soon
after 1.0 is released.

We've generally decided to keep FormEncode because of its wide
flexibility (it can validate anything, and doesn't have HTML-centric
vocabulary), so whatever we choose would have to work with it.  Some
people have written standalone pieces of @validate which could be used
inside actions or combined in a decorator, so we'd have to evaluate
those.

If you have any specific ideas, you can add them to the Split up
@validate ticket.

-- 
Mike Orr sluggos...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
pylons-devel group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.