Skip to content

PublicController.js

Paul L. Cimino edited this page Nov 15, 2013 · 1 revision

PublicController.js

The PublicController is responsible for control during a guest (user not logged in) session.

Handlers

  • onLogin: REST request to login
  • onForgotPassword: REST request when user forgot password (password reset). There is logic to know if the password is temporary. No enforcement at this time to force the user to change it. May add this as a configurable feature.
  • onResendEmail: REST request to resend validation email.
  • onUserSignup: REST request to create a new user
  • onCheckDB: REST "is alive" ping

#../

\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