如何在asp.net中创建数据输入用户界面?
假设您有一个大数据输入 Web 应用程序(例如 Microsoft CRM),您在构建此类网站时遵循哪些策略和技术?
我不想使用任何动态网页生成软件,因为它有很多限制。 另外,我不想设计每个页面并重复所有内容
什么是最好的方法? 关于这个问题有什么想法或标题吗?
提前致谢...
Suppose that you have a big Data Entry Web Application Like Microsoft CRM, what is the strategies and technologies that you follow to build a website like it?
I don't want to use any Dynamic Web Page Generation software, because it have a lot of limitations..
Also I don't want to design every page and repeat everything
what's the best approach?
Any Ideas or Head lines on this issue?
Thanks in Advance...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
也许你可以尝试 MVC 或 MVP 等框架。 ASP.Net 开发正朝着这个方向发展。
您可以在这里阅读一些介绍:
http://www.asp.net/mVC/
http://msdn.microsoft.com/en-us/magazine/cc188690。 ASPX
Maybe you could try frameworks such as MVC or MVP. ASP.Net Development is leading to that direction.
You can read some introduction here:
http://www.asp.net/mVC/
http://msdn.microsoft.com/en-us/magazine/cc188690.aspx
这是一个非常普遍的问题,如果没有一些具体细节,很难提供太多指导。它是企业应用程序吗?它将如何部署?您需要提供Web服务接口吗?您计划使用哪种后端数据存储?您需要什么样的身份验证方案?等等......
以下是 MS 模式和实践团队的一些一般指导:
Microsoft 应用程序架构指南 http://msdn.microsoft.com/en-us/library/dd673617.aspx
Microsoft 模式和实践开发人员主页
This is a really general question and is hard to provide much guidance without some specific details. Is it an Enterprise App? How will it be deployed? Do you need to provide a Web Service Interface? What sort of back end data storage are you planning on using? What sort of authentication scheme do you need? And on and on .....
Here are some general guidance from the MS Patterns and Practices Team:
Microsoft Application Architecture Guide http://msdn.microsoft.com/en-us/library/dd673617.aspx
Microsoft Patterns and Practices Developer Home
您可以创建自己的标准格式 xml 文件,该文件定义您希望在数据输入期间键入的索引字段。然后,您的 Web 应用程序将读取此 xml 文件,以获取您当时希望使用的任何文档/数据输入表单。这将允许您根据多个表单的配置 xml 文件中指定的字段动态读取和创建表单。
您的视图/UI 可以呈现配置文件并在运行时将数据输入字段动态显示为文本框,或者您可以使用 SubSonic 等脚手架应用程序为您生成类/表单,然后更改表单以包括验证和自定义脚本。
You could create your own standard format xml file that defines the index fields you wish to key during data entry. Your web app would then read this xml file for whichever document/data entry forms you wish to be working with at the time. This will allow you to dynamically read and create a form based on the fields specified within your configuration xml file for multiple forms.
Your view / UI could render the configuration file and dynamically display the data entry fields as text boxes at run-time or you could use a scaffolding application like SubSonic to generate classes / forms for you and then alter the forms to include validation and custom scripts.