Skip to content

ParentController.js

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

ParentController.js

Controllers inherit form here. The ParentController is responsible for a lot of house keeping. Shouldn't be any methods here a developer should worry about unless they're trying to change some core functionality.

Handlers

  • onIsUserValidated: Make REST call to find out if active session
  • onIsUserValidatedResult:
  • onCheckAdmin: Make REST call to find out if user has Admin rights
  • onCheckAdminResult:
  • onReloadUser: Make REST call to reload user data (i.e. page refresh will reset mvcApp.data)
  • onCheckUsername: Make REST call to check for duplicate username
  • onCheckUsernameResult:
  • onCheckEmail: Make REST call to check for duplicate email
  • onCheckEmailResult:
  • onLoadTermsAndConditions: Make REST call to load Ts & Cs
  • onLoadTermsAndConditionsResult:
  • onCheckBetaStatus: Make REST call to check if site is in Beta mode
  • onCheckBetaStatusResult:

#../

\enyo-mvc-web-app
      |
      +---index html
      +---mvcApp html
      +---mvcAppDebug html
      +---package json
      +---node-server js
      +---mvcApp html
      +---assets
      +---enyo
      +---lib
      +---node_modules
      +---public
      +---scripts
      |
      \---source
            |
            +---apps
            +---controllers
            |     |
            |     +---auth
            |     \---public
            |
            +---css
            +---ext
            +---models
            |     |
            |     +---ajax
            |     \---socket
            |
            \---views
               |
               +---auth
               |     |
               |     \---body
               |
               \---public
                  |
                  \---body

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