T4Spring
org.bitbucket.omargameelsalem :
T4Spring
T4Spring is a code generation tool for Spring MVC apps that creates strongly typed views that eliminate the use of literal strings in many places.
e.g. instead of
@RequestMapping(value = "/", method = RequestMethod.GET)
public String index(ModelMap map)
{
map.addAttribute("msg", "literal strings are no good!!");
return "Home/index";
}
T4Spring lets you write
@RequestMapping(value = "/", method = RequestMethod.GET)
public String index(ModelMap map)
{
map.addAttribute("msg", "Hello T4Spring!!");
return Views.Home.index;
}