Skip to content
Kwasi Yonkopa edited this page Apr 6, 2020 · 24 revisions

Overview

Welcome to the DashJS documentation, let's get started.
DashJS has been designed to make building the front end of big applications easier, however it can be used to build small apps too.

Design

DashJS is designed for fully asynchronous apps i.e. all requests including html requests are AJAX based. All functionality is wrapped within the Dash object thus all calls are made via this object e.g. Dash.bind(...) to bind a delegated event to an element.

Configuration

DashJS has a few options that you can manually configure, however note that configuration is mostly optional. Find more info on configuration here.

App Layout

Every application has a main menu bar or navigation of some sort. Although designs differ broadly, DashJS makes it easy to build apps that change their content asynchronously based on a clicked view anchor, DashJS will fetch the view from the location you specify and render it in a container element you specify replacing it's entire content, so you don't have to worry about the logic and housekeeping needed to achieve this functionality. This has been covered here.


Configuration
Fetching Views
Handling Events
Working with Forms & Resources
Server Request / API Calls
Utilities

Clone this wiki locally