-
Notifications
You must be signed in to change notification settings - Fork 2
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.
- 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
Add a Contact Page for Authorized users
Why is the project structured this way?
Why are some things implemented this way?