简体   繁体   English

新的MVC2应用建议

[英]New MVC2 Application Suggestion

I'm starting a project in ASP.NET MVC2 where I have a need to let the user select item(s) from a table with about 40000 records. 我正在ASP.NET MVC2中启动一个项目,我需要让用户从具有约40000条记录的表中选择项目。 This is NOT a shopping cart application. 这不是购物车应用程序。

I'd like to accomplish this using JQuery popup. 我想使用JQuery弹出窗口来完成此操作。 Here is the order I have in mind... 这是我要记住的顺序...

Please think of this as building a new car 请认为这是在建造新车

  1. Customer starts to build a new car 客户开始制造新车
  2. Enters some basic info such as name, # of cylinders etc 输入一些基本信息,例如名称,气缸数等
  3. Clicks an icon to show a JQuery modal popup to search parts required 单击一个图标以显示JQuery模态弹出窗口以搜索所需的零件
  4. Selects an item/part after the search returns 搜索返回后选择一个项目/零件
  5. Selected item shows up on the underlying [parent] page. 所选项目显示在基础[父]页面上。
  6. Repeat steps 3, 4, 5 to select additional items/parts. 重复步骤3、4、5,选择其他项目/部件。
  7. Then Save to database in a Master/Detail type tables 然后保存到主/明细类型表中的数据库

This is similar to a shopping cart except there is no checkout and the user enters the order info before making the selections and I noticed that JQuery interfaces seem to appear richer. 这类似于购物车,除了没有结帐,并且用户在进行选择之前输入了订单信息,而且我注意到JQuery接口似乎更丰富。

If this is doable, I'm looking for suggestions and/or examples or a path to follow, being new to both MVC and JQuery. 如果可行,我正在寻找MVC和JQuery的新建议和/或示例或遵循的路径。

Example of what I want to achieve can be seen at www.pageonce.com, only in a much smaller scale. 我想要实现的示例可以在www.pageonce.com上看到,但规模要小得多。

TIA ASP.NET MVC2, MS SQL Server, JQuery TIA ASP.NET MVC2,MS SQL Server,JQuery

Start with understanding how you will achieve Ajax with Asp.net MVC . 首先了解如何使用Asp.net MVC实现Ajax Another suggestion is that consider moving to Asp.Net MVC 3. You will get Razor view engine and lots of Web Helpers which can enhance your UI further. 另一个建议是考虑迁移到Asp.Net MVC3。您将获得Razor视图引擎和许多Web帮助器,它们可以进一步增强UI。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM