Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.48 KB

README.md

File metadata and controls

64 lines (48 loc) · 1.48 KB

Tachi

Build Status

Node.js MVC framework for seriously rapid application development.

Overview

Quickly get up and running with a node.js MVC app, using a simple view syntax and an ASP.NET MVC-style project layout. Tachi is all about ease of rapid development, with a simple mindset, easily expandable feature set, and a number of features to help increase web application speed.

Catch me on twitter (http://twitter.com/sigmoidfx) for more info!

Quick Start

npm install tachi

Grab a copy of the twitter bootstrap template for Tachi (http://github.com/EdJ/Tachi-bootstrap), or just use the following code:

Controllers/DefaultController.js:

module.exports = {
	index: function () {
		return this.Json({ message: 'Hi! Welcome to Tachi!'})
	}
}

index.js:

var TachiHandler = require('Tachi');

var routeData = {
	routes: [
		{
			url: '/',
			data: {
				controller: 'DefaultController',
				action: 'index'
			}
	  	}
	],
	defaultRoute: '/'
};

var settings = {
    port: 8080
};

var handler = new TachiHandler(settings, routeData);
handler.start();

Features

  • Solid, understandable routing
  • Familiar MVC model (View(), RedirectToAction(), etc.)
  • Simple, fast templating engine
  • Minimal work required to quickly build complex web apps

License

Copyright (c) 2013 Ed J ed@ed-j.co.uk

Do what you want with the code; No warranty of any kind is given assuming its use.