Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

edwardproxy/nodeacs-cocoafish

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NODE.ACS (M)VC framework demo.

https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x

This app is using express-partials(https://github.com/publicclass/express-partials) for view system.

Things to do,

  • custom fields
  • geo coords
  • pagination

optional

  • better chats
  • styles
  • ajax object search on textfields

Routes: defined in config.json under routes array. { "path": "/login", "method": "get", "callback": "application#login" } path: url path. method: only works for get & post by default(I believe). callback: #

  • to select all { "path": "*", "method": "get", "callback": "application#page_not_found" }

Flash message: a flash message something similar to flash on rails req.session.flash = {msg:"Please login first.",r:0}; msg: flash message, r: flag if flash has been read

  • Quick Start (CMS) -Using express.js as web app framework -Package.json, -app.js
    • initialize ACS
    • setup express.js settings
    • choose view system for express.js: express-partials -Routing: config.json
    • routing: determined which controller#function to use
    • filters
    • websocket -Views
    • Assets, (public)/images, (public)/css, (public)/js
    -Controllers
    • Methods and functions(actions)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.