ASP.NET Scaffolding/Templating CRUD Solutions

后端 未结 6 1191
刺人心
刺人心 2021-02-06 02:35

I\'ve been looking into ASP.NET Dynamic Data and how it does scaffolding and routing. I\'ve only scratched the surface, but it\'s looking like I\'d have to create a template for

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-06 03:22

    We're actually working on our own code generation tool. It has already proven to work perfectly on the lower layers and now we're on the way to extend it for the presentation layer, that is for generating user controls.

    I've not looked into dynamic data (although I'd like to when I have some time) but my biggest fear is always to lose flexibility. The problem is that these front-ends are then maybe generated dynamically each time based on some template and editing, especially bringing in special customer wishes becomes quite difficult. For small standard apps it may work perfectly though.

    What we're therefore doing is to "generate" these usercontrols based on a set of standard custom server controls we've developed, but we'll generate just the first time from some static information about the entities in our application. Then you can continue customizing.

    Such systems should help the developer, improving his development speed, doing the initial awkward work but then they should give him the flexibility to modify till the maximum. They should not add additional complexity...

提交回复
热议问题