0.3.3 • Published 8 years ago

tabjs v0.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago