esumitra / clojure-webmvc

A framework for supporting the Model-View-Controller (MVC) design pattern for clojure web applications
2 stars 0 forks source link

make controller-view mapping pluggable #5

Open esumitra opened 11 years ago

esumitra commented 11 years ago

make the controller-view function mapping pluggable so that different conventions can be used. e.g.,

  1. convention where controller function name in "controllers" namespace is mapped to the same name in "views" namespace
  2. convention where controller function name of the type resource-controller-method (user-controller-create) is mapped to a view function name of the type resource-view-method (user-view-create)