troelskn / krudt

databasedriven web framework based on konstrukt
7 stars 1 forks source link

Consistent naming in viewhelpers #1

Open lsolesen opened 14 years ago

lsolesen commented 14 years ago

It seems that the viewhelpers could be named a bit more consistently.

troelskn commented 14 years ago

The form_ prefix is for dealing with domain objects, whereas the html_ prefixed functions just generate html tags. So there is at least some logic to it.

lsolesen commented 14 years ago

How is form_text_field and form_text_area domain objects?