0.3.3 • Published 10 years ago

tabjs v0.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

TabJS

Just another simple Node.js web framework.

'use strict';

const Controller = requireModule('Model/Controller');

class IndexController extends Controller {

  //override
  mainLogic() {
    this.assign({
      title: 'Hello TabJS',
      text: 'Developing with TabJS is easy.',
    });
    this.renderJade();
  }

}

module.exports = IndexController;

##Install install via npm:

$ npm install tabjs

install latest version:

$ npm install https://github.com/Tabjy/TabJS.git

To initialize project structure, create index.js in project root path:

require('tabjs')

Then, run:

$ node . --tabjs install

Start server:

$ node .

##Project Structure

.
├── index.js
├── Config/
│   ├── Dashboard.json
│   ├── Database.json
│   ├── Dying.json
│   ├── General.json
│   ├── Http.json
│   └── Server.json
├── Log/
├── node_modules/
│   └── tabjs/
└── Server/
    ├── Controller/
    ├── Initial/
    ├── Model/
    ├── Resource/
    └── View/

##TODOs

  • Documentations
  • Server dashboard
  • Multiple database support
  • Alert while going down
  • Session data save to database
  • Reboot server on uncaught exception
  • Better RESTful controller
  • Byte serving support

License

MIT

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago