开发者

.NET Forms Abstraction for WPF, Silverlight, Winforms, WebForms, etc

开发者 https://www.devze.com 2022-12-27 15:41 出处:网络
Anyone know of a project(s) that seek to abstract form definitions on level higher than WPF, Silverlight, Winforms, WebForms, etc...

Anyone know of a project(s) that seek to abstract form definitions on level higher than WPF, Silverlight, Winforms, WebForms, etc...

I'm working on a project where we are fixing up 16 somewhat simple WebForms. But we may convert (and probably will convert to WPF or Silverlight 3 to 4 months from now.

I'd rather define these forms once and be done with it. I'm willing to write a small DSL to help define forms, subforms, validation, links, and popups. I开发者_开发知识库'm only looking to solve this for 80% or 90% of the forms. Four are very complicated and I'm willing to hand code these.

I guess I'm looking for something like what XUL had hoped to be.


The Model View Controller pattern comes in handy here (not ASP.NET MVC).

Your model and controller are standard classes. You should define a view as an interface IView because you will have to subclass from other parts of the Framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消