1
Vote

Template: MVC Controllers Interaction With Models

description

The idea here is to output code based on some format that said how you could interact with Models. Simply put this is a way to obtain free code that implement the MVC Controller architecture. Would be simple fetching and standard CRUD "Actions".

comments

justinc wrote Feb 28, 2008 at 1:40 PM

It should be called MvcControllerTemplate, it could use the "Action" declarations on models or entities. This shouldn't be too hard, the only tricks I can forsee will be building actions for things like viewing lists with paging without making too many ugly actions. They should be partial too so they can be extended. Actually they would need to have a certain namespace too to follow the convention... that could complicate things.

wrote Feb 13, 2013 at 1:14 AM