Living SPEAK guideline used internally to share same structure and code style. It is work in progress and you are welcomed to pull request it.
Always provide a meaningful Id for components when you add them to the page definition item’s Layout Details. For example, use OKButton, not Button1.
Never hard-code visible text in the component properties. Always create a component settings item to store the text and reference the component settings item from the component’s ConfigurationItem property. This ensures localization of all visible text.