Both approaches are based on the client-server model. You need to create a server (backend) project and a client (frontend) application that includes all necessary styles, scripts and HTML-templates.
Describes how to specify the Web Dashboard's mode.
Describes how to change the color scheme used to paint a Web Dashboard.
Contains tutorials that teach you how to create a custom dashboard item.