Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ExpressJS MVC style organization. Provides pockets for your stuff!
CoffeeScript JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
controllers
core_lib
public/stylesheets
test
views
README
app.js

README

Corduroy v .1
6/7/2012

Zach McArtor
hackazach.net
zach@hackazach.net

Corduroy is a lightweight, organizational framework written in CoffeeScript that adds MVCish file organization on 
top of the robust ExpressJS featureset 

[+] Why ?
	Instead of placing all your functions into a single app.js file , Corduroy allows you to separate your controllers and models into
	discrete files which are loaded at server start. This keeps development clean and helps enforce good MVC practice.
	Add the core, these are all still Express app.get('/' , callback()) type functions.

[+] What about views ?
	Corduroy doesn't enforce any convention around views. Hopefully all your views are within the 'views' folder. You can
	still render whatever the hell view you'd like within each function..


6/7  - first commit, mostly as a PoC right now. :S 

TODOS:
	Support multiple HTTP verbs function declaration in a single statement
	Configuration framework
	Model loading
	Controller loading

Thanks for looking!

_Z


Something went wrong with that request. Please try again.