Carl Franks wrote:
I'm not entirely happy with all element filenames being lowercase, and
everything else being CamelCaps.
What I think would be better, would be to have all files under:
   Elements/
   Deflators/
   Filters/
   Constraints/
   Inflators/
   Validators/
   Transformers/
to be lowercase - but let users write it in any case they want.

My personal opinion has been that class names should obey the camelcase rules. However, if you don't fancy forcing people to type:

elements:
  - name: title
    type: Text
    constraints:
      - Required
  - name: description
    type: Textarea
    filters:
      - TrimEdges
etc...

in their configs, then your proposal sounds reasonable.

Just for kicks, here's the above in all lowercase:

elements:
  - name: title
    type: text
    constraints:
      - required
  - name: description
    type: textarea
    filters:
      - trimedges

-Brian

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to