- Define application id - mandatory / must be unique for same launchpad
- Define application title and description
- Define root view
- Define models
- Define routing (in-app navigation) properties
- Define resource files
- Define application metadata - e.g. app descriptor file
- Call overridden init function of base component - obligatory
- Set models or other application defaults
- Set routing configuration, routes and targets in manifest
- Add parameter path if data is passed accross views. Format is "/{parameterName}".
- Initialize router in component
- Get router object
- Set parameter and navigate to a router
- In next controller, attach PatternMatched event handler to the route
- Get value of passed parameter in PatternMatched event handler
- Add navigation button to page
- Set handler for navigation button
- Load history module into controller
- Define navigation button handler
- Create CSS to be used
- Introduce CSS file as a resource
- Set class attribute of control with custom CSS class
- Create control with init, renderer and other required functions
- Load custom control library into view
- Place custom control in view
- Set handler for fired custom event
- Define event handler function of custom event
- Load module into controller
- Create new JSON data
- Create model object
- Set JSON data into model object
- Bind model property in view
- Set compatibility version to allow complex binding - to mix constant values and multiple binding paths like:
description="Hello {/recipient/name}"
- Define text id and actual text in i18n.properties file - use {i} as placeholders
- Define resource model path in app descriptor
- Access text in controller
- Access text in view
- Place parent control
- Set absolute path of aggregation items
- Set sorting and grouping
- Place control aggregation
- Set relative path of item property
- Define formatter function
- Load module into controller
- Set formatter module to a controller property
- Call formatter function in XML view
Write JavaScript code in XML view with equals sign
- Set id of aggregation parent
- Load modules into controller
- Create an array of filter objects
- Get binding object of aggregation
- Set filter array into binding object
- Add sorter object to aggregation binding
- Set relative sorting path
- Set group to true - if grouping required
- Place page control
- Set header content
- Set main content - aggregation
- Place panel control
- Set header text
- Set CSS width
- Set expandable/collapsible
- Set initial expanded state
- Place table control
- Set items aggregation binding
- Place header toolbar
- Define column properties
- Place items aggregation
- Create fragment
- Place dialog control
- Set title
- Set content
- Define close button
- Set close handler
- Create a separate controller for dialog - to make it reusable across views
- Define close handler function
- Load new controller into component
- Initialize dialog on application start
- Define open handler function
- Open dialog in any controller
- Destroy dialog on application exit