Is there a resource on the web that describes various form scenarios in ASP.NET MVC, and gives example solutions within a sensible, consistent design philosophy?
Examples of such sce开发者_运维知识库narios might be:
- One-to-many forms, like invoice data-entry forms.
- Foreign-table forms such as Add New User in a form that requires specifying a user
- Forms that require dynamic interaction, using Ajax or JSON.
- Popup forms
- Forms requiring multiple data records to be input, without postbacks.
Note that there is considerable conceptual and technological overlap among these example scenarios.
I am aware that there is a vast patchwork quilt of available technologies and examples out there that provide partial solutions and pieces of solutions, such as jQuery Ajax, CSS, and so forth. But I would like guidance in using these technologies in more effective and consistent ways.
I am not considering web forms integration with an ASP.NET MVC application; I would still like my applications to be pure MVC. Nor am I, at the moment, considering a paid solution like Telerik.
But I would like to know if someone has already done some of the work combining these technologies into a consistent, cohesive whole, that follows a sensible design philosophy. (an open source framework, perhaps?)
Sharp Architecture presents a comprehensive framework and best practices for building ASP.NET MVC applications including NHibernate (ORM), Castle Windsor (Dependency Injection) and other useful open-source tools. They include templates to generate basic CRUD screens. They are working on an updated version to cover ASP.NET MVC2 with options to use NHibernate or Entity Framework 4 as the ORM.
精彩评论