Bayon
Bayon is a node.js MVC framework based on expressjs and implemented in ECMAScript Harmony standard.
Get Started
'use strict'; // export Homemoduleexports = Home; // Define class {}; Home { this;};
Quick Start
inside [app root] directory open and modify route.js as below
moduleexports = root: handler: 'Greeting@talk' // say which controller will handler this path: '/' // path for client request method: 'GET' // ;
inside [app root]/controller directory create a controller file name GreetingController.js
'use strict'; moduleexports = Greeting; {}; Greeting { this; // send };