jinky32 / my3-fed-repository

0 stars 0 forks source link

Namespacing #40

Open jinky32 opened 8 years ago

jinky32 commented 8 years ago

For My3 (ThreePortlet) every component is to be given a wrapper element with a class to namespace it. Is this something that www should consider too?

What format should wrapper class names take?

On www we’ve tended to use snakecase-classnames but perhaps we could stray from that for wrapper classnames?

Chris A and George have also been experimenting with the use of an underscore prefix on child classes, i.e. Class names using inside a widget, to illustrate that the class is not global but applies only within the widget. This is not widely used but worthy of consideration. It may not be necessary if we start using a new style for the wrapper class name.