---- On Mon, 09 Feb 2015 09:40:42 -0300 Anthony  wrote ---- 
>
>By definition, the model doesn't need the label to anything.
>I'm not sure there is a canonical definition to which we can appeal.
> 
> Take a webservice as an example, doesn't have a form to present. Does the 
> model need it? 
>
>Just because one consumer of a model doesn't require a particular attribute 
>does not mean that attribute doesn't belong to the model. The webservice might 
>not need the model's validators either, but that doesn't mean the model 
>shouldn't have validators.

Yes, the webservice need them. To insert, update and delete, data need to be 
validated.

See, it seems I'm being purist, but I tend to be pragmatic. I like  Web2py a 
lot and it's because I like the general way it works. Some aspects I dislike 
but I don't have a good alternative approach to suggest.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to