Framework Components - Sage/argos-sdk GitHub Wiki

The are a number of primary components to the framework, which are listed below.

Application

The Application class is the starting point of any Argos SDK application. It is responsible for loading configuration, initializing modules, and providing application wide events and functionality. Implementors of custom Argos SDK applications will likely extend this class to provide application specific functionality, such as authentication, user preferences, and initial view selection.

ApplicationModule

The ApplicationModule class is the starting point for modularized, and potentially shared, application functionality. Views and customizations are registered with the application by the application module. Application modules should be defined in such a way to allow for re-use in other Argos SDK applications, where appropriate. For example, the Argos GCRM product is implemented as a pure module, which conists of a set of views, content, and an application module that registers said views and adds customizations to existing views.

View

The View class defines basic view functionality and is responsible for rendering the view's primary element and providing hooks for various view level events. All screens in the application inherit from this class.

List

The List class defines a type of view and implements the functionality required to present an SData feed, or feed-like data from another source, as a list view. Implementors of list views in custom Argos SDK applications and modules will likely inherit from this view.

Features

  • Searching; Including hash tag queries and explicit queries.
  • Paging.
  • Selection.

Detail

The Detail class defines a type of view and implements the functionality required to present an SData entry, or entry-like data from another source, as a detail view. Implementors of detail views in custom Argos SDK applications and modules will likely inherit from this view.

Features

  • Action properties
  • Related links

Edit

The Edit class defines a type of view and implements the functionality required to edit an SData entry, or entry-like data from another source. Implementors of edit views in custom Argos SDK applications and modules will likely inherit from this view.

Features:

  • Insert.
  • Update.
  • Changed field tracking.
  • Validation w/ summary.