-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22 Jun 2010, at 00:10, Ben Bangert wrote:

The first doesn't really work, because you can't trust the client, ever.

The second ... still means that on the final form submit, they could've mucked with the values

leaving only the last approach as a viable one for actually knowing the data you received is appropriate for use in your app.

+1

The reason tying the form validation to a domain model

I suspect that some of the interest in this may arise from the "Web 2.0" paradigm where user-provided content is the primary focus of the business and so the domain model is a close reflection of the spectrum of user interaction components. In essence, with intelligently- constructed IA, UxD (forms) can be made to drive the model rather than the inverse, i.e. the classic Web 1.0 approach of presenting users with an extant business model in which interactions are mapped to a set of forms.

I've been reading too many user experience / interface books

It probably just feels that way.

- --
Cheers,

Graham

http://www.linkedin.com/in/ghiggins






-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkwf/C0ACgkQOsmLt1NhivyQSQCgvMOXjoUu1uQftXEEhe0Arzk7
K3gAoPh3ylHhHzuLeN5ajtD/AtGAPgeziQCVAgUBTB/8LVnrWVZ7aXD1AQI4rQQA
mjznbuboK0QRm0PawHUW50ogc7NRS4xV/JXY2UsoKlM+bWNRvS5nDO3pd49OXiAQ
lJI2KoTkccgneeBlm0Cgk0NTjSaV5v8RMLPUhmUzXuWIBRc0ZY1Y4ALEgWMv+uDe
bhpQxLBwovVzbMgf1V3dCZ9Y52OCjojE8ELXEQbyLI8=
=eNqv
-----END PGP SIGNATURE-----

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to