Skip to content

mvcApp.js

Paul L. Cimino edited this page Nov 15, 2013 · 5 revisions

mvcApp.js

Properties

  • ajaxBaseURL: For REST calls, can be overriden in the Devloper page
  • ajaxBasePort: For REST calls, can be overriden in the Devloper page
  • data: Used for session data
  • adminFlag: Cobvenience flag set after determining if user is an administrator. If this is overriden in the JavaScript console, admin features will display but the backend server will not process requests.
  • gravatarEmail: User's email set here for the Gravatar widget
  • broadcast: Messages set her for display on the Public Message page
  • wsSocketURL: For web socket calls, can be overriden in the Devloper page
  • wsSocketPort: For web socket calls, can be overriden in the Devloper page
  • sessionCookieName: Session storage
  • sessionTimeout: Session timeout set after querying the REST server
  • sessionTimeRemaining: Session countdown
  • sessionCheckInterval: Milliseconds between checking session remaining
  • sessionIntervalKey: Interval timeout ID store
  • debugNetworkCalls: Turn REST logging on/off
  • showDeveloperTools: true
  • betaTools: if false, hide the Beta button UNLESS beta is active, then overridden by betaSiteSignup betaSiteSignup: set to true if beta is active, shows the beta code entry on user signup

Methods

  • showErrorMessage: Fires an event, ParentView displays an error popup
  • showWarningMessageFires an event, ParentView displays a warning popup
  • showInfoMessage: Fires an event, ParentView displays an info popup
  • showSystemMessage: Fires an event, ParentView displays a Page Curl notification in the header

#../

      \---source
            |
            +---apps

Purpose

Project Background

Quick Start

Quick Start

Tutorial Walk Through

Add a Contact Page for Authorized users

Project Architecture

Application Architecture

Architectural Decisions

Why is the project structured this way?

Implementation Decisions

Why are some things implemented this way?

Known Issues

Package Layout & Code Inheritance

Home

Home

Clone this wiki locally